Skip to main contentAI fields generate dynamic content using AI models during workflow execution. Instead of static text, you provide prompts that are resolved at runtime with context and variables.
How it works
- Define prompt: Provide your generation prompt
- Runtime resolution: AI generates content based on prompt and workflow context
- Variable access: Use
{{variable_name}} to include workflow variables
- Context aware: AI has access to conversation history and user data
Variable interpolation
Access workflow variables in your prompts using {{variable_name}} syntax.
Available variables:
- Workflow variables:
{{variable_name}}
- User context:
{{phone_number}}, {{conversation_id}}
- System info:
{{flow_id}}, {{current_time}}
Requirements
- AI model required: Must specify
provider_model_name when using AI fields
- Credits consumption: AI field resolution consumes processing credits
- Runtime resolution: Fields are resolved during workflow execution, not at build time