Introduction
Designing a strong prompt (instructions) is how you turn a generic voice model into a reliable AI teammate. This comprehensive guide walks through how the itellicoAI agent runtime interprets your instructions, the structure we recommend, and repeatable patterns you can use for different use cases.Quick Start: The 5-Minute Prompt Formula
New to writing agent prompts? Start here. This formula gets you from blank page to working agent in minutes.How does the conversation flow? (3 minutes)
Map out the key steps in order.Standard Flow:
- Greeting - Confirm identity
- Permission - Ask if they have time
- Discovery - Understand their needs
- Value - Share how you can help
- Action - Book meeting/close sale
- Closing - Confirm next steps
What are the guardrails? (1 minute)
Define what your agent should NEVER do and when to escalate.Write it in your prompt like this:
Key Writing Principles
Follow these three principles to make your prompts more effective:Write Like You Talk
Write Like You Talk
Voice agents need conversational language, not corporate speak.Avoid:Better:Test: Read it aloud. If it sounds stiff, simplify it.
Give Exact Words
Give Exact Words
Don’t describe what to say - write the actual words.Avoid:Better:The more specific, the more consistent your agent will be.
Use If/Then Branching
Use If/Then Branching
Handle different scenarios with conditional logic.Plan for success, objections, and edge cases.
Quick Tips for Better Prompts
Guardrails
Guardrails
Be explicit about what the agent should never do.Examples:Clear guardrails prevent costly mistakes.
Natural transitions
Natural transitions
Help the agent move smoothly between conversation stages.Examples:Transitions make conversations feel natural, not scripted.
Confirmation protocols
Confirmation protocols
Always verify critical information before taking action.Examples:Reduces errors and builds trust.
Graceful exits
Graceful exits
Plan for every type of “no” with dignity.Examples:How you end matters as much as how you start.
Progressive disclosure
Progressive disclosure
Don’t ask for everything upfront - build rapport first.Bad:Better:People share more when they understand why you’re asking.
Remember: The best voice agents don’t sound like robots. They sound like the best version of your best employee on their best day. Write for conversation, not perfection.
Understanding the Instruction Panel
Inside Agents → Abilities → Instructions you provide a single block of text. The platform sends this block to the LLM on every turn together with:- Structured context - Contact data, recent action results
- Knowledge Base snippets - Retrieved content relevant to the conversation
- Real-time transcript - The ongoing conversation history
What the Agent Already Knows
The platform automatically provides:- Full conversation history
- Available actions and their parameters
- Knowledge base content (when retrieved)
- Current date, time, and timezone
- Contact information:
{{ contact.first_name }},{{ contact.last_name }},{{ contact.email }},{{ contact.phone }},{{ contact.full_name }} - Context data: Dynamic values from API integrations
Before You Write Anything
Collect these inputs so the prompt speaks to a specific scenario instead of a generic persona:Define Call Objective
What should the caller achieve by the end of the conversation?Examples:
- Get answer to product question
- Book an appointment
- Qualify as sales lead
- Resolve technical issue
Identify Must-Have Data
What fields are needed for downstream actions?Examples:
- Email address (for confirmations)
- Policy number (for lookups)
- Pain point (for qualification)
- Preferred date/time (for booking)
List Available Actions
What actions can the agent trigger?Examples:
- Transfer to Support
- Book Appointment
- Send Follow-up Email
- Update CRM
Map Knowledge Sources
Which knowledge collections are attached?Examples:
- Product FAQ
- Return Policies
- Technical Troubleshooting
- Pricing Information
Recommended Prompt Structure
Use this structure as a template:| Section | Purpose | Tips |
|---|---|---|
| Role & Tone | Tell the LLM who it is representing and how it should sound | Include brand tone, languages allowed, pronunciation notes |
| Primary Goal | Explain the desired outcome for the caller | Use bullets or numbered lists for clarity |
| Conversation Flow | Lay out the core steps in order | Reference prerequisites, loops, exit criteria |
| Information Capture | Call out required fields and confirmation steps | Highlight how to verify accuracy before proceeding |
| Action Triggers | Describe when to run each action and with which inputs | Use explicit action names that match the configuration UI |
| Escalations & Guardrails | Define forbidden topics and when to hand off or end calls | Pair rules with the relevant transfer/end action |
| Closure & Follow-up | Spell out how to wrap up the call and confirm next steps | Include any follow-up messaging you promise the caller |
Reusable Patterns
Pattern: Sequencing
Pattern: Sequencing
Pattern: Acknowledgement & Empathy
Pattern: Acknowledgement & Empathy
Pattern: Action Safety Nets
Pattern: Action Safety Nets
Pattern: Multi-Language Support
Pattern: Multi-Language Support
Pattern: Compliance Statements
Pattern: Compliance Statements
Referencing Actions
Example: Booking Action
Example: Transfer Action
Variables and Conditional Content
Use Jinja templating to personalize instructions with dynamic values from contacts and context.Conditional Logic
Next Steps
Greeting Messages
Configure how conversations start
Variables & Dynamic Content
Master Jinja templating
Add Knowledge Base
Add your business information to knowledge bases
Configure Actions
Enable your agent to take actions