Configuring a Zapier Webhook Integration

This help article covers how you can setup a Zapier integration with one of your Workflows by using the Zapier integration. You must first sign into your Zapier account...

Step 1: Create a New Zap

Under "Choose a Trigger App" select "Webhooks by Zapier".

Screenshot_2018-12-18_14.07.43.png

Step 2: Select a "Catch Hook"

Screenshot_2018-12-18_14.09.14.png

Step 3: Copy the Webhook URL and paste into the "Send to Zapier" action

Copy the Webhook URL:

Screenshot_2018-12-18_14.10.15.png

Paste into the Zapier Action in Mr. Arigato:

Screenshot_2018-12-18_14.11.54.png

Step 4: Optionally, Define Your Webhook Body

By default, the entire payload that Mr. Arigato gets from Shopify will be sent to Zapier. If you would like to modify and customize this you can enter your own JSON in the "Body" field. Here's an example of sending customer data, including their last_order details to Zapier:

Screenshot_2018-12-18_14.15.44.png

Note that the "Body" field is formatted as JSON, and the objects we are passing to the JSON fields are using the to_json filter. Copied below:

{ "customer": {{ customer | to_json }},  "last_order": {{ customer.last_order | to_json }} }

When testing your webhooks you can view the Workflow Logs page to see if requests are working properly. An error will be thrown if your body field is not proper JSON.

Step 5: Trigger the Webhook

If possible, trigger your workflow so that it sends data to Zapier. This will allow Zapier to parse the data so you can start using it effectively. Make sure your workflow is enabled (not paused).

You should see a hook come into Zapier with the available fields:

Screenshot_2018-12-18_14.19.10.png

Step 6: Finish Your Zap by Adding Actions

Next you can add one or more actions to your Zap!

You can view more documentation about Zapier Webhooks here: https://zapier.com/page/webhooks/