Skip to main content

Creating and customizing flows in Coco AI

Step-by-step guide to creating a Coco flow with Create with AI or the manual builder, adding dynamic variables like contact.name and cart.summary, editing with Edit with AI, and activating the flow.

Written by Coco team

This article walks through creating a flow in Coco, either with the AI builder or by hand, adding dynamic variables to your messages, and activating the flow.

Option 1: Create the flow with AI

  1. Go to Flows in your Coco AI dashboard.

  2. Click Create with AI.

  3. Describe the flow: the type (for example abandoned cart), the trigger, the languages, and any finalized copy you want used.

  4. Answer the AI's planning questions and confirm its plan. It then builds every step and writes each message in every language you listed.

  5. Review the flow in the Flow Preview panel and each language's template, then save.

To change a flow you already built, use Edit with AI on its row. Your changes are saved as a new draft copy, so a live flow keeps running until you activate the new version and deactivate the old one.

Option 2: Create the flow manually

  1. Go to Flows in your Coco AI dashboard.

  2. Click Create Flow.

  3. Configure the trigger:

    • Select the metric (the event that starts the flow)

    • Choose the languages the flow targets; each needs its own template

    • Add filters if needed (for example only trigger for a specific product)

    • Set the re-entry filter (Coco recommends 7 days for abandoned cart)

  4. Add actions to the flow:

    • Message: sends a WhatsApp message. Rename the step so the template is not titled "Send WhatsApp Message".

    • Delay: waits before the next step

    • Conditional Split: branches based on a condition

Dynamic variables

Use dynamic variables in your message templates to personalize content. Select them from the variable list at the top of the body section in the template editor; only variables the flow's trigger can supply are offered.

  • [[contact.name]]: the subscriber's first name. Set a default value for every language, used when no name is on file.

  • [[cart.summary]]: summary of the abandoned cart items

  • [[order.summary]]: summary of a placed order

Cart recovery and order tracking links are added as CTA buttons from the button dropdown, not as text variables. For the full list of variables and where each one is allowed, see the article "Dynamic variables and CTA links in WhatsApp templates".

Activating the flow

Once your flow is configured, you can:

  • Activate immediately: the flow starts processing new subscribers right away

  • Save as draft: keep it inactive and edit later

Flows built or edited with AI are always saved as drafts first. Activate the draft when you have reviewed every language. Use Duplicate on a flow row to make an inactive copy for a seasonal variant.

Did this answer your question?