# Lead Collection Webhook URL

After the AI chatbot has collected all of the data from the user, it will compile all of that data together and then send it in a JSON format to the URL provided.&#x20;

Example:

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

When this data is received by the CRM or other platform, the data will be formatted so you can easily extract custom values and match them with their custom fields in the client's CRM.&#x20;

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

Example:&#x20;

{% embed url="<https://youtu.be/201MbzjY7Q8?si=b5gsgqQXpaKxCw8R>" %}


---

# 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://docs.stammer.ai/stammer.ai-docs/chat-ai-agents/leads-legacy/lead-collection-webhook-url.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.
