Put Each Instruction in the Right Place
Keeping product facts in documents means one update fixes every agent, and the agent can cite the source. Keeping style in the tone of voice keeps all your agents consistent.
Define the Scope and the Limits
Name the product and the audience, then list what the agent must not do:Tell the Agent How to Use the Documents
The agent receives the documents AGO found for the question. Say what to do when they don’t contain the answer:Write Escalation Rules
Every agent has a ticketing tool by default. Tie it to explicit conditions:Set the Answer Format
The chat displays Markdown: lists, tables, links and code blocks (see Message Formatting). State the format you expect:Handle Unclear Questions
Test Every Change
Changes to an existing agent go to a draft until you publish.- Click Test agent and try the questions the change is meant to fix, plus a few that already worked.
- Run your Agent Lab dataset against the draft and compare the success rate with the previous run.
- Publish, then watch the CX Score dimensions over the next days.
Common Mistakes
- Restating the documents in the instructions. Product facts in the prompt go stale and can’t be cited. Put them in the knowledge base.
- Contradicting rules. “Always answer in one sentence” and “give step-by-step instructions” pull in opposite directions. Read the full template for conflicts.
- Rules without examples. For an important behavior, add an example of the expected answer.
- Writing style in every agent. Use the tone of voice once instead.
Related
- Prompt Templates — Template management, versions and example templates
- Agents — Agent configuration reference
- Agent Best Practices — Design patterns
