When integrating your WooCommerce store with the WhatsApp Business Platform, the first thing you should set up is Abandoned Checkout & Abandoned Cart recovery.
Steps
Install WooCommerce Cart Abandonment Recovery plugin
Install the plugin here.
Woocommerce does not have a good & robust native cart abandonment detection. But the following plugin solves that for you and is 100% Free.
Create a Flow on Spur with Webhook Trigger
Go to Automation β New Flow
Select the WhatsApp Channel
Select Triggers and Choose Webhook
Change the "Path to phone number" to {{trigger.phone_number}}
Also change the "Path to contact name" to {{trigger.first_name}}
It's critical we set the path to {{trigger.phone_number}}
otherwise Spur won't be able to send the message. Similarly for the name, if we don't change it, the name would be wrong.
Your trigger should look like this:
β
Then, copy the webhook URL by pressing the copy button.
β
Paste the Webhook URL in the Plugin
Head to the Cart Abandonment Plugin -> Settings
Scroll down, enable webhook, paste the URL you copied from Spur and hit save.
Build your Cart Abandonment Flow
Now this trigger gets the following variable that you can use in WhatsApp Template Messages to build a Abandoned Cart Workflow.
email -> use it like {{trigger.email}}
cart_total -> use it like {{trigger.cart_total}}
checkout_url -> use it like {{trigger.checkout_url}}
product_names -> use it like {{trigger.product_names}}
Here is an example of using these variables in action:
Search tags (ignore): woocom, woo, wooc, woocomm, aban