Tendabot Assistant

New-lead alerts

Get every chat lead in Discord or your own webhook the moment they leave an email or phone, and count it in GA4, Meta or GTM.

TBy the Tendabot Assistant team · Updated November 14, 2026

When someone leaves an email or a phone number in a chat, Tendabot can tell your team straight away, in a Discord channel or in your own system. Chat leads then get followed up as fast as leads from your forms.

What counts as a new lead

A chat becomes a lead the first time it gets an email or a phone number:

  • the visitor fills in the pre-chat form
  • the visitor types their email or number and the AI saves it
  • the visitor leaves an email after asking for a person, or to get a copy of the chat

Each chat is sent once, at that first moment.

Send leads to Discord

  1. In Discord, open your channel, then Edit Channel → Integrations → Webhooks → New Webhook → Copy Webhook URL.
  2. In Tendabot, open your bot and go to Settings → Who gets alerted.
  3. Paste the URL into Discord channel for new leads and press Send test. A test card appears in the channel.
  4. Press Save.

Each card shows the name, email, phone, the page the chat started on, what they wrote first, and a link that opens the chat in your inbox. It can be the same channel as your handoff alerts or a different one. Clear the field to stop.

Send leads to your own system (webhook)

In Settings → Webhooks, add your https URL and tick Lead captured (email or phone). Every new lead is sent as a signed JSON POST (event `lead.captured`) with the contact's name, email and phone, `pageUrl`, `firstMessage`, `conversationUrl`, the pipeline stage and anything the AI saved. Use Send test to see one arrive.

Count leads in GA4, Meta or GTM

The website chat tells the page it sits on when a visitor becomes a lead, so your own analytics can count it. Nothing personal is shared, only that it happened and which chat.

``` window.addEventListener('tendabot:lead', function (e) { // e.detail.conversationId gtag('event', 'generate_lead'); fbq('track', 'Lead'); }); ```

If Google Tag Manager is on the page, a `tendabot_lead` event is also pushed to the dataLayer, so you can fire tags from a Custom Event trigger without any code. The page also receives a `tb:lead` postMessage.

From Claude

With the Tendabot connector in Claude, ask "send new leads from my website bot to this Discord channel" and paste the webhook URL. The tools are set_lead_alerts (set or remove), get_lead_alerts (see where leads go) and test_lead_alert (send a sample).