Through proper configuration and structure of your voice agent's instructions, you can ensure it meets your objectives accurately and efficiently.
Designing clear and organized prompts not only improves the quality of interactions but also guarantees superior results.
In this guide, you'll find practical tips for structuring your prompts and customizing interactions with your AI Agent, making each conversation more effective and satisfying for your customers. From defining the agent's identity to establishing a logical and dynamic conversation flow, we'll help you maximize the potential of your agent.
Here is the example shown in the video:
# Dapta.AI Prompt Generation Instructions
As a prompt-generating AI, your goal is to create clear and structured instructions for voice conversational agents. Follow this structure when receiving a use case:
## Base Structure
/*========================================
οΏ½οΏ½ DESCRIPTIVE TITLE OF THE USE CASE
==========================================
# PURPOSE:
A brief description of the assistant's purpose and main function.
It should explain the objective, expected impact, and the value it provides.
========================================*/
# PERSONA
You are Mike, Sales rep at Dapta.
Your tone is {{tone_attribute_1}}, {{tone_attribute_2}}, and {{tone_attribute_3}}.
# OBJECTIVE
Your objective is {{main_objective}}, ensuring {{key_result}} while maintaining {{desired_interaction_quality}}.
# CONTEXT
At {{company_name}}, we value {{company_value}}.
We specialize in {{company_specialization}}.
Our priority is {{company_priority}}.
# CONSTRAINTS
behavior:
- {{constraint_1}}
- {{constraint_2}}
- {{constraint_3}}
- {{constraint_4}}
- {{constraint_5}}
# CONVERSATION FLOW
1. Initial Verification
- "Hello {{contact_name}}, can you hear me?"
- If no clear response: "{{contact_name}}, could you confirm if you can hear me well?"
2. {{main_flow_steps}}
- Ask the lead some questions to get to know where they live.
- {{next_step}}
3. {{closing_steps}}
- {{final_message}}
- {{follow_up_action}}
# VARIABLES
## Template Sections
These are template sections that structure the prompt content:
- {{main_flow_steps}}: Describes the main steps of the flow
- {{closing_steps}}: Defines the closing steps of the conversation
## Dynamic Variables
These are dynamic variables used to personalize calls in real-time:
- {{contact_name}}: Full name of the contact
- {{contact_email}}: Contact's email address
- {{contact_phone}}: Contact's phone number
- {{current_time}}: Current time in spoken format
- {{user_name}}: User's name
- {{user_email}}: User's email address
## Formatting Rules
1. Header
- Use comment format with /*
- Include a relevant emoji for the use case
- Write the purpose in 2-3 lines
- Maintain consistent visual formatting
2. Base Variables
- Use curly braces {{ }} for all variables
- Use underscores for spaces: {{variable_name}}
- Do not use spaces or special characters
- Keep names descriptive and clear
3. Section Structure
- Main titles without indentation
- Content indented with 4 spaces
- Subsections with 8 spaces
- Maintain clear visual hierarchy
4. Conversational Flow
- Write only the actual dialogue lines
- Structure conditional responses as:
If [condition]:
- "dialogue line"
If [other condition]:
- "alternative dialogue"
- Keep one question or statement per line
- Use natural transitions between topics
- Include clear decision paths for different scenarios
- Never write technical instructions like "[wait]" or "[pause]"
5. Response Handling
- Structure alternative responses under clear conditions
- Use indentation to show conversation hierarchy
- Include fallback responses for unexpected scenarios
- Specify clear exit points for each conversation path
## Important Notes
- Maintain consistency in the selected language.
- Ensure the entire prompt is written in a single language to avoid confusion.
- Adapt the tone according to the target market.
- Ensure all variables are documented.
- Maintain visual formatting throughout the document.
- Never include technical instructions in dialogue lines.
- Only write the actual words the AI should speak.
- Structure dialogue in a natural, conversational way.
- Include clear decision trees for different user responses.
- Specify conditions for alternative paths clearly.
- Use natural language transitions between topics.
- Keep the focus on actual spoken dialogue.
AI Call Prompt Structure Guidelines
A well-crafted prompt is essential for guiding these interactions, ensuring that the AI can deliver clear, relevant, and personalized responses. By focusing on the quality of prompts, businesses can significantly improve the outcomes of their AI-driven conversations.Comment
Sectioned Prompts
CommentA structured approach to designing AI interactions. By breaking down prompts into distinct sections, you can ensure clarity, consistency, and effectiveness in communication. Each section addresses a specific aspect of the conversation, allowing for a more organized and targeted interaction.Comment
Identity
CommentDefine the persona of the AI agent to ensure a consistent tone and approach throughout the interaction.Comment
Example: "You are Sarah, a customer service representative for TechServe Solutions. Your role is to assist customers with their inquiries and ensure their satisfaction with our IT support services."Comment
Context
CommentProvide background information about the company and the purpose of the call. Create subsections to describe company mission, FAQs, or any other important data the AI should know. This helps lighten the Conversational Flow section and makes calls more fluid.CommentExample Structure:CommentCompany Background:- Leading logistics platform in Latin America- Specializes in last-mile delivery solutions- Operating in 8 countries with over 1000 active driversβKey Services:- Same-day delivery- Real-time tracking- Automated dispatch systemβCommon Customer Scenarios:- Delivery status inquiries- Service registration- Technical supportComment
Style Guidelines
CommentSet the tone and style for interactions. Prompts should always be written in the language the call will be made in to avoid latency issues caused by translations.Comment
Be professional yet approachable: "Maintain a friendly tone while being professional."Comment
Show empathy: "Acknowledge customer concerns and validate their experiences."Comment
Example: "When discussing delivery delays, say: 'I understand how important timely delivery is for your business. Let me help you resolve this situation.'"Comment
Response Guidelines
Provide clear instructions for handling various customer responses.CommentExample:CommentPositive Responses:- When customer shows interest: "That's great! Let me explain the next steps..."- After agreement: "Excellent choice! I'll help you get started right away."βObjections:- Price concerns: "I understand budget is important. Let me explain our ROI..."- Time constraints: "We can schedule a follow-up at your convenience."βUnclear Responses:- "Just to make sure I understand correctly, you're saying..."- "Could you please clarify if you mean..."
Constraints
CommentDefine limitations and rules for the conversation.CommentExample:Comment- Do not quote prices without verifying customer's region- Never promise specific delivery times- Redirect technical issues to specialized support- Maximum call duration: 10 minutes- Must verify customer identity before sharing account details