Agents
Using Custom Data Variables
5 min
using variables in acquisitionai 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 ensuring variable accuracy 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 "hello {customer name}, how can i assist you today?" 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 providing variable data 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 advantages of using variables 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