🍀
Shopify + WhatsApp Marketing Automation- Sample Use Cases
In this section, we will show some sample WhatsApp Marketing use cases and show how to build them. We want to thank Alpha Marketer for providing the use cases.
If you want to use Dynamic URL like Abandoned Checkout URL, You need to add suffix. So for example
https://ecomwave.com/AYSF34
link to pass dynamically, in WhatsApp Message Template URL, use https://ecomwave.com/{{url|example}}
. Notice a few things:- You cannot make the full URL dynamic. If you need to do that, use our helper redirection url:
https://gtlc.cc/r/?link={{url|example}}
- In the url variable, add a variable with an example like this:
{{url|example}}.
Checkout abandonment is when a shopper goes through their journey by adding an item(s) to their cart, entering their personal and credit card information in the checkout step, and then deciding not to complete their purchase (whether they have an account or as a guest checkout).


Method: POST
URL: https://api.myalice.ai/stable/open/whatsapp/send-template-message
Headers:
X-Myalice-Api-Key: <YOUR API KEY>
Content-Type: application/json
Body:
{
"template_id": "<YOUR TEMPLATE ID>",
"channel_phone": "<YOUR WHATSAPP NUMBER>",
"customer_phone": "{{customer.phone}}",
"attributes": {
"first_name": "{{customer.firstName}}",
"last_name": "{{customer.lastName}}",
"url":"{{abandonment.abandonedCheckoutPayload.abandonedCheckoutUrl}}"
}
}
#Header:
We have something special for you!
#Body:
👋 Hi {{full_name|shuvo}}
Your purchase of {{product|Ayurvedic}} is still incomplete.
Complete your purchase now and get a Flat 25% off by using coupon code 25OFF. 🎉
#Footer:
Reply with "Unsub" to unsubscribe.
#Button:
Text: Purchase Now!
URL: https://gtlc.cc/r/?link={{url|example}}
Cart abandonment is when a shopper gets to the point in their journey where they add an item to their cart and then for whatever reason decides to abandon your website.

Part - 1

Part - 2
Method: POST
URL: https://api.myalice.ai/stable/open/whatsapp/send-template-message
Headers:
X-Myalice-Api-Key: <YOUR API KEY>
Content-Type: application/json
Body:
{
"template_id": "<YOUR TEMPLATE ID>",
"channel_phone": "<YOUR WHATSAPP NUMBER>",
"customer_phone": "{{customer.phone}}",
"attributes": {
"first_name": "{{customer.firstName}}",
"last_name": "{{customer.lastName}}",
"full_name": "{{customer.firstName}} {{customer.lastName}}",
"product": "{% for productsAddedToCart_item in abandonment.productsAddedToCart %}{% for collections_item in productsAddedToCart_item.product.collections %}{{collections_item.title}}{% endfor %}{% endfor %}",
"discount": "25%",
"code": "HELLO",
}
}
#Header:
We have something special for you!
#Body:
👋 Hi {{full_name|shuvo}}
Your purchase of {{product|Ayurvedic}} is still incomplete.
Complete your purchase now and get a Flat {{discount|25%}} off by using coupon code {{code|OFF}}. 🎉
#Footer:
Reply with "Unsub" to unsubscribe.
#Button:
Text: Purchase Now!
URL: https://ecomwaveevent.com/cart
Your customers pay most attention to the order confirmation message, because its the first message they receive after making the payment. Why not turn this attention into a sales opportunity? That's now possible with WhatsApp.

Marketing Automation Flow
Method: POST
URL: https://api.myalice.ai/stable/open/whatsapp/send-template-message
Headers:
X-Myalice-Api-Key: <YOUR API KEY>
Content-Type: application/json
Body:
{
"template_id": "<YOUR TEMPLATE ID>",
"channel_phone": "<YOUR WHATSAPP NUMBER>",
"customer_phone": "{{customer.phone}}",
"attributes": {
"first_name": "{{order.customer.firstName}}",
"last_name": "{{order.customer.lastName}}",
"full_name": "{{order.customer.firstName}} {{order.customer.lastName}}",
"order_id": "{{order.name}}",
"order_value": "{{order.currentTotalPriceSet.shopMoney.amount}}"
}
}
#Header:
Your order is confirmed now!
#Body:
We have received your order #{{order_id}} amounting to {{order_value}}.
Your order is now being prepared. We will notify you once the order is shipped. 💯
While you wait, you can checkout our other amazing products which are trending right now! For your next purchase, we have a special discount. Use *GET200* to get FLAT 200 off in your next order.
#Footer:
Reply with "Unsub" to unsubscribe.
#Button:
Text: Explore Products
Sequence: You can esign a Flow for this in MyAlice
Your customers get anxious till they receive the product they ordered from your store. Why not send shipping notifications via WhatsApp? With multimedia features, you can send videos and images to educate about the product. With the "Clickable button" feature you can also help them navigate to the "Order Tracking" page.

