> For the complete documentation index, see [llms.txt](https://orimon.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://orimon.gitbook.io/docs/integrations/webhook.md).

# Webhook

1. Log in to [Dashboard](https://orimon.ai/login) using your Google account/manual signup
2. Once logged in, you should see an icon for your bot. Click on it to go to the bot's overview page.

<figure><img src="/files/DQ1o4hKLHbUu3YwDC9fh" alt=""><figcaption></figcaption></figure>

3. On the overview page, you will see several tabs. Click on "Settings" -> "LeadFlow Integrations".

<figure><img src="/files/QdSNqIne96jcMg2ZopZq" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/kxojicdwdZPoeb3P9TTk" alt=""><figcaption></figcaption></figure>

Click on this option to navigate to a integrations page and click on "**Webhook**". You will see a page shown below.&#x20;

<figure><img src="/files/g8R3bUPrWrIIPCH7jc9z" alt=""><figcaption></figcaption></figure>

In the "**Webhook URL**" input paste the endpoint of the server where you receive and process your Leads, like the example shown below.&#x20;

<figure><img src="/files/te8DjiqCJukYDqmY80FF" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:purple;">**Before proceeding please note**</mark> : The server where you will receive the data **must** be configured to accept* **`POST`** *requests.*

*In order to verify this, when you provide a server endpoint, Orimon will first send a dummy* **`POST`** *request, which in **response must return a status code of&#x20;**<mark style="color:green;">**200**</mark>.*&#x20;

*<mark style="color:red;">Failing</mark> this, <mark style="color:red;">no Leads data</mark> will be sent nor will the <mark style="color:red;">server endpoint be saved</mark> for follow up data syncing.*

*Once this protocol is successfully carried out, the follow up* **`POST`** *request will contain all Leads collected via your bot and be sent in the* **`request.body`** *.*
{% endhint %}

Now, click on the "**Submit**" button,

If the integration was successful you see a screen like the one shown below, with your server URL in the input box.

<figure><img src="/files/dAXo30NYJGxTiEPgVQt5" alt=""><figcaption><p>Integration Settings</p></figcaption></figure>

And you will also receive all Leads in a **`POST`** request at your provided server. Like so :  &#x20;

<figure><img src="/files/EzBbHQSiuhA25Jlx9R5e" alt=""><figcaption></figcaption></figure>

*If the integration, for any reason, is unsuccessful you will remain at the first page of the Webhook service and receive an error message informing you what went wrong.*

Now in the image above labelled "Integration Settings" \
The first among these is a button "**Send Lead Form**", this is simply there to re-send all the stored Leads data at that point, if for any reason data is lost.

You will also see a switch "**Active**" which will temporarily disable Leads data syncing, for as long as you don't re-activate it. You can do this, if for any reason (like maintenance), your servers are temporarily down

The Last among these options is a "**Delete**" button, which will remove this integration altogther.

That's all! Now you will have your Leads data directly delivered to you, for you to use them as you see fit!
