Skip to content
Splashify Pro
Docs

Shopify

Connect your Shopify store to send WhatsApp messages on its own: a reminder when a shopper leaves checkout without paying, a confirmation when an order is paid, and a note when an order is cancelled. In the app it is called Shopify Marketing.

New store? Use the Shopify app

Shopify no longer lets stores create the custom app this setup needs, so new stores connect with the Splashify Pro app from Shopify instead. See Shopify. Stores that already use Shopify Marketing can keep it.

Before you start

  • Admin access to your Shopify store.
  • An approved WhatsApp template for each message, for example a cart reminder and an order confirmation. See Create a WhatsApp template. Most templates are approved within 24 hours.
  • Ask for a phone number at checkout. In Shopify, open Settings, then Checkout, and make the phone number required.

Where to find your Shopify keys

Connect Shopify

  1. Open Shopify Marketing in the app

    In the left sidebar, click Integrations. Under E-commerce, find Shopify Marketing and click Connect.

  2. Copy the webhook URL

    Scroll down to Paste this URL in Shopify Marketing and click the copy button next to the URL.

    The Paste this URL in Shopify Marketing step with the webhook URL, a copy button, and a note to add it in Shopify for checkouts/create and orders/paid, because the abandoned-cart message waits 1 hour and is skipped if the order is paid first
    Copy the URL first. Shopify needs it to create the webhooks
  3. Add the webhooks in Shopify

    In Shopify admin, open Settings, then Notifications, then Webhooks, and click Create webhook. Add one webhook for each event you want, all with the same URL:

    For each one, choose JSON as the format, paste the URL, pick the latest API version and click Save. Then copy the signing key shown under your webhooks.

  4. Add your keys in the app

    Back in our app, under Add your Shopify Marketing keys, fill in Store URL, Admin API Access Token and Webhook Secret Key (the signing key you just copied).

    The Shopify Marketing page with the store URL, access token and webhook secret key filled in, 1 of 3 steps done, and the Connect Shopify Marketing button
    Step 1: your store URL, the app token and the signing key
  5. Choose a message for each event

    Under Choose a message for each event, click Abandoned Cart. Pick a Template, leave Send it to on Customer Phone, and fill the blanks, for example Customer First Name and Checkout Recovery URL (a link that takes the shopper back to their cart).

    The Abandoned Cart event with the cart_reminder template, Send it to Customer Phone, the variables Customer First Name and Checkout Recovery URL, and a preview of the message
    Abandoned Cart: a reminder with a link back to the cart

    Then click Order Paid and do the same, for example with Customer First Name and Order Number. Leave Order Cancelled empty if you do not want a message for it. (You can also leave Order Paid empty. The Order payment webhook still stops the cart reminder.)

    The Order Paid event with the order_ready template, Send it to Customer Phone, the variables Customer First Name and Order Number, and a preview. Order Cancelled below has no message and is skipped
    Order Paid: a confirmation with the order number
  6. Click Connect Shopify Marketing

    Click Connect Shopify Marketing in the bar at the bottom. You will see Shopify Marketing is connected, and the top of the page says Active.

  7. Check that it works

    Place a test order in your store with a real phone number. Open the Activity tab on the Shopify Marketing page. You should see Sent, Message sent, for the paid order.

    The Shopify Marketing Activity tab with a Waiting row for an abandoned cart that is sent in 1 hour unless the order is paid first, Sent messages, and a Skipped row saying the customer placed the order within the hour
    Abandoned carts wait an hour first, and are skipped if the shopper pays

How the abandoned-cart reminder works

Shopify sends Checkout creation as soon as a shopper starts checkout and types their contact details. We do not message them at once:

  1. The reminder waits 1 hour. Activity shows it as Waiting, Abandoned cart: sent in 1 hour unless the order is paid first.
  2. If the shopper pays within the hour, Shopify sends Order payment and the reminder is dropped. Activity shows Skipped, The customer placed the order within the hour, so no abandoned-cart message was needed.
  3. If they have not paid after an hour, the reminder goes out and shows as Sent.

If you pause Shopify Marketing before the hour is up, the waiting reminder is not sent.

What you can put in the message

Change, pause or disconnect

  • Change a message: open the event, make your change, then click Save changes at the bottom.
  • Stop one message: open the event and click Stop messaging for this event, then Save changes.
  • Pause: switch Active off on the right.
  • Disconnect: click the ⋮ button at the top right, then Disconnect, and confirm. Also delete the webhooks in Shopify.

If a message did not go out

Open the Activity tab.

More fixes are in Troubleshooting.