Using Custom Data Variables
Variables are essential for customizing and personalizing your AI agent's prompts, enabling more dynamic and relevant interactions. They act as placeholders within your script and are replaced with actual data during real-time conversations.
- Use Curly Braces: Always enclose variables within curly braces
- { } to denote them clearly in your prompts.
- Descriptive Names:Choose clear and descriptive names for your variables, such as
- {first_name} or {appointment_date} to avoid confusion.
- Avoid Spaces: Ensure there are no spaces within variable names.
❗️Incorrect: {first name}
👍 Correct: {first_name} or {firstname}
Creating Variables: Insert variables where you want to customize the prompt. Use the {variable} format to mark placeholders.
For Example:
When the AI assistant is triggered, provide the actual data for each variable. This data can come from various sources such as user input, database records, or session details, making each interaction more relevant and personalized.
When the AI assistant is triggered, provide the actual data for each variable. This data can come from various sources such as:
Audience Import: Import data from your existing audience lists to populate the variables on the call.
External APIs: Pull in real-time data from external APIs to ensure that each interaction is relevant and up-to-date.
Integrating variables into your prompts enhances engagement and context-awareness, resulting in more natural and effective interactions. By customizing responses based on real-time data, your AI agent can deliver a more personalized experience to each user.
By implementing these practices, you can ensure that your AcquisitionAI prompts are not only dynamic but also tailored to meet the specific needs of your users. This approach enhances the overall user experience and increases the effectiveness of your AI-driven interactions.