<aside> ⌛

Previous instruction version with select field UI: https://kwid.notion.site/Webhook-Response-to-Lead-Field-114bfd7ca22980a2996edc3d9c8e4bc4?pvs=74

</aside>

<aside> 🇧🇷

Instrução em português: Resposta do Webhook para o Campo de Lead

</aside>

<aside> 🇪🇸

Instrucciones en español: Respuesta del Webhook para el Campo del Lead

</aside>

You can use any value from the webhook JSON response on the next Salesbot steps using:

{{json.response.xxxxx}}

image.png

Use dots to navigate inside the webhook response, like {{json.response.user.email}}, or {{json.response.user.phone}}


Quick setup

  1. In Salesbot Webhooks, enter the URL and click Test to send a test request and see the webhook response.

image.png

image.png

  1. Add the next step (e.g., Add note to a lead or Update lead field) and paste a variable (e.g. {{json.response.user.email}}) into the field value.

image.png

  1. Save Salesbot.

Example

Webhook Response:

{
  "user": {
    "name": "John Doe",
    "email": "[email protected]",
    "phone": "+1-555-0123"
  }
}

Variables you can use: