Connect a Shopify store
Send order confirmations, shipping updates and abandoned cart reminders on WhatsApp from your Shopify store.
On this page
When your Shopify store is connected, Chatilo sends an approved WhatsApp template when a customer places an order, when the order ships, and when a shopper leaves a checkout unfinished. Shopify tells Chatilo about these events through webhooks that you add in your Shopify admin.
Before you start
- You must be a workspace owner or admin.
- Your plan must include store integrations. If it does not, the page shows a notice that Store integrations aren’t part of your plan and nothing is sent until you upgrade.
- You need at least one approved template. A Utility template suits order updates. See Create a template.
- You need access to your Shopify admin.
Step 1: Add the store
- In the sidebar, under Connect, click Store integrations.
- Click Connect a store.
Leave Shopify selected and type a Store name.
The name can be used in messages as
{{store_name}}.Click Continue.
The store’s page opens. It has three parts: the webhook address, what to send, and Recent events.
Step 2: Add the webhooks in Shopify
- On the store’s page, under 1. Add the webhooks in Shopify, click Copy next to Webhook address.
- In Shopify, open the webhooks settings (the page says Settings → Notifications → Webhooks).
Create one webhook for each of these events, with the format set to JSON and the address you copied:
Order creationFulfillment creationCheckout creationCheckout update
- Shopify shows a signing secret on its Webhooks page. Copy it.
- Back in Chatilo, paste it into Shopify signing secret and click Save integration.
Step 3: Choose what to send
Under 2. Choose what to send there is one block per event. Each event sends one approved template.
| Event | When it is sent |
|---|---|
| Order placed | When a new order is created. |
| Order shipped | When an order is fulfilled. |
| Cart left behind | When a checkout is started but not completed, after the delay you set. |
- For each event, pick a template in Template, or leave it on Don’t send to skip that event.
Fill in the value boxes that appear for the template’s variables.
You can type fixed text or use these fields:
{{customer_name}},{{first_name}},{{order_number}},{{total}},{{tracking_url}},{{checkout_url}},{{store_name}}. The first three boxes are suggested as{{first_name}},{{order_number}}and{{total}}. If the template has a media header, the box is labelled Link to the image (or video or document); paste a public link.For Cart left behind, set Send the reminder after (minutes).
The default is 60. The shortest is 5 minutes and the longest is 1440 (24 hours).
- Keep Send messages for this store ticked.
- Click Save integration.
Which field is filled depends on the event: {{tracking_url}} is only known for Order shipped, {{checkout_url}} (the link back to the cart) only for Cart left behind, and {{total}} for Order placed and Cart left behind. If the customer has no name, {{first_name}} becomes "there".
What happens next
- Place a test order in your store. It appears shortly afterwards under Recent events, which lists the last 25 events with a result: Sent, Waiting, Failed or Skipped.
- The customer is added to your contacts if they are new, and the message appears in a conversation in the inbox.
- A cart reminder shows Waiting until its delay has passed. If the customer completes the order first, the reminder is cancelled and shows Skipped with the note "The customer completed the order."
- Each order, shipment or checkout is messaged once, even if Shopify sends the same event several times.
- The Store integrations page shows each store as a card with On or Paused, how many events are set up and how many messages have been sent.
To pause a store, untick Send messages for this store and save. To disconnect it, click Remove at the top of the store’s page, then delete the webhooks in Shopify too.
Common problems
Nothing appears under Recent events
Check that the webhook address in Shopify matches the one on the store’s page, that the format is JSON, and that you pasted the signing secret and saved. If you created the webhooks again in Shopify, paste the current secret again.
Skipped: "No template is chosen for this event."
The event arrived but its Template is set to Don’t send. Pick a template and save.
Skipped: "The customer gave no phone number."
The order or checkout had no phone number, so there is nobody to message. Consider making the phone number required at checkout.
Skipped: "The integration was switched off."
Send messages for this store was unticked when the message was due.
Skipped: "Store integrations aren’t active on this plan."
Your plan does not include store integrations, or your subscription has ended. See Set up → Plan and billing.
Failed: "The chosen template is missing or not approved."
The template was deleted or is no longer approved. Choose another approved template. Other failures show WhatsApp’s own reason; see Messages not sending.
The template list is empty
Only approved templates are listed. The page shows "You have no approved templates yet." with a link to create one.