Capture WhatsApp enquiries as contacts you can follow up
- Trigger
- POST /relay
- Lands in
- The Contacts dashboard
- Setup
- 10 min
- Needs
- A website where you can add a script tag

WhatsApp enquiry about corporate training
Budi Santoso asked about a team of 40 in Jakarta
- Contact
- [email protected]
- Page
- /corporate-training
- Campaign
- brand-id-2026 · google / cpc
- Reference
- K7Q4XM
The chat continues in WhatsApp. The reference in the prefilled message ties that conversation to this record.
Why WhatsApp goes uncounted
The usual fix is a click counter, which tells you how many people pressed the button but not who they were.
Take a WhatsApp button on a training company's site, the ordinary kind that opens a chat with a generic hello. Over a month visitors press it forty-six times, and every press reaches the team as the same line of text. The team can't tell the person comparing two courses from the person asking whether the office is open on Saturday, or follow up with either afterwards.
Pipeline reporting suffers too. None of those clicks carries an email address, so none of them becomes a contact. The sales that come out of those conversations get credited to whatever touch did carry an address, usually the contact form or the payment itself.
Adding three fields in front of the handoff changes what the same forty-six presses produce. Fewer of them go through, and the ones that do arrive as named contacts with a question attached, matched to the page they were reading, the campaign that brought them there, and any payment they have ever made.
Send the landing URL with its query string intact and Viably reads the UTM tags off it, so a WhatsApp enquiry carries its campaign, network and medium the same way a form fill does. You can see which enquiries your Click to WhatsApp ads produced.
The email address is the identity key, so a WhatsApp enquiry in March and a payment in June under the same address land on one contact.
The first message says what the visitor is looking at and what they want, and the contact record already holds their email, the page they were reading and the campaign that brought them. Your team can skip the round of qualifying questions.
When a WhatsApp click goes untracked, the sale it eventually produces gets attributed to whatever later touch carried an email, usually your contact form or the payment itself. WhatsApp's revenue then shows up under other channels.
Set up in 3 steps
Setup takes around ten minutes, most of it on the widget. You don't need a Slack workspace or anything from Meta.
In the Viably dashboard, open Webhook Relay settings and find the WhatsApp widget section. Enter your WhatsApp number, pick the Slack channel enquiries post to, and list the sites it may run on.
Copy the tag from the same section and paste it before the closing body tag on your site. Greeting, hours, colors and page topics are edited in the dashboard, so changing them never means a redeploy.
Open your site, submit the panel and check that the contact appears in Needs reply. Every enquiry from then on is a contact with its page and campaign attached.
hq.viably.app for the script and the submit request. The tag carries a public widget id and no secret.Posting from your own server
The hosted widget sends this payload for you. If you build your own, post it from your server to a Webhook Relay endpoint and keep the endpoint token out of browser code, since anyone holding it can write to your contact list. Only type and emailare required. Everything else makes the contact more useful, and Viably keeps any field it doesn't read on the contact as captured data you can promote into a field later.
The handoff reference
After submitting the form, the visitor still has to press send inside WhatsApp, and only WhatsApp knows the number they send from. A short reference in the prefilled message lets you match the two.
Improve form completion
Asking for three fields in front of a one-tap action costs you some conversions. A well designed panel wins most of them back. These tips are roughly in order of impact.
An empty textarea is where a pre-chat form loses most visitors. Prefill it with a sentence based on the page they are on, left unfinished, so the visitor only has to edit it. Even a message sent almost unchanged tells you more than a bare click.
Visitors judge the effort of a form before they read it. Lead with the mostly written message and the form looks nearly done.
They are about to share a phone number, so give them a reason to add an email too. One line under the field is enough, such as offering to send anything that won't fit in a chat.
Show your office hours instead of an estimated reply time. Say you are open now, or that you will pick it up the next working day.
Keep the name and email in the browser after a successful enquiry and prefill them next time. Returning visitors, the people most likely to buy, then only need to type their question.
Keep the panel open with a confirmation after submit. On desktop the link opens WhatsApp Web, which asks anyone without a linked session to sign in, and popup blockers often stop the window entirely. Confirm what happened, offer the link again, and tell the visitor you have their message either way.
Your tracking ends at the wa.me link. The visitor leaves a page you instrumented, with a URL, a referrer and a campaign, and arrives in WhatsApp as a phone number with none of that context. Every press of a plain WhatsApp button produces the same event, so you can count them but can't tell them apart or follow any of them up.
No. The conversation still happens in WhatsApp, on the visitor's own phone. The widget asks for a name, an email and what they need, then opens WhatsApp with that message prefilled, and the enquiry is in your CRM before the chat begins.
Yes, some. A form in front of a one-tap action always costs some volume, but twenty enquiries with a name, an email and a question are worth more to a sales team than fifty anonymous clicks. Viably instruments both ends of the funnel, so you can measure the cost. Prefilling the message box does the most to keep it low.
No. It works with an ordinary WhatsApp number and a wa.me link, so you skip Meta app review, number registration and template message approvals. Your sales team keeps using the WhatsApp app on their phones.
As its own source. Viably reads the UTM tags from the landing URL the widget sends and files the campaign, network and medium on the contact, as it does for a form fill. WhatsApp is its own event type, so it gets its own row in acquisition by source and in lifetime value by source, and any payment that follows is credited to the page and campaign that started the conversation.
It matches a WhatsApp conversation to the enquiry that started it. After submitting the form, the visitor still has to press send inside WhatsApp, and only WhatsApp knows the number they send from. The code appears in the message your team receives and in the contact's captured data, so you can join the two.
The widget has a honeypot field and a timing check that stop most form bots, and the server rate limits each address and each widget. Email addresses are checked for format but not verified, so treat a WhatsApp contact like any contact form submission until they reply.
Only the origins you list in its settings, up to ten. The server checks where every submission came from.
Start capturing the channel you already have
Add the widget to the WhatsApp button you already have and you find out who is pressing it.
Open Webhook Relay settings, turn on the WhatsApp widget and paste the script tag. The next person who taps your WhatsApp button becomes a contact in your CRM, and the free plan includes the full contacts workspace.
Add Viably to Slack