# 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!


---

# 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://orimon.gitbook.io/docs/integrations/webhook.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.
