# Lead Collection Webhook URL

After the AI Agent 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.

Example:

<div align="left"><figure><img src="https://2664211534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ZBK3xWNwSpAJ2dDxWAH%2Fuploads%2FlQYNyjUXiaLlJxmlheGD%2FScreenshot%202025-07-15%20120724.png?alt=media&#x26;token=1e746e78-3fd4-49d5-a1f2-ee597b29605c" alt="" width="511"><figcaption></figcaption></figure></div>

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.

<div align="left"><figure><img src="https://2664211534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3ZBK3xWNwSpAJ2dDxWAH%2Fuploads%2F0UNiuWfTf5A4T362Mb7C%2FScreenshot%202025-07-15%20120812.png?alt=media&#x26;token=70841ce2-4943-4d5f-8c10-6c010cf8152b" alt="" width="563"><figcaption></figcaption></figure></div>

**1. Log into Agent Supply**

* Access your **Agent Supply** dashboard.
* Choose the specific **AI form or lead generation tool** you're using to collect user data.

**2. Open Integration Settings**

* Within Agent Supply, navigate to the **Integrations** or **Webhook/API** settings section for the form.
* This is where you configure where the lead data should go.

**3. Copy the Webhook URL from GoHighLevel**

* Open your **GoHighLevel** dashboard.
* Go to **Settings → Webhooks** (or **Triggers**, depending on setup).
* Create or retrieve a **Webhook URL** that will receive incoming lead data.
* Copy that URL.

**4. Paste Webhook into Agent Supply**

* Back in Agent Supply, paste the **GHL Webhook URL** into the webhook destination field.
* This tells Agent Supply to send new lead submissions to GoHighLevel.

**5. Map Form Fields**

* Match each form field from Agent Supply to its corresponding field in GoHighLevel:
  * First Name → First Name
  * Email → Email
  * Phone → Phone
  * And so on...
* This ensures the data is correctly placed in the GHL contact record.

**6. Submit a Test Lead**

* Use your Agent Supply form to submit a **test lead**.
* Then check your **GoHighLevel CRM** to verify the contact appears correctly with the expected data.

**7. Troubleshooting**

If the test doesn't work:

* Double-check the **Webhook URL** is correct and live.
* Make sure **field names are mapped properly**.
* Look at any **logs or error messages** in Agent Supply or GHL to diagnose issues.

***

#### 🔁 Why Use This Integration?

* **Saves Time**: No more copying and pasting lead info.
* **Improves Accuracy**: Automation avoids typos and delays.
* **Enables Automation**: As soon as the lead hits GoHighLevel, you can trigger emails, SMS, calls, or workflows.

[<br>](https://docs.stammer.ai/stammer.ai-docs/ai-features/leads-legacy/lead-collection-form-fields)
