Skip to main content

Send Facebook leads to Xavi.uz automatically

The moment a form is filled, an order appears in Xavi.uz — with name, phone, product (offer) ID and stream key, and then an operator calls the customer. The order number Xavi returns reaches Telegram with every lead.

Facebook Lead Ads
Yuboraman
Xavi.uz

How to send leads to Xavi.uz

  1. Connect Facebook under “Connections”

    “Connect profile” → Facebook. The browser goes to Facebook, where you choose which Pages to give access to — Yuboraman never sees your password. Back in the dashboard, the account shows up under “Lead sources”.

  2. Add your Xavi.uz key under “API Keys”

    The key is in your Xavi.uz cabinet, under the “API hujjatlari” (API docs) menu. In Yuboraman click “New API key”, name the key, pick Xavi.uz in the “Website” list and paste the key. You add it once — the integration selects it for you.

  3. Click “New integration” and pick the source

    In the Integrations section click “New integration”. Under “Where does the lead come from?” tick Facebook / Instagram, then pick the Page running the ad and the lead Form — with a single Facebook account it is selected for you.

  4. Set the form name and the Telegram message

    Give the integration a clear name — the product name, for example. With a Telegram chat selected, every lead and the Xavi.uz reply arrive in that chat.

  5. Pick Xavi.uz as the target site

    Type “xavi” into the search of the “Where to send leads?” list and pick Xavi.uz — the key from “API Keys” is selected in the API Key list for you.

  6. Enter the product ID and an “Oddiy” stream key

    The customer's name and phone link to the form fields on their own. On the “API hujjatlari” page, find a stream of the “Oddiy” (simple) type in the “Faol oqimlaringiz” (your active streams) table: put its stream key into “Oqim ID” and the ID of the product that stream belongs to into “Mahsulot (offer) ID” — the window labels them in Uzbek — then save: the next lead goes in as an order.

Video tutorial

Yuboraman.uz → Xavi.uz integration

Setting up the Xavi.uz integration step by step: connecting a Facebook Page and picking the right lead form, then checking it with a test lead and seeing a new lead reach Xavi.uz.

Duration:

By Yuboraman

The video is in Uzbek.

What you get

Works with an “Oddiy” stream

In Xavi you choose a stream's type when you set it up: “Oddiy” (simple) or “Murakkab” (advanced). Yuboraman sends the fields a simple stream asks for — name, phone, product ID and stream key — and then a Xavi operator calls the customer.

The order number in Telegram

For every accepted order Xavi returns a number. It reaches your Telegram chat with the lead and is stored with it.

No lead gets lost

If Xavi.uz is briefly unavailable, the system tries the lead three times and, if that fails, posts the reason in Telegram — then keeps retrying hourly for up to 24 hours.

One integration per product

A Xavi stream belongs to one product. Selling several products? Open an integration for each: one key, picked for you, and only the product ID and stream key differ.

Frequently asked questions

Where do I get the API key and the stream key?

Both are on the “API hujjatlari” page of your Xavi.uz cabinet. The “Faol oqimlaringiz” table shows each stream's key and type — take an “Oddiy” one. Add the API key once under “API Keys” in Yuboraman.

Does the order status come back to Yuboraman?

Not yet: Xavi.uz doesn't send the order status. Telegram shows the order number and the site's reply.

Why doesn't a “Murakkab” stream work?

A “Murakkab” stream sends the order straight to delivery, so it also requires the region, district, quantity and a second phone number. Yuboraman doesn't send those, and Xavi turns the lead down with “region_id yuborilmadi! (murakkab turdagi oqim uchun majburiy)” — region_id is missing, and an advanced stream requires it. Set up an “Oddiy” stream for the product and put its key into the integration.

Telegram shows an error — what do I check?

Xavi keeps its errors short, and each one says what to fix: “api_key noto'g'ri!” — wrong key, “stream noto'g'ri!” — the stream key has a typo, “offer_id noto'g'ri!” — wrong product ID, “stream api_key ga mos emas!” — the stream belongs to another account, “stream offer_id ga mos emas!” — the stream was set up for another product. Take the right value from the “API hujjatlari” page and edit the integration.

Other destinations

Let your leads land in Xavi.uz

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