Submit a ticket

How to build automation for Shopify

In this article, you will learn how to use Shopify Triggers and build automation around the customers' visits to your store. First of all, you will need to connect our integration with Shopify to use Triggers from Shopify. 

To create a new flow, click on 'Flows' in the Automation tab. Then, click the + New Flow button. After you give your flow a name and click Create Flow, you will be taken into the Flow Builder.

The first step is to choose the trigger for your flow - an event in your Shopify store that will trigger this flow.
To do that click on the Starting Step, and click Add Trigger.

⚙️Abandoned cart — this one goes off when customers abandon their carts. Should a customer come back and update their cart during this period (while the trigger is waiting to go off) — it will be rescheduled;

⚙️Placed Order — goes off when a customer completes the checkout process and creates an order in your store;

⚙️Fulfilled Order — goes off when an order's status changes to 'fulfilled';

⚙️Cancelled Order  goes off when an order's status changes to 'cancelled';

⚙️Abandoned Product Browse — start an action when customers have browsed the product but not added it to the cart.

As soon as you complete your trigger setup, you can start building your automation. All triggers are available within Facebook Messenger, SMS and Email. 

Abandoned cart trigger has some additional Shopify variables that you can use, like:

  • Cart Url — to use in button to get customers back to their carts;
  • Cart is Paid — A variable that you can check with a Condition. For example, if you use Smart Delay in your Abandoned Cart Automation and want to check if this cart is paid or not;
  • Abandoned Cart Gallery — make your message more enticing by showing your customers the items they abandoned in a card gallery. All content for "cart gallery" is generated automatically, no need to set it up. Just click on the "+Cart" option in the "Send Message" step.

Placed Order and Fulfilled order triggers have the additional Shopify variables like:

  • Order Price
  • Order Number
  • Order Status Url
  • Total Spent/Total Orders
  • Last Order Date/Checkout Price/Checkout Date

All these triggers give you the ability to re-engage abandoned cart, notify your customers about order and shipment updates, collect reviews and feedback after the purchase, and generate repeat purchases.

You can also use a discount code in your automation. You can add a link that automatically applies a coupon code to a Shopify Cart.

And don't forget that you need to place widgets in your Store to have your customers Opt-In to your ManyChat bot through those widgets. This is needed to match the store customer's id with their ManyChat ID so that Shopify Triggers can work properly for them.

Also, please note that if a user visits your Shopify store by clicking a URL button in one of your flows – it will automatically trigger ManyChat Pixel, meaning that this user will opt into your Shopify trigger without having to click any of your website widgets prior to that!