A flow goes through three statuses: draft → active → archived. Deploy is what moves it from draft to active.Documentation Index
Fetch the complete documentation index at: https://docs.cogniagent.ai/llms.txt
Use this file to discover all available pages before exploring further.
What deploy actually does
For a Responder flow:- The platform validates every channel’s configuration.
- For each valid channel, a listener is scheduled. Gmail/Outlook listeners start polling the inbox. Slack/Teams listeners subscribe to events. Phone numbers go live.
- The flow’s status flips to
active. The toolbar’s button becomes Undeploy.
- Channels are validated (no listeners scheduled — initiator flows don’t poll).
- The status flips to
active. - The Start Conversation button becomes usable. Workflow nodes that reference this flow can now invoke it.
Deploying
Check the flow is ready
- At least one actor exists.
- The routing topology makes sense (every actor reachable from Start).
- For Responder mode: at least one channel configured.
- All required integration connections are active.
Click Deploy
In the bottom toolbar.
If validation fails, the deploy is rejected with a clear error — usually a missing connection or required field on a channel. Fix the issue and click Deploy again.
Editing a deployed flow
You can edit a deployed flow in place:- Actor prompts — changes apply on the next actor turn. No redeploy needed.
- Adding a new actor or edge — applies immediately.
- Global context — applies on the next actor turn.
- Knowledge bases and capabilities — applies immediately.
- Adding, removing, or changing channel configuration. The listener has to be re-scheduled.
- Changing the flow’s execution mode (Responder ↔ Initiator).
Undeploying
Click Undeploy in the toolbar. The platform:- Stops all channel listeners (no more inbound messages will be picked up).
- Closes pending background work cleanly.
- The flow’s status flips to
draft.
What happens to running conversations
| Operation | Effect on in-flight conversations |
|---|---|
| Edit a prompt | Picked up on the next turn. |
| Edit global context | Picked up on the next turn. |
| Change a channel config | New sessions use the new config; existing sessions keep their snapshot. |
| Undeploy | Existing sessions continue to completion; new sessions are not started. |
| Archive | Same as undeploy. The flow is hidden from the main list. |
Mode-specific notes
Responder
Listeners poll continuously while deployed. The polling cadence is per-channel:- Email: every ~minute.
- Slack, Teams: event-driven (push from Slack/Teams).
- Phone: event-driven via Twilio.
Initiator
No listeners run. The deploy step exists mainly to validate configuration. Once active:- The Start Conversation button is enabled.
- Workflow nodes that reference the flow can invoke it.
Troubleshooting
Deploy fails with 'channel needs re-binding'
Deploy fails with 'channel needs re-binding'
The shared test phone number you were using has been released (lease expired or the workspace lost it). Add a new phone number in Phone Numbers and reconfigure the channel.
Deploy fails with 'connection inactive'
Deploy fails with 'connection inactive'
The integration connection (Gmail, Slack, etc.) has been revoked or expired. Go to Integrations, reauthorise, then redeploy.
A channel has a red badge
A channel has a red badge
Listener has been failing repeatedly — likely an authentication issue. Re-check the connection, save the channel, redeploy.
Inbound messages aren't appearing as conversations
Inbound messages aren't appearing as conversations
Check:
- Flow status is
active. - The channel for that source is configured and deployed.
- Filters (email label, Slack scope) match the inbound traffic.
- In Conversations history, look for the conversation by sender — it might be there but you missed the notification.
Next
Start a conversation
For Initiator flows — manually kick off an outbound conversation.
Conversations history
Review what’s been happening on deployed flows.
