Shopify Flow
Who can use this feature?
- The Chatty: New customer submit chat trigger is available for all users
- The Send WhatsApp template action is available for the Pro plan and above
What is Shopify Flow integration
Shopify Flow is Shopify's automation app. Chatty adds a trigger and an action to Flow.
The action, Send WhatsApp template, sends a WhatsApp template to a customer when something happens in your store, for example when an order is fulfilled. See Send a WhatsApp template from Shopify Flow.
The trigger, Chatty: New customer submit chat, lets you start a workflow when a customer leaves their email in chat, for example in the pre-chat form. This helps you send new chat contacts to your marketing tools without copying them by hand.
What the Chatty trigger sends
The trigger runs when a chat contact with an email is created. It runs again when that contact's details change later.
Each run sends:
- The contact's email
- Whether the contact is new or updated
- The contact type: Customer, Lead, Anonymous, or Redacted
- Name, first name, last name, phone, and tags
How to set up a Chatty workflow in Shopify Flow
Before you start, make sure the Shopify Flow app is installed on your store.
-
Go to Settings → Integrations.
-
Click Manage on the Shopify Flow card.

-
Click Go to Shopify Flow. If you have not installed Flow yet, do it from this step first.

-
In Shopify Flow, click Browse templates.
-
Type
Chattyin the search box. -
Pick a template, for example Sync pre-chat contacts to Klaviyo when a customer submits a pre-chat form.

-
Read the Setup note, then click Install.

-
Finish the template steps in Flow and turn the workflow on.
Expected result: The next time a customer leaves their email in chat, Flow runs your workflow. You can see each run in Shopify Flow.
The Klaviyo template needs the Klaviyo app and your Klaviyo Public API Key. The Omnisend template needs the Omnisend app and your Omnisend API Key.
Does the trigger run for visitors who never leave an email?
No. Chatty only sends a contact to Flow once the contact has an email.
I turned my workflow off. Does Chatty still send data to Flow?
No. Chatty sends data only while at least one workflow using the Chatty trigger is turned on.
Can I build my own workflow instead of using a template?
Yes. Create a workflow in Shopify Flow and choose Chatty: New customer submit chat as the trigger.
Send a WhatsApp template from Shopify Flow
The Send WhatsApp template action sends one approved WhatsApp template to the customer of an order. Use it to message customers automatically, for example when an order is fulfilled, paid, or canceled.
Before you start, make sure that:
- The Shopify Flow app is installed on your store
- A WhatsApp number is connected in Chatty (see WhatsApp)
- The template you want to send is approved by Meta on that WhatsApp account. A Utility template fits order updates.
- Your customers have agreed to receive WhatsApp messages from you. Meta requires this, and it is your responsibility.
How to set it up
- In Shopify Flow, click Create workflow.
- Choose a trigger that has an order, for example Order fulfilled.
- Add an action and pick Send WhatsApp template from Chatty.
- Fill in the fields:
- Template name: the exact name of your approved template, for example
order_shipped - Language: the template language code, such as
en_US. Leave it empty if the template has only one approved language. - Body variables: one value per line, in order for
{{1}},{{2}}, and so on. Click Add a variable under the field to insert order data, for example{{order.name}}for the order number. - Phone: leave it empty to use the order's phone number. Chatty checks the order phone, then the shipping address phone, then the billing address phone, then the customer's phone.
- Template name: the exact name of your approved template, for example
- Turn the workflow on.
Expected result: The next time the trigger runs, the customer gets your template on WhatsApp. The message also shows in the customer's conversation in Chatty Inbox, and you can see each run in Shopify Flow.
Order fulfilled runs once for each fulfillment. If you fulfill one order in two parts, the customer gets two messages.
If a run fails
Open the run in Shopify Flow to see the error. The most common ones:
- This order has no phone number: add a phone number to the order, or set the Phone field.
- The template was not found or is not approved in the selected language: check the template name and language in WhatsApp Manager.
- Provide exactly N body variable values: the number of lines in Body variables must match the number of variables in the template.
- Connect a WhatsApp number in Chatty: connect WhatsApp in Chatty first.
- Upgrade to Pro or above: the action needs the Pro plan or above.
Templates with variables in the header, media, or buttons are not supported yet.
Does WhatsApp charge for these messages?
Yes. Meta charges your WhatsApp Business account for template messages at its usual rates.
Can I use triggers other than Order fulfilled?
Yes. Any Flow trigger that provides an order works, for example Order created, Order paid, Order canceled, or Refund created.
Chatty Help Center