If you want to send messages via Klaviyo to your customers on WhatsApp, you can achieve it via our Webhooks trigger.
1. Create a new workflow
Go to Automation -> New Flow
2. Choose WhatsApp
Only WhatsApp messages can be sent via Webhooks, since you can't initiate a business conversation from Instagram or Facebook channels.
3. Select triggers & choose webhook
4. Use the unique URL and paste it onto the application/code you want to trigger webhooks from
As soon you create the trigger, a URL is generated. You can either add this URL to the app /tool of your choice. Or just send a POST request to this URL and mention the phone
and name
of the contact. So that we know which number to send the message to.
5. Head to Zapier & Create a new Zap
6. Choose your Trigger
Choose the trigger you want to start the flow on. This can be a trigger based on events or a time-based one.
The only thing to ensure here is that when you'll be triggering the webhook on Spur, you should have the contact name & phone, so that Spur knows whom to send the message to.
7. Select the Webhook Action
Create a new Action
Type in "Webhook" in the search
Click on Webhooks by Zapier
8. Configuring the Webhook Settings
Select the Event as POST
In the URL section, paste the webhook URL you copied from the webhook trigger in Spur
Set the Payload Type to "json"
Information in this section will come from your Zapier workflow, both phone and name are required to send a contact a message.
Select phone as the field and value will the variable which has the phone of the contact.
Same procedure should be followed for name
Make sure the name phone has country code and no spaces, as showin in the example below.
Both "name" and "phone" should be in small case. "Name" & "Phone" will not work
9. Test and Publish the Flow
Conclusion
This is how you trigger Spur webhooks on Zapier.