Availability by Variable Type
| Variable Type | Global Nodes | Regular Nodes | Single-Prompt Agent | Logic |
|---|---|---|---|---|
| System Variables | ✅ Yes | ✅ Yes | ✅ Yes | Always available |
| Custom Variables | ✅ Yes | ✅ Yes | ✅ Yes | Always available |
| Extracted Variables | ❌ No | ✅ Yes* | ❌ No | Only from predecessor nodes |
| Static Variables | ❌ No | ✅ Yes* | ❌ No | Only from predecessor nodes |
Flow Position Rules (Flow Agent)
- Predecessors only: A node sees variables only from nodes that run before it.
- Execution paths: All possible paths are considered when computing predecessors.
- Global nodes: Nodes with
isGlobal: truesee only system and custom variables. - Caching: Availability is cached per node and refreshed when the flow changes.
Example Flow
Single Prompt Agent Variables
Single prompt agents are standalone conversational agents that don’t use the flow builder. They have a simplified variable model optimized for quick deployment and simple use cases.Variable Availability
| Variable Type | Available | Notes |
|---|---|---|
| System Variables | ✅ Yes | All 15+ platform variables available |
| Custom Variables | ✅ Yes | Converted to params in configuration |
| Extracted Variables | ❌ No | No flow nodes to extract from |
| Static Variables | ❌ No | No nodes to define static variables |
How Custom Variables Work in Single Prompt Agents
Custom variables in single prompt agents act as parameters that configure the agent: Definition (Variables Panel):Key Differences from Flow Builder Agents
| Aspect | Flow Builder Agents | Single Prompt Agents |
|---|---|---|
| Complexity | Multi-node workflows | Single prompt configuration |
| Variables | System + Custom + Extracted + Static | System + Custom only |
| Extraction | AI extraction, toolpath, DTMF | Not supported |
| Flow Logic | Conditional branching, loops | Linear conversation |
| Custom Variables | Workflow-level state | Configuration parameters |
| Use Case | Complex workflows | Simple conversational agents |
Use Cases for Single Prompt Agents
Good for:- Simple Q&A agents
- Information lookup agents
- Basic customer service
- FAQ bots
- Quick prototypes
- Agents with minimal state
- Multi-step workflows
- Data collection and processing
- API integrations with variable extraction
- Complex conditional logic
- State management across multiple steps
Configuration Example
Variables Panel (Custom Variables):- ✅
agent_name,company_name,working_hours,escalation_enabled(custom) - ✅
current_time,current_date,user_number,direction(system)
When to Upgrade to Flow Builder
Consider upgrading to a Flow Builder agent when you need to:- Extract data from conversations (AI extraction)
- Integrate with APIs and parse responses (toolpath extraction)
- Use conditional branching or multi-step logic
- Collect structured information across nodes
- Use DTMF capture or static variables
Variable Categories & Display
Variables are grouped for the UI:| Category | Icon | Contains |
|---|---|---|
| System | 🔧 | Platform variables |
| Custom | ⚙️ | Workflow-level variables |
| Extracted | 📤 | From nodes (AI, toolpath, DTMF) |
| Static | 📌 | Node-level set values |
Context-Aware Recommendations
The UI can suggest variables based on node type and content:- Conversation: e.g.
customer_name,phone_number,appointment_date,issue_description - Tool: e.g.
api_response,status_code,response_data,error_message - Transfer: e.g.
transfer_reason,customer_context,conversation_summary