- Variables store values used across workflows and agents.
- Intents classify what a user is trying to do.
- Entities extract structured data like IDs or numbers from unstructured input.
Variables
What is a Variable?
A Variable is a data placeholder that holds a value, such as a string, number, or dynamic expression. Variables can be used globally across workflows, agents, and tools to maintain context. Best practices- Use global variables for values that multiple workflows share (e.g., company name, support email).
- Use dynamic expressions to capture context from user messages.
- Name variables clearly (e.g.,
user_email,order_id).
How to Create a Global Variable
Set its Value
Choose between:
- Static value — e.g., “[email protected]”
- Dynamic expression — value captured at runtime
Intents
What is an Intent?
An Intent represents the purpose of a user’s message — e.g., check order status, request refund, update email. Intents help classify and route conversations. Best practices- Write clear intent names and descriptions.
- Add diverse utterances that cover how users phrase requests.
- Provide positive and negative examples of real tickets to refine accuracy.
How to Create an Intent
Create a New Intent
Provide:
- Name — e.g., “Refund Request”
- Description — what this intent should classify
Entities
What is an Entity?
An Entity is a structured piece of data extracted from user input. For example, an Order ID, Transaction Number, or UTR Number. Best practices- Use entities to extract important values from unstructured input.
- Provide clear rules or regex patterns.
- Add examples to help the AI recognize the entity.
