Skip to main content

Send leads to your own API address by webhook

A system with no ready-made connection in Yuboraman can receive leads too: a lead goes to it as a plain HTTP request. You set the method, headers, parameters and body format the way your address expects them.

Lead source
Yuboraman
Your API address

How to send leads to a webhook address

  1. Click “New integration” and pick the source

    In the Integrations section click “New integration”. Under “Where does the lead come from?” tick the source: Facebook / Instagram, Google Ads or your own site.

  2. Pick “Other website” and enter the address

    Under “Where does the lead go?” click “Other website”. In the “API URL address” field enter the address the lead goes to.

  3. Choose which fields go

    In the “Lead fields” block you link the lead fields to the keys your address expects: for example, the phone field to phone and the name field to name.

  4. Adjust the request to your address

    If your address expects a different request, in “Request settings” you set the method (GET, POST, PUT or PATCH), the headers, the query parameters and the body type. If you need nested JSON, write a JSON template with placeholders for the lead fields.

  5. Save the integration

    From now on every new lead goes to this address as a request. Normally a lead counts as delivered when the address returns a 2xx response.

What you get

GET, POST, PUT or PATCH

Whichever method your address expects, the request is sent that way.

The body as you expect it

Body type — automatic, JSON, form or no body. The fields go as flat key=value pairs or are placed into their spots in a JSON template.

Headers and query parameters

You add the headers and query parameters your address expects separately — there is no need to stick them onto the end of the URL.

Undelivered leads are resent

Normally, if the address does not return a 2xx response, the lead counts as not delivered and is resent automatically.

Alongside Telegram

Even when the lead goes to your API address, a copy can also land in a Telegram chat.

Conditional routing

You set a condition on the lead fields: only leads that match the condition go to the address.

Receiving leads from a site too

The reverse direction exists as well: the “Your own site” source gives your site its own webhook address. It accepts JSON, form-urlencoded and multipart requests.

Frequently asked questions

Which systems can I send to?

Any address that is open on the internet and accepts HTTP requests: your own CRM, your backend or another service. Telegram, Bitrix24, amoCRM and Google Sheets have ready-made connections.

When does a lead count as delivered?

Normally when your address returns a 2xx response (for example, 200 or 201). Otherwise the lead is resent automatically, and the ones stuck with an error can be sent again with the “Resend” button.

What if my address expects nested JSON?

Switch the body to a JSON template and write the structure you need. Each placeholder in the template is replaced with the value of the matching lead field.

Can I receive leads from a form on my site?

Yes. You pick the “Your own site” source, click “Get the address” and put the address into the site form. After one lead is sent, “Load fields” shows the fields of the last request received: nested JSON fields appear as a dotted path (for example, contact.phone), and some header and query values of the request arrive as header.* and query.* fields.

Won't a test request become a lead?

If the request has test=test, the Yuboraman address answers 200 but nothing is saved. Your site can check the connection this way.

Other destinations

Related guides

Solutions that use this integration

Let leads land in your own system on their own

No code needed: sign up, connect your Facebook Page and switch on your first integration.