Webhooks are one of a few ways web applications can communicate with each other. It allows to send real-time data from one application to another whenever a given event occurs.
Available Webhook Events:
- Member Review Submitted
- Contact Us Form Submitted
- Newsletter Signup
- Lead Submitted
The Zap created on this article is an example of how Webhooks work, the Zap will send an email every time a visitor submits the Getmatched form. The same method applies for other Webhooks events and apps available on Zapier.
To access this section, please go to Developer Hub >> Webhooks.
On a separate browser tab log in to Zapier, click on "Create Zap".
Next, name the Zap and click on "Webhook".
Now is time to "Choose an Event", select "Catch Hook".
Copy the "Custom Webhook URL".
Go into the Webhook settings on the Admin Dashboard and paste it in, click on "Save Webhook Settings".
Now go back to Zapier and hit "Continue".
Don't click on "Test trigger" just yet, there has to be submission of the form being used on the directory website, please see the next step below.
To test the trigger submit the form connected to this Zap in this case the getmatched form, add content to all of the fields that are appearing on the form and click on "Send Message".
Then go back in to the Zappier browser tab and Click on Test Trigger.
If this is successful, Zappier will print all of the data that is sent to the database when the form gets submitted, click on "Continue".
Next, it's time to create the Event, for this example select "Gmail".
For the Action Event select Send Email and hit "Continue".
Select the email account and hit "Continue".
For the Set up Action add the following fields: To, From, Enter Subject and Body Content.
Note: All of the data that is sent to the database when this form is submitted is added here, select only what is necessary for this action.
Now that the fields are added make sure to arrange them so these appear formatted properly on the email:
Lastly, click on "Continue".
Now click on "Test & Continue".
Checkout the email that was added to receive the Zap, it should contain all of the fields that were selected.
Ready to Turn the Zap on? Click on "Turn on Zap".