I’m running Facebook and Instagram ads using the “Click to WhatsApp” conversion, but I’m not collecting leads through a Meta instant form.
When people message me on WhatsApp, I can see their name and phone number in WhatsApp, but I cannot get a proper list of leads categorized by campaign, ad set, or ad.
I want to automatically collect each WhatsApp lead’s:
Name
WhatsApp phone number
Message
Campaign name/ID
Ad set name/ID
Ad name/ID
CTWA Click ID (ctwa_clid)
and send this information to Google Sheets and/or HubSpot CRM.
My preferred workflow is:
Facebook/Instagram Ads → Click to WhatsApp → WhatsApp Business Cloud/API → Webhook → Make.com → Google Sheets/HubSpot.
Can you show me the correct and current step-by-step setup for this, including how to capture the Meta campaign/ad attribution from the WhatsApp webhook?
The webhook will only give you the ad ID and not the names. On the message that opens the chat from an ad, ‘messages[].referral’ has ‘source_id’ (the ad ID) and ‘ctwa_clid’. The name is in ‘contacts[].profile.name’, number in ‘messages[].from’, text in ‘messages[].text.body’ (you should check your bundle for exact paths as non text messages won’t have a body).
Now in make have the WhatsApp Business Cloud Watch Events, with only “Messages” selected. Then set up a filter to make sure a referral exists. Then setup an HTTP module to Make a Request. Have a GET request look at this URL: GET graph.facebook.com/{source_id}?fields=name,adset{id,name},campaign{id,name}, using a token with ads_read (add an error handler step in case the ID isn’t an ad). Finally search by phone in Sheets/Hubspot, and then add or update to avoid duplicates.
Note ctwa_clid is omitted for WhatsApp Status placement ads.
Here is a concise summary of the Click-to-WhatsApp (CTWA) attribution and automation setup:
The Core Challenge: WhatsApp webhooks capture lead details and the ctwa_clid, but Meta typically omits human-readable Campaign and Ad Set names from the payload.
Workflow Architecture: Facebook/Instagram Ads $\rightarrow$ WhatsApp Cloud API $\rightarrow$ Make.com Webhook $\rightarrow$ Meta Graph API (for name resolution) $\rightarrow$ Google Sheets / HubSpot.
Key Data Points to Capture: Name, phone number, message text, ctwa_clid, and resolved Campaign/Ad Set/Ad names.
Anthony’s flow is the right direction. One thing I’d verify before building the full Make scenario is the raw webhook payload from one real Click-to-WhatsApp conversation.
On the message that actually starts from the ad, check whether the referral object is present with source_id and ctwa_clid. If it is, the rest is mostly mapping: use source_id for the Meta lookup, then store the resolved campaign/ad set/ad data together with the contact name, phone and message in Sheets or HubSpot.
If referral is missing, I wouldn’t try to solve it inside Make yet, because the attribution is already missing upstream.
If you can post one redacted webhook bundle here, with phone/name/tokens removed, I can point out the exact fields to map and where the flow is breaking.
Anthony’s flow covers the capture side well. A few things from the ads side that make the data actually useful once it’s in Sheets or HubSpot:
Store IDs, resolve names later. Campaign and ad names get edited all the time. Save source_id plus the campaign and ad set IDs from the Graph lookup, and pull names into your report view. Otherwise last month’s leads end up under names that no longer exist.
Only the first message carries the referral. Write the attribution once, when the contact is created, and don’t overwrite it on later messages. If the same number clicks a second ad weeks later, log that as a separate touch rather than replacing the first one.
Keep the ctwa_clid per conversation, not just per contact. That’s the key you need if you want to send results back to Meta. Through the Conversions API for business messaging you can report a “qualified lead” or “purchase” event against that click ID, so Meta optimises for people who actually buy instead of people who just open a chat.
Add a lead status field in HubSpot from day one (new, qualified, booked, won). Then you can compare cost per qualified lead by ad set, which is the number that tells you which creative to keep.