# How To Use Webhooks in Triggers To Integrate With Other Applications

Using a webhook with Zapier, you can export data out of the system to use with other platforms/systems. This can be helpful if you use multiple systems and want to export information into a spreadsheet for a variety of purposes for your business. Follow these steps to set up a Webhook.

**Step 1: Create or Log In to your Zapier account.**

* Ensure you have a Zapier account created. Visit zapier.com to log in or create an account.

**Step 2: Create a Workflow to execute a webhook**

There are several options to do this. You can create a Workflow to fire off based on a form or survey being submitted, an appointment being booked, a trigger link being clicked, a two-step order form being completed, and more. In our example, we’ll use an appointment booking to export information into Google Sheets.

* Create a trigger for your webhook by adding it to the workflow.
* Here, we’re creating a trigger based on a specific calendar so that when appointments are booked in that calendar, the webhook will export information to Google Sheets.

{% embed url="<https://lh6.googleusercontent.com/epXBd72kmXNO5L5__JLStg4ej1sdmWz4lVNriJokSw-ITqWNvQ8A3IZtJqO7RVTvDNdypn4K6HlnYGhESXz9Ggkd5dejREZNbQW-3jzCgWvejD_mKAcLNR8kf960TqQNWrPmq-hf3P0_jZg9_j_ubWGe2O_iZHpJNDdxSIp67Uwj16uUxEbbJ0YXO8M-iQ>" %}

* We’ll need to retrieve the Webhook URL from Zapier to paste into a webhook action added after the trigger. Keep this window open for now so you can come back and paste the Webhook URL.

{% embed url="<https://lh6.googleusercontent.com/NI3VNcyK28MsRRVg0I4MgYuZeVVzNFK-ExNc4iVRwVXGQKBAx09t9fkPNzJv6k3YpCwq7xjaWHY4AKPNddfhbnnJ7GdQfnCnqWWxm3Aw4Cd3nPkhQVW7GqVQb7f7V6GBJ-WpZvkcpVQG_G2GQFHr69K6cHFr2ORT9Hf3dvkF0qB8T2TnRrI2tfml6EUbUQ>" %}

**Step 3: Set up the Webook in Zapier.**

* In Zapier, set up your webhook accordingly so that the webhook app does the ‘catch hook’ action\*\*.\*\*

{% embed url="<https://lh5.googleusercontent.com/Js5ykdymTuDBI_mXgHq2kwQQ9zOpNss6_hJib1-lAKiS5AEr2sxXAXSpn-pqWBZH8MIXVIUijn7YmiT0ngUu17yeCQl6QUbe-mlcsNavKP1pe6IXaHTsAGpJufN542YPtCo8jjxCOtDmlwLciXbFc9QS71B57MSefEi9Rc59OA88HD6jHHg90CNNondQ>" %}

* The Custom Webhook URL will be created.
* Copy this URL and paste it into the trigger in the previous step.

{% embed url="<https://lh6.googleusercontent.com/TTJn2o_8vANmH4KHH3V7ZuGqPPHS_YE-NdcQtGj8LoqBnsAz31IB-La0huSNC-NNjMrocEObHdHssbXVZh-oY1QyPWvVkonon9gUhWGlFhJMwPHSCMJMxnWfzoGXwSqUDobENO2jhO_GBBZEZNIGwt9pPWFanQygQjfQGqRZM7JPoRFErWinHTYhiTNo>" %}

* Save and activate the trigger.

**Step 4: Test the Webhook**

* In your system, navigate to the calendar you created the appointment booking trigger for.
* Book an appointment in the calendar as a test.
* Back in Zapier, click “Find Data” to retrieve the test appointment data you just submitted.

{% embed url="<https://lh3.googleusercontent.com/T72vHlw57C5lIXxLhYtIq94UhCdQqLj_UUV9Oi8EKH54PIC9eWHD-U7DxiFBaLikAqpOrFV3Lx0CBCPqxvvHYgVTiqk6C3Wsr1br70b8kIpIe4dsp3MHazZATiwFI1t9fVWbLz7sPQ5Evb1aRqNMZm47c3MTRBIzcwQe-gptbn1IPOimjL9YZvwtI23u>" %}

* Now in Zapier, you can “Create Spreadsheet Row in Google Sheets”.

{% embed url="<https://lh6.googleusercontent.com/u4IIn9apS40bdbOZxLNQFDWfdjt0o8PODuyWem1cBaT62oYcFoP4EJFg-rXcq4J1bF70t8UV-FX6VL-3BC_wyr_q7rOmDCcuaQX_xJ-c7lPn5aAAIe2JyVSGLwE6cIY2RU2yKdmphedVzFQdlPQ0-eKEMAY8FesrgIrX7K1xpB9xGt67HblaDuFqHPFr>" %}

* Map the fields appropriately. Here you’re essentially telling Zapier to pull the first name to the First Name column, last name to the Last Name column, etc. from the webhook.
* Click Continue > Test & Continue > Done Editing.
* Your Zap is now ready!

{% embed url="<https://lh4.googleusercontent.com/uLzBsVlefMuoNuKOMfoP8ueyug16NWv_1vMKxT_FLzhzcQMZZ2mz-8kZ78SpH9cBKgBwt8mfZECeKMyluQuiI3OQfTkBtZu6IITS9PwqgSY64xQwb8LjDQWL5w9JX6cNAPMIeVzo8jHFS-z9gjjCfe0yzplakffuBLiF9yBeto5QU8NMXmltukjnsz9g>" %}

* Navigate to Google Sheets to confirm it is working correctly, and you’re all set.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://software-help-docs.gitbook.io/knowledge-base/software-guide/webhooks/how-to-use-webhooks-in-triggers-to-integrate-with-other-applications.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
