Skip to main content
All CollectionsWhatsApp
How to integrate WhatsApp and Zapier via Spur
How to integrate WhatsApp and Zapier via Spur

Bring in any custom flows with Zapier

Velma Dinkley avatar
Written by Velma Dinkley
Updated over a week ago

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

  1. Create a new Action

  2. Type in "Webhook" in the search

  3. Click on Webhooks by Zapier

8. Configuring the Webhook Settings

Select the Event as POST

  1. In the URL section, paste the webhook URL you copied from the webhook trigger in Spur

  2. 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.

  1. Select phone as the field and value will the variable which has the phone of the contact.

  2. 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.

Did this answer your question?