How to use Lead Received from Widget Webhook
Capture every WhatsApp lead from your website — automatically
Have you ever noticed a WhatsApp icon floating on a company's website? When a visitor clicks on that icon and sends a message, they become a lead.
That icon is powered by DoubleTick's Widget — an add-on that DoubleTick places on your website to connect visitors directly to your WhatsApp number.
The moment someone clicks that widget and sends a message on WhatsApp, the Lead Received from Widget webhook fires — instantly sending that lead's details to any system you choose.
What is the DoubleTick Widget?
The DoubleTick Widget is a small WhatsApp button that DoubleTick adds to your company's website. When a visitor clicks it, they are taken directly to a WhatsApp chat with your business number.
Think of it as a bridge between your website and your WhatsApp.
The moment that visitor sends their first message through this widget, they are recorded as a lead — and this webhook gets triggered.
Don't have a widget set up on your website yet?
Before you configure this webhook, make sure your DoubleTick WhatsApp Widget is already live on your website. If you haven't set it up yet, follow this step-by-step guide first:
How to Create a WhatsApp Widget on Your Website
Once your widget is live and receiving messages, come back here to set up the webhook.
What is the Lead Received from Widget Webhook?
This webhook is an automatic notification system.
Whenever someone comes to your website, clicks the WhatsApp widget, and sends a message to your API number — DoubleTick immediately captures that lead and sends the details to a system of your choice.
You do not have to manually check anything. It all happens in the background, automatically.
When Does This Webhook Trigger?
This webhook triggers when:
A visitor clicks the WhatsApp widget on your website
They send a message to your WhatsApp API number through that widget
DoubleTick records them as a new lead
In short: website visitor clicks widget → sends WhatsApp message → webhook fires.
Step-by-Step: How to Set Up This Webhook
Step 1: Go to Webhooks
Log in to DoubleTick
Go to Settings
Click on Webhooks
Step 2: Create a New Webhook
Click New Webhook
Give it a name
Example: Website WhatsApp Lead Webhook
Step 3: Add Your Webhook URL
This is the address where DoubleTick will send the lead data every time the webhook fires.
You can use any of the following:
A CRM like Zoho, HubSpot, or Salesforce
An automation tool like Zapier, Pabbly, or Make
Your own backend system
Using Bot Studio for Testing
If you are new to webhooks and want to test how it works before connecting a real system, you can use DoubleTick's Bot Studio. It lets you capture and view the incoming data so you understand what is being sent.
How to get a webhook URL from Bot Studio:
Open DoubleTick in a new tab
Go to Bot Studio
Click Create New Bot
Select trigger: On Webhook
Copy the webhook URL that appears
Step 4: Fill in the Webhook Details
Go back to the Webhooks page
Paste the webhook URL you copied
Select your API Number (your WhatsApp Business number)
Click Continue
Step 5: Select the Event
Choose Lead Received from Widget
Click Create Webhook
Your webhook is now live and ready.
How to Test If It's Working
Step 1: Go to your website and click the WhatsApp widget. Submit a test message.
Step 2: Go back to Bot Studio and open the same bot where you had copied the webhook URL. Click Capture Response.
Step 3: Click View Response Data — you will see the lead details that were just captured.
What Data Will You Receive?
When the webhook fires, it sends you the following information about the lead:
Customer name
Phone number
Email address (if shared)
Message or query they sent
Source (widget)
Date and time of the message
What Can You Do with This Data?
Once you receive the lead data, you can:
Store it automatically in Google Sheets
Push it to your CRM as a new lead
Trigger an automated WhatsApp follow-up message
Assign it to a sales agent instantly
Real Business Example: A Real Estate Company
The Situation
A real estate company has a website with a DoubleTick WhatsApp widget. Visitors click it to enquire about properties or request a callback.
The Problem Before Automation
Leads were collected manually
Responses were delayed
Sales agents sometimes missed or forgot to follow up
Potential customers lost interest and moved on
The Solution
The company connected the Lead Received from Widget webhook to their CRM.
Now, the moment a visitor sends a WhatsApp message through the website widget:
The lead data is instantly sent to the CRM
A new lead record is created automatically
The lead is assigned to a sales agent
The agent gets an immediate notification and calls within minutes
The Result
Zero leads are missed
Response time dropped from hours to minutes
Lead conversion rates improved significantly
The team no longer spends time on manual data entry
Conclusion
The Lead Received from Widget webhook makes sure that every person who reaches out to you through your website's WhatsApp button is captured instantly — and the right people on your team are notified right away.
No manual work. No missed leads. No delays.
Last updated