Skip to main content

Building WhatsApp flows in Coco AI

How to create a WhatsApp flow in Coco AI with Create with AI or the manual builder, configure the trigger, add actions, and edit or duplicate an existing flow with Edit with AI.

Written by Coco team

Flows send automated WhatsApp messages to subscribers at key moments in their journey, such as after signup, after a purchase, or when a cart is abandoned. You can build a flow in two ways: by describing it to the AI builder, or step by step in the manual builder.

Two ways to create a flow

The Flows page has two buttons:

  • Create with AI opens a chat builder. Describe the flow you want, the trigger, and the languages. The AI asks a few planning questions, shows you a plan, waits for your confirmation, then builds every step and writes the message in every language you listed.

  • Create Flow opens the manual builder, where you configure the trigger and add each action yourself.

If you do not see the Create with AI button, contact support and ask for the AI flow builder to be enabled on your account.

Creating a flow with AI

  1. Go to Flows in your Coco AI dashboard.

  2. Click Create with AI.

  3. Tell the AI the flow type (for example abandoned cart or post-purchase), the languages, and paste any finalized copy you want it to use. Stating the flow type helps it choose the right structure and naming.

  4. Answer its planning questions and confirm the plan. The Flow Preview panel fills in as you go.

  5. Review each message and language, then save. New flows are saved as drafts until you activate them.

To translate a flow, list the languages in your prompt and ask the AI to translate your exact English copy into each one. It writes a native version for every language rather than copying English into the other slots.

Creating a flow manually

  1. Go to Flows in your Coco AI dashboard.

  2. Click Create Flow.

  3. Configure the trigger:

    • Title: internal name for the flow

    • Description: optional internal note

    • Languages: which languages this flow targets. Each language needs its own message template. Use + Add Language to add more later.

    • Metric: the event that triggers the flow (for example cart abandoned or order placed)

    • Re-entry filter: how soon a subscriber who has already been through the flow can enter it again. Coco recommends 7 days for abandoned cart flows.

  4. Add actions and save.

Available action types

  • Send WA Message: sends a WhatsApp message to the subscriber. Rename this step, otherwise its template is titled "Send WhatsApp Message".

  • Add Delay: waits a set amount of time before the next action

  • Subscriber Attribute Split: branches based on a subscriber attribute value

  • Conditional Split: branches based on a condition (for example has purchased, is in segment)

  • Empty block: placeholder for future actions

Editing an existing flow

Every flow row has two edit actions. Edit opens the manual builder, which is best for a quick copy fix. Edit with AI opens the chat builder loaded with that flow, which is best for changes that repeat across the flow, such as adding a language or restyling every message.

Saving from Edit with AI always creates a new draft copy and leaves the original untouched. If the original is live, it keeps running. To go live with the edited version, activate the new draft and deactivate the original.

Use Duplicate on a flow row to create an inactive copy named "(copy)" that carries over the trigger and every step, for example to build a seasonal version.

Important

Always click Save Flow before leaving the manual builder. Unsaved changes are lost. If an AI save reports an error, check the Flows list first: the flow may already have been saved as a new draft.

For translation prompts, image handling across languages, default values for [[contact.name]], and the AI builder error messages, see the article "How to build, edit, and translate flows with AI".

Did this answer your question?