# Webhook

{% hint style="success" %}
A webhook is a method used to automatically **transfer data** from NeoDove to another application as it happens in **real-time**.&#x20;
{% endhint %}

Essentially, it is a way for NeoDove to provide other applications with real-time information.&#x20;

Webhooks are typically used to **notify** your system of an event or change that occurred, without the need for your **system** to constantly poll for updates.

### Here’s how it works:

***

1. **Setup:** You configure a NeoDove webhook by providing a URL endpoint on any of your particular software's or application's server where you want to receive data.
2. **Trigger:** An event occurs in the source application (e.g., a new lead gets created or updated, an order is placed, a payment is processed).
3. **Notification:** NeoDove makes an HTTP request (usually a POST) to the webhook URL, sending data about the event in the requested application.
4. **Processing:** Your particular application's server receives the data and processes it according to your needs (e.g., updating a database, sending a notification, triggering a workflow).

### Example:

***

Imagine you have an **e-commerce website** and you want to keep your inventory system updated in **real-time** when an order is placed. You can set up a **webhook** in your NeoDove portal that triggers an **HTTP POST request** to your inventory system’s **URL endpoint** whenever a new order is placed. The inventory system **receives** the order details and **adjusts** the stock levels accordingly.

### Benefits:

***

* **Real-time Data Transfer:** Immediate notification and data transfer as events occur.
* **Efficiency:** Reduces the need for constant polling or checking for updates, saving bandwidth and resources.
* **Automation:** Enables automatic and seamless workflows between NeoDove and different applications and services.

### Steps:

***

1. **Log in** to your NeoDove account (<https://connect.neodove.com/login>)  &#x20;
2. &#x20;Go to the **Integrations** section, present on the left side-bar of your **screen**.

<figure><img src="https://2103666731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJasmeOMeAJhTVh0M75%2Fuploads%2Fe1RZfWNQSWDafRxfEUOx%2FIntegrations.png?alt=media&#x26;token=3e86f09f-1d31-44e8-a9e1-c061fd86c6ff" alt=""><figcaption></figcaption></figure>

1. Once clicked, then need to click on the "**Webhook**" option.

<figure><img src="https://2103666731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJasmeOMeAJhTVh0M75%2Fuploads%2F7oM3DytoDRcyHDPAdI43%2FWebhook%20option.png?alt=media&#x26;token=8b5af801-7c03-4bb9-b91a-ee933ffb28f6" alt=""><figcaption></figcaption></figure>

4. Post that, a new window will **appear** where you need to select the **events** on which the lead should behave or get triggered to some other software from NeoDove.

* **Trigger - 1 - Lead Create** (If you want the lead to be created in other software when it is being created in NeoDove)
* **Trigger - 2 - Lead Dispose** (If you want the lead to be created in other software when it is being disposed in NeoDove)
* **Trigger - 3 - Lead Delete** (If you want the lead to be created in other software when it is being deleted in NeoDove)

<figure><img src="https://2103666731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJasmeOMeAJhTVh0M75%2Fuploads%2FbWpRHYuzrnIkSnhrRwfi%2FEvents.png?alt=media&#x26;token=99ad4ba3-791f-4da6-bd7e-3ba24c4b1893" alt=""><figcaption></figcaption></figure>

5. After selecting the **triggering events**, need to put the "**Webhook URL**" for the software where you want the lead to be **created**.&#x20;

<figure><img src="https://2103666731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJasmeOMeAJhTVh0M75%2Fuploads%2FgreMz2VMp4IsOSVXxqvA%2FWebhook%20URL.png?alt=media&#x26;token=17d2d184-cfc3-4eb8-bf5c-9fd6720073e7" alt=""><figcaption></figcaption></figure>

6. Then you need to click on the "**Save**" button to get the Webhook added and ensure to "**Turn it On**" as well for the webhook to work properly.

<figure><img src="https://2103666731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJasmeOMeAJhTVh0M75%2Fuploads%2FeBLyGZyVIa2qMdy5eGkQ%2FSavedd.png?alt=media&#x26;token=7d84376a-9e6e-44a5-8321-082f2da0e49a" alt=""><figcaption></figcaption></figure>

7. After the webhook **gets added** successfully, you would be able to check the **lead event status** also for your analysis.

<figure><img src="https://2103666731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJasmeOMeAJhTVh0M75%2Fuploads%2FmmH1w4AnZ0zdhXeZtDj2%2FEvent%20Status.png?alt=media&#x26;token=43ec730c-390d-4aeb-8647-57010190358b" alt=""><figcaption></figcaption></figure>

&#x20;
