Recommended structure
- Identity - company, role, and audience.
- Goals - tasks the agent should complete.
- Conversation style - tone, language, and response length.
- Knowledge rules - sources the agent may use.
- Boundaries - requests it must refuse or escalate.
- Closing - how to confirm the outcome and end the conversation.
Start with a practical template
Set priorities clearly
Put essential safety, privacy, and escalation rules near the beginning. Keep related instructions together so the agent does not have to reconcile the same topic across several sections. When two rules could conflict, state which one takes priority. For example, explain whether the agent should continue collecting details or transfer immediately when a caller asks for a person.Writing tips
- Use direct instructions and short sentences.
- Put important rules before examples.
- Tell the agent to ask a question when information is missing.
- Define a safe fallback for unknown answers.
- Test one change at a time.
Fallback and refusal patterns
Write the exact fallback sentence the agent must use, or it will improvise a different one each call. A reliable pattern is: acknowledge the gap, state the boundary, and offer the next step - for example “I don’t have that information in my approved sources. I can connect you to the support team, or take your number for a callback - which do you prefer?” For out-of-scope requests, instruct a polite refusal plus redirect: “I can’t help with that, but I can help with [supported tasks].” Never let the fallback promise information the team cannot deliver.Example: collection script fragment
Make instructions measurable
Replace vague directions such as “be helpful” with observable behavior. Tell the agent to greet the caller once, ask one question at a time, confirm names and numbers, and summarize the next step before closing. Use examples to show difficult decisions, not to script every possible sentence. Too many examples can make the prompt harder to maintain and may cause repetitive conversations. Response length is controlled separately in LLM Model → Maximum words per response (Brief 50 through Extended 300, default 100) and response style by temperature (Precise 0.1–0.3 suggested for factual support). If answers are too long or creative, tighten those settings before rewriting the whole prompt.Control the conversation
Define which details the agent must collect and the order in which it should collect them. Explain how to handle interruptions, corrections, silence, and a caller who changes the topic. For important actions, require the agent to repeat key details and ask for confirmation. Avoid long lists of personality adjectives or repeated rules. A shorter instruction with a clear action is easier to test and maintain.Review before publishing
- Confirm the company, role, and supported tasks are accurate.
- Check that collection and transfer rules match the real process.
- Remove duplicate or outdated instructions.
- Read the prompt aloud to find unnatural wording.
- Test normal, uncertain, restricted, and interrupted conversations.
Iterate without breaking live calls
Keep a change log with date, changed section, reason, and test result for every prompt edit. Change one section per cycle: instructions, then collection order, then fallback, then examples - never all four at once. After each cycle, rerun the full launch checklist from Test Your AI, not just the scenario you fixed. If two consecutive cycles fail the same scenario, the problem is usually in knowledge content or voice settings, not wording - stop rewriting and investigate those panels instead.Test your prompt
Run normal, edge, and fallback scenarios.
