AI instructions: write how the agent should behave

AI instructions tell the AI agent who it is and how to behave in specific situations: your refund rules, the tone to use, what to ask before changing an order. Instructions are versioned, so you can draft, test and publish changes safely. This article is for admins and team leads who train the agent.

Describe who the agent is

  1. Go to AI Training › Knowledge, or Settings › AI agent › AI profile.
  2. In the sidebar, select Who the agent is.
  3. Describe your agent: its name, the company it works for, its tone and anything it should always keep in mind. Your text saves as a Draft.
  4. Click Test your AI profile to chat with the draft.
  5. Click Publish. The agent uses the published version from then on.

Write an instruction

  1. In the AI instructions sidebar, click New instruction or folder › New instruction.
  2. Give it an Instruction title, for example "Refunds after 30 days".
  3. Write the Instruction. Say plainly what the agent should do and when. Changes save automatically (Saved appears).
  4. Click Publish. You'll see Document published.

Use New folder to group related instructions. Drafts with changes that are not live yet show Unpublished changes in the sidebar.

Test before you publish

  1. Open the instruction and click Test your instruction.
  2. In the Test panel, pick a Test channel, type a Test message and click Send. The test uses your latest unpublished changes.
  3. Click Restart to start a new test conversation.

For repeatable checks across many cases, use training scenarios.

Limit when, where and for whom it applies

  1. Open the instruction, click More actions › Settings.
  2. In Instruction settings:
    • Active period: turn on Limit to a time period and set a Start and/or End. Outside this window the AI does not see the instruction. Times follow your workspace timezone from Office hours.
    • Restrict by Channel: tick the channels that may use it. Leave all unchecked for every channel.
    • Restrict by Contact Segments: use it only for contacts in the selected segments.
  3. Click Save, then Publish. Schedule changes apply after you publish.

Restricted instructions show Restricted in the sidebar; scheduled ones show Scheduled.

Versions, copies and removal

  • Version History lists earlier published versions. Restore publishes an old version as a new live version and discards unpublished changes.
  • More actions also has Duplicate, Discard changes, Unpublish and Delete.
  • AI instructions options › Export as CSV downloads all instructions.

See whether an instruction works

Open a published instruction and choose the Insights tab. It shows how often sessions that used the instruction ended in a handoff, the Handoff reasons and Recent handoffs, with links to the sessions.

Good to know

  • Only published instructions reach customers. Drafts are visible only in the test panel.
  • If you have not set a timezone in office hours, scheduled times are shown in another timezone; the page tells you which.
  • Use Search instructions and knowledge at the top of the sidebar to find text across instructions and knowledge.
  • For situations the AI should recognise on its own with a set procedure (for example, onboarding), see Settings › AI agent › Agent modes.
  • To control which contact and session fields the AI can read, use Settings › AI agent › AI context.

Related