A variable inserts a changing value, such as a contact name, into a message, instruction or action. Syntax may differ between editors; use the picker where you write instead of copying a token from elsewhere.
Before you start
Confirm the relevant field exists and contains a value for the contact or conversation. Plan fallback text for empty values.
Steps
- 1
Open the text location
Go to the message, agent instruction or action editor that supports variables.
- 2
Pick from the menu
Choose the field from the variable picker and inspect the token inserted by the editor.
- 3
Test present and missing data
Try one contact with the value and one without it.
- 4
Review final text
Check that the message remains understandable without the value and does not expose another person’s data.
- 5
Activate after checking
Keep approved copy and enable the message, agent or workflow.
Check the result
The test shows the correct value and customers do not receive an unresolved token or confusing blank.
Practical example
Draft a greeting using the name variable offered by the target editor. Test a contact with a name and one without it, then read the entire rendered message. Do not include sensitive values merely because they are available.
Common issues and what to check
| Issue | What to check |
|---|---|
| The token appears literally | Check that the location supports that variable syntax and insert it from its picker rather than copying from another screen. |
| A value comes from an unintended record | Review conversation/contact context and the value source before enabling the message. |