What types of chatbot variables are there?
With chatbot variables, you can save and store subscriber data and use them to personalize your chatbot communication.
For example, you can use them to send messages or API requests and filter user data to branch your chatbot scenario.
Let's talk about chatbot variables and how to use them.
Chatbot variable types
You can use variables of the following types:
Custom variables for contacts | These variables store user-entered values as different data types. Users will receive the values recorded in their contact cards of your Bot Audience.
Learn more: Adding or updating your variable value. |
Global bot variables | These variables store shared values you can add in the bot settings.
By default, you can use the following variables:
Learn more: How to create a global variable for chatbot subscribers. |
System contact variables in bot | These variables store SendPulse system data:
You cannot edit system variables. |
You can modify variables you use in messages or the ones you set as other variables’ values.
Chatbot variable usage
You can use chatbot variables in the following flow elements:
Message |
Add variables to the Text element and the Payment button to send personalized messages. Add variables to media elements to attach files using links. |
API Request | Add variables to your URL field or request body to transfer data. |
Action |
Add variables to the Insert Google Sheets row, Find and Update Google Sheets row, Retrieve data from a Google Sheet row, Create a Deal, Edit CRM Deal, Enroll in the EDU course, and Notify me actions to add or retrieve data from third-party tools. Update variables with Set variable action. |
Filter | Add variables to filter conditions or when comparing values to segment users by certain attributes. |
AI Step | Add variables to the AI instruction field to include more context and personalize your responses. This helps the AI choose which flow branch to follow. |
Last Updated: 03.09.2024
or