Node referenceFlow control
CHATFLOW
CHATFLOW node.
What it does
CHATFLOW node.
Inputs & outputs
| Input handle |
|---|
| None |
| Output handle |
|---|
| None |
Configuration
No configuration.
Example
How it works
CHATFLOW launches a Chatflow — a saved WhatsApp/Slack chatbot graph — from inside a Workflow and waits for the conversation to finish. Configure the chatflowId to run and the channel (WHATSAPP or SLACK); for WhatsApp wire in the recipientPhone (for Slack, the workspace/channel/user IDs). The node starts a chatflow session, suspends the parent Workflow, and resumes once the user has worked through the conversation. On completion it outputs chatflow_response (the collected answers), chatflow_success (boolean), and chatflow_duration_seconds. A timeout (minutes) and maxRetries (default 3) bound how long it waits.
Example
Scenario: A Workflow qualifies a new lead over WhatsApp before routing them.
- A trigger provides the lead's phone number.
- Add a CHATFLOW node. Set
channeltoWHATSAPP, select the qualificationchatflowId, and wire the phone number intorecipientPhone. - When the user finishes the chat, read their answers from
chatflow_responseand branch onchatflow_success.
TRIGGER ──(phone)──► CHATFLOW ──(chatflow_response)──► route lead