Prompts are the brain of your AI agent — they define how the agent talks, what it does, and how it guides conversations. This section covers how to manage prompts effectively, customize responses, and integrate logic using dynamic variables and function calling.
You can manage prompts under the Agent > Prompt tab. There are two main sections:
Welcome Message
This is the first thing your caller hears. Set the tone and purpose of the call.
Example:
“Hi! This is Ava, your virtual assistant. I’m here to help you with your enquiry. How can I assist you today?”
Task Prompt (Core Prompt)
This is the main instruction that drives the conversation. It defines the behavior, tone, goal, and actions of your agent.
Example:
“You are a lead qualification agent. Ask relevant questions, gather contact info, and book a calendar appointment if the user qualifies.”
You can insert variables into prompts using the $ key, pulling in data like lead name, email, or custom fields.
Example Prompt with Variables:
“Hi $lead_name! I noticed you were interested in our service. Can I confirm your email as $email?”
To perform actions like booking an appointment or sending an SMS, use function-calling tools directly in your prompt.
Supported Actions:
Syntax for Function Calls: Use the tool name inside your prompt.
Examples:
“Use tool #Book_Calendar to find available time slots and schedule a meeting.”
“After collecting the phone number, use #Send_SMS to send a confirmation.”