AI reply block
Send an AI-generated reply mid-flow. Falls back to a static text on failure.
Config
- System prompt — instructions to the AI. Supports
{{variable}}substitution. Typically populated from the Chat AI persona automatically. - User prompt — the message to the AI. Often something like
"The customer asked: {{run.last_inbound_text}}". - Fallback text — sent if the AI errors or returns empty.
Auto-populated run vars
After the call:
{{run.ai_[blockId]_ok}}—trueif a non-empty reply came back{{run.ai_[blockId]_text}}— the AI’s reply (for downstream blocks to reference){{run.ai_[blockId]_error}}— error text if any
Behaviour
- Calls the platform’s central AI surface (same as the Chat AI agent uses)
- The reply is sent as a normal text message via the channel
- Auto-advances via the Continue socket
Last updated on