Build your Webhook
Before building your webhook, you might like to understand what a webhook is and how it works.
A webhook is a URL which is called from your server, when the conditions you have set to execute an instruction are met. The webhook then instructs the next application in your workflow to do its stuff. The webhook thereby acts as a connector between different systems to automate workflow. For our purposes, when your email triggering conditions are met, the Nfield Online server will call the webhook, which then instructs your email client to send the relevant communication.
Here’s how to set up your webhook via Zapier:
1) Create a new Zap and select “Webhooks by Zapier” as your Trigger App.
2) Select “Catch Hook” as the function
3) Save the URL provided. This will be your webhook to be called from Nfield.
4) Let the Zap know what information you are going to pass to it by setting the parameters. For example, these are likely to be Email, RespondentKey, Score and Name. Pay attention to the symbols which connect them. The first one has to be a question mark, then ampersands. Take a look at this example by opening it in your browser.
5) Test your Zap. Click “See more samples”. It will grab test results, which you can expand to check if they’re delivering the results you expect. If all is working as expected, select it and continue.
That’s it! Your webhook is ready.