What goes where
A good custom prompt
Short, unconditional, and about identity rather than behavior:You are the IT support agent for Acme Inc. Acme runs Okta for identity, Google Workspace for email and documents, and Jamf for device management. Employees are mostly remote across the US and Ireland.
Be direct and concise. Two or three sentences unless the answer genuinely needs steps. No emojis. Never speculate about security incidents, and never tell a user to disable MFA or share a credential under any circumstances.
Rule structure: trigger, actions, outcome
Every good rule has three parts.Trigger condition
Action sequence
@ mentions. Numbered steps for anything multi-part.Outcome
When a user asks a question about IT policy or how to do something, first check @IT Knowledge Base. If you find an article that answers it, summarize the answer and link the article. If nothing relevant is found, create a ticket with @Form - General Inquiry and tell the user their request is logged, giving them the ticket number.
One scenario per rule, with distinct triggers
The agent selects only one rule per request, preferring the most specific match. That single fact drives two habits:- Split broad rules. A rule handling password resets, software access, and hardware issues is three rules. When they are combined, you cannot tell which part fired.
- Avoid overlapping triggers. Two rules with similar triggers make behavior a coin flip. Distinct trigger conditions are the whole reason rules stay predictable.
Always include the fallback
The most common defect in a rule is an unhandled miss. Tell the agent what to do when the primary action does not apply:When a user reports a broken laptop, ask for the asset tag and a description of the fault, then create a ticket with @Form - Hardware Issue. If they do not know the asset tag, create the ticket anyway and note that the tag is missing. Do not block on it.
Reference real resources, and publish them
@ mentions are how a rule connects to the rest of the workspace, and there are two hard constraints:
- The agent cannot use a form unless it is
@-mentioned in at least one rule. Attaching it to the channel is not enough. - Only Published forms are surfaced. A Draft or Archived form is filtered out at runtime even when it is
@-mentioned, and the agent silently moves on or escalates. This is the single most common “why is my agent ignoring my rule” cause.
- Knowledge then form. Check
@Knowledge Basefirst, create@Form Nameif it does not resolve. - Tool then tool. Look up a device, then run diagnostics on it, then respond with the result.
- Form then workflow. Collect via
@Form Nameand submit it. A workflow triggered by that submission does the backend work, because agents cannot trigger workflows directly.
Put escalation instructions in their own place
Escalation is configured separately from rules, and it deserves real thought. Say when to hand off, who to hand off to, and what to tell the user:Escalate immediately for anything involving payroll, compensation, terminations, or a suspected security incident. Do not attempt an answer. Tell the user a member of the team will pick it up and roughly when. Mention @IT On-Call for security topics.
Share rules at the workspace level when behavior should match
A rule can live on one agent or at the workspace level and be attached to several.- Attach a workspace rule when multiple agents should behave identically. Edits propagate everywhere.
- Duplicate when you need a variation. The copy is independent, and changes to the original do not reach it.
Test in Testing Mode, then read the logs
Write a rule, then test it with the phrasings your employees actually use, not the phrasing you wrote the trigger in. Testing Mode lets you do this without touching real tickets, and Debug shows you which rule was selected. Then read chat logs for the first two weeks. Every wrong answer maps to one of four things: a missing rule, an overlapping trigger, an unpublished form, or knowledge the agent cannot reach.Where teams get this wrong
Conditional logic in the custom prompt
Conditional logic in the custom prompt
A custom prompt that forgets tone
A custom prompt that forgets tone
One giant rule
One giant rule
Overlapping triggers
Overlapping triggers
Unpublished forms
Unpublished forms
Expecting rules to trigger workflows
Expecting rules to trigger workflows