Shopify Marketing Automation Setup
Method: POST
URL: https://api.myalice.ai/stable/open/whatsapp/send-template-message
Headers:
X-Myalice-Api-Key: <YOUR API KEY>
Content-Type: application/json
Body:
{
"template_id": "<YOUR TEMPLATE ID>",
"channel_phone": "<YOUR WHATSAPP NUMBER>",
"customer_phone": "{{customer.phone}}",
"attributes": {
"first_name": "{{order.customer.firstName}}",
"order_id": "{{order.name}}",
"item_count": "{{order.subtotalLineItemsQuantity}}",
"item": "{% for lineItems_item in order.lineItems %}{{lineItems_item.name}}{% endfor %}",
"arrival": "in 3 days",
"url": "{% for trackingInfo_item in fulfillment.trackingInfo %}{{trackingInfo_item.url}}{% endfor %}"
}
}
#Header:
ORDER SHIPPED
#Body:
Hi {{first_name|shuvo}}, Your EcomwaveEvent Store order has been shipped!
Order id: {{order_id|1212}}
Item count: {{item_count|1}}
Item(s): {{item|Ayurvedic}}
Arriving by: {{arrival|16 days}}
*TRACK YOUR ORDER* 👇
#Button:
Button Text: Track Order
URL: https://gtlc.cc/r/?link={{url|example}}
How about sending automated messages to collect feedback from your customer? If they express a positive feedback how about instantly recommending them a new product to buy? Yes! That's possible with WhatsApp.

Shopify Marketing Automation Setup for WhatsApp Feedback
Method: POST
URL: https://api.myalice.ai/stable/open/whatsapp/send-template-message
Headers:
X-Myalice-Api-Key: <YOUR API KEY>
Content-Type: application/json
Body:
{
"template_id": "<YOUR TEMPLATE ID>",
"channel_phone": "<YOUR WHATSAPP NUMBER>",
"customer_phone": "{{customer.phone}}",
"attributes": {
"first_name": "{{order.customer.firstName}}",
"product": "{% for lineItems_item in order.lineItems %}{{lineItems_item.name}}{% endfor %}"
}
}
#Body:
Hi {{first_name|shuvo}}, we hope {{product|Lotion}} brought a smile to your face. 😊
How was your experience with our product?
#Button:
Button Text: Liked it!
Sequence: Create a sequence in MyAlice to collect more info / offer discount
Button Text: Disliked it!
Sequence: Create a sequence to collect reason
Button Text: Loved it!
Sequence: Create a sequence to take review
This message encourages the customer to use the product that they purchased from you. It isn't used often but it has big impact on post purchase experience of the customer. Since WhatsApp supports video, image and audio formats, communication is much more effective.

Shopify Marketing Automation Setup for Product Education
Method: POST
URL: https://api.myalice.ai/stable/open/whatsapp/send-template-message
Headers:
X-Myalice-Api-Key: <YOUR API KEY>
Content-Type: application/json
Body:
{
"template_id": "<YOUR TEMPLATE ID>",
"channel_phone": "<YOUR WHATSAPP NUMBER>",
"customer_phone": "{{customer.phone}}",
"attributes": {
"product": "{% for lineItems_item in order.lineItems %}{{lineItems_item.name}}{% endfor %}"
}
}
#Body:
Hey fellow coffee lover,
You've recently received your {{product|Ayurvedic}}. 🤗
Here are a few selected recipes to try out with our {{product|Ayurvedic}}. ☕️ 🍦
#Button:
Button Text: Watch Now!
URL: https://youtu.be/zyX3Q7NQ73U
If your product needs repeated usage for a longer period of time to get results. Then why not ask the customer to re-order? Great for increasing the Lifetime Value of the customer (LTV).

Shopify Marketing Automation Flow for Restock
Method: POST
URL: https://api.myalice.ai/stable/open/whatsapp/send-template-message
Headers:
X-Myalice-Api-Key: <YOUR API KEY>
Content-Type: application/json
Body:
{
"template_id": "<YOUR TEMPLATE ID>",
"channel_phone": "<YOUR WHATSAPP NUMBER>",
"customer_phone": "{{customer.phone}}",
"attributes": {
"first_name": "{{order.customer.firstName}}",
"url": "{% for lineItems_item in order.lineItems %}{{lineItems_item.variant.id}}{% endfor %}"
}
}
#Body:
Hello {{first_name|shuvo}},
You ordered our coffee a while ago. We hope you're loving our product. 🤗
It might be a good time to restock, in case your supplies are running low! ⏱
Order in the next 24 hours and the shipping is on us! 🛒
#Button:
Button Text: Order Now!
URL: https://ecomwaveevent.com/{{url|url}}
Ok, you have successfully acquired customers. Now how about recommending them other relevant products from your store? You might be doing this already with email and SMS, but with WhatsApp the success rate might be simply higher. Mind increasing the lifetime value of your existing customers?

Shopify Marketing Automation Flow
Method: POST
URL: https://api.myalice.ai/stable/open/whatsapp/send-template-message
Headers:
X-Myalice-Api-Key: <YOUR API KEY>
Content-Type: application/json
Body:
{
"template_id": "<YOUR TEMPLATE ID>",
"channel_phone": "<YOUR WHATSAPP NUMBER>",
"customer_phone": "{{customer.phone}}",
"attributes": {
"first_name": "{{order.customer.firstName}}",
"url": "all"
}
}
#Body:
Dear {{first_name|shuvo}},
We hope your taste buds are liking your new Coffee! 😋
Btw, you might wanna checkout these as well to make your coffee even better! 🤩
#Button:
Button Text: Coffee Spread
URL: https://ecomwaveevent.com/collections/{{url|url}}