WhatsApp automation types and triggers
Every automation has a type and a trigger:- The type is the tool the event comes from.
- The trigger is the event inside that tool that starts the automation.
Before you create a WhatsApp automation
- Have permission to manage integrations. Owners and Members can create automations. Viewers can see them but not change them. See Roles and permissions.
- Use a workspace without HIPAA compliance. WhatsApp Automations aren’t available on HIPAA-compliant workspaces. See HIPAA compliance.
- Connect Shopify to your AI agent. See Shopify.
- Connect a WhatsApp number to the same AI agent. See WhatsApp. The automation sends from this number.
- Create and get approval for the templates you want to send, in the WhatsApp Business Account of that number. See WhatsApp Templates. Only approved templates can be picked.
- Make sure orders have a phone number. The message goes to the phone number on the order, its customer, or its shipping or billing address, in that order. Orders without a valid phone number are skipped.
Create a WhatsApp automation
Open the Automation tab

Check the type and trigger, and choose the phone number

Add a rule and its conditions


Pick the template

Fill in the template's variables
{{1}}, choose the order field that fills it, or Custom text to type a fixed value. See Template variables.

![The WhatsApp preview showing Hello [Customer first name], We received your order [Order number]](https://mintcdn.com/chatbase/YLb4rX0d3UMxlLqO/user-guides/integrations/images/whatsapp-automations/08-phone-preview.png?fit=max&auto=format&n=YLb4rX0d3UMxlLqO&q=85&s=7d3c52a9cddd3cd7c4b69aa0ed87a921)
Add more rules and a fallback (optional)


Save & enable

WhatsApp automation conditions
Conditions compare a field of the new Shopify order with the value you enter.- Text ignores upper and lower case and spaces around the value.
- Lists (customer tags, discount codes, product titles, SKUs and vendors) match contains when any item contains your text, and does not contain when no item does.
- Numbers never match when the order has no value for that field.
- Payment status is picked from a list: Pending, Authorized, Partially paid, Paid, Partially refunded, Refunded, Voided.
- Shipping country is picked from the country list. Currency is a currency code such as
USD. - Shipping province/state matches either the name or the code, such as
CaliforniaorCA. - Customer phone is the number the message goes to, with a
+and its country code, such as+14155550123. A number saved without a country code gets the code of the shipping or billing country. Use starts with and a country code to match customers in one country. The US and Canada share+1, so+1matches both; add an area code, such as+1415, to match one area.
Payment method condition
Payment method matches the gateway name Shopify stores on the order, as plain text. For a manual payment method, the gateway name is the method’s name as it appears in Shopify admin under Settings → Payments → Manual payment methods, such asCash on Delivery (COD) or Example Pay.

bogus. To see the gateway of an order, open the order and, in its Timeline, expand the payment line.

WhatsApp automation template variables
The automation fills each variable in a template from the Shopify order, or from text you type. You can pick Customer first name, Customer full name, Customer email, Customer phone, Order number, Order summary, Items, Order total, Subtotal, Shipping fee, Payment method, Item count, Discount code, Shipping address, Shipping city, Shipping country or Custom text. The ones that need explaining:What a WhatsApp automation does when a Shopify order comes in
- Each AI agent connected to the store checks its active Order created automation.
- Rules are checked from top to bottom. The first rule that matches and can fill all its variables sends its template.
- If no rule sends, the fallback sends, if it’s on and can fill its variables.
- The message goes to the phone number on the order. Each order gets at most one message per AI agent, even if Shopify sends the same order twice.
Manage your WhatsApp automations
The Automation tab lists each automation with its type, its trigger, when it was last updated and whether it’s Active. Use Category to show only one type.

Edit or pause an automation
Click an automation to edit it. Its saved rules start collapsed and show their names. Click a rule to expand it.

Delete an automation
Open the ⋯ menu on an automation and choose Delete, then confirm. Deleting can’t be undone. Deleting needs permission to delete integrations, which Owners and Members have.
Roles and permissions
What a workspace member can do with automations depends on their role’s Integrations permissions:Audit log
Creating, editing, turning on or off, and deleting an automation each add an entry to the workspace’s audit logs. The entry’s object type is Channel, its name is WhatsApp automation, and it records who made the change and when. Edit entries also record whether the automation is active.HIPAA-compliant workspaces
WhatsApp Automations aren’t available on HIPAA-compliant workspaces. The Automation tab shows “Not available on HIPAA-compliant accounts.” instead of the list, and no automation sends on a HIPAA-compliant workspace. WhatsApp is blocked on these workspaces, and HIPAA compliance can’t be turned on while a WhatsApp number is connected. See HIPAA compliance.Limits
- One automation per trigger for each AI agent.
- Up to 25 rules per automation and 10 conditions per rule.
- Up to 50 variables in a template body.
- Rule names, condition values and custom text can be up to 255 characters.
Example: confirm cash on delivery and Example Pay orders on WhatsApp
A store offers two manual payment methods, Cash on Delivery (COD) and Example Pay. It wants every order paid with either one confirmed on WhatsApp, greeting the customer by first name when the order has one. It uses one approved template, order_confirm:{{2}} = Order number:
{{1}} set to Custom text there.
Troubleshooting
Why didn't a customer get a WhatsApp message for their Shopify order?
Why didn't a customer get a WhatsApp message for their Shopify order?
- The automation is Active on the AI agent connected to the store.
- A rule’s conditions match the order, or the fallback is on. For Payment method, compare your value with the order’s gateway name. See Payment method condition.
- The order has a value for every variable the matching template uses. A missing value skips that rule or the fallback.
- The order has a valid phone number.
- The template is still approved in WhatsApp Manager, and its header has no variables.
- The workspace isn’t HIPAA-compliant. Automations don’t send there.
Why did my automation send the wrong WhatsApp template?
Why did my automation send the wrong WhatsApp template?
Why is my WhatsApp template missing from the template picker?
Why is my WhatsApp template missing from the template picker?
Frequently asked questions
Can a WhatsApp automation message every new Shopify order, with no conditions?
Can a WhatsApp automation message every new Shopify order, with no conditions?
What kind of messages do WhatsApp automations send?
What kind of messages do WhatsApp automations send?
Does a new WhatsApp automation start sending right away?
Does a new WhatsApp automation start sending right away?
What happens to my WhatsApp automations if I disconnect Shopify?
What happens to my WhatsApp automations if I disconnect Shopify?
Do WhatsApp automations use Chatbase message credits?
Do WhatsApp automations use Chatbase message credits?
Where can I see the messages a WhatsApp automation sent?
Where can I see the messages a WhatsApp automation sent?
Who can create, edit or delete WhatsApp automations?
Who can create, edit or delete WhatsApp automations?
Are WhatsApp automations available on HIPAA-compliant workspaces?
Are WhatsApp automations available on HIPAA-compliant workspaces?
Are changes to WhatsApp automations recorded in the audit log?
Are changes to WhatsApp automations recorded in the audit log?