Manage templates
Go to Agents and click Prompt Templates. The list shows each template’s name, current version, the number of agents that use it and when it was last updated. A template that agents still use cannot be deleted. To create a template:- Click Create Template.
- Enter a Name. Names must be unique.
- Write the instructions in Prompt Content.
- Click Save.
Version history
Saving changes to the prompt content creates a new version. To browse versions, open a template and click History.- Select a version to preview its content.
- Click Compare and select two versions to see what changed.
- Click Restore to bring an earlier version back. This creates a new version with the restored content, so nothing is lost.
- Name a version to find it later, for example “Before refund policy change”.
Structure your instructions
Most good templates cover the same five parts. RoleExample templates
Customer support agent
Customer support agent
API documentation agent
API documentation agent
Sales assistant
Sales assistant
Writing tips
- Be specific. “Give numbered steps” works better than “be helpful”.
- Set boundaries. State what the agent must not do: “Do not give medical advice.”
- Show an example. One sample answer shows the expected format better than a description.
- Say what to do when unsure. For example: “If you are not sure, offer to create a ticket.”
- Keep style out. Put writing style in the tone of voice, so all agents share it.
Troubleshooting
The agent ignores an instruction
The agent ignores an instruction
- Move the instruction near the top of the template.
- Phrase it as a clear rule and add an example of the expected behavior.
- Look for another instruction that contradicts it.
Answers are too long
Answers are too long
Add a length limit (“Answer in three short paragraphs at most”) and an example of the right length. Lowering the agent’s temperature can also help.
The agent doesn't use a tool when it should
The agent doesn't use a tool when it should
State when to use it: “When the user asks for a refund, create a ticket.” Check the tool’s description in Tools.
The agent uses tools too often
The agent uses tools too often
Add conditions (“Only create a ticket when…”) and ask the agent to answer from the knowledge base first.
Related
- Agents: agent configuration reference
- Prompt Engineering: prompt writing techniques
- Simulation Testing: test prompt changes
