When a customer taps a Meta ad and starts a chat, the lead that chat creates now records that ad, whichever way the lead is made. Until now, leads created by the AI Agent had no ad at all, so they showed "No Campaign" even when the chat came from an ad.
What changed
- The ad on every chat lead. Leads created by the AI Agent, the Create or update lead step, a WhatsApp Form, or by hand from a conversation now carry the ad the customer last tapped in the 7 days before the lead. This works for ads made in Meta Ads Manager too, on WhatsApp, Instagram and Messenger.
- The AI Agent knows which ad started the chat. It is told the ad's name when known and the ad's own text, so your instructions can say what to do for each ad. It is told not to mention ads to the customer.
- A clearer source name. The lead source for these leads is now called "Click-to-Message ad", Meta's own name for ads that open a chat.
- "Campaign not linked" instead of "No Campaign". A lead that came from an ad whose campaign name is unknown now says so. Campaign and ad names come from connecting your Meta ad account, available on the Growth plan and above.
- New flow variable.
{{ad_campaign_name}}holds the campaign's own name.{{ad_campaign}}keeps its current value.
Numbers that change
- Click-to-WhatsApp report. A lead now counts toward an ad when it is created within 7 days of the chat that came from that ad, Meta's own attribution window for messaging results. Lead counts and lead rates can read lower than before, and cost per lead higher.
- Ads and Ad Rules count each lead once. Some leads were counted twice before. Reports keep crediting a lead to the ad that first brought the customer in; the Leads screens show the ad the customer last tapped.
For API and webhook users
The lead.created webhook and GET /api/v1/leads now include ad_id, ad_name and campaign_id. Two source values change: AI Agent leads from ad chats are now ctwa_ad instead of whatsapp, and AI Agent leads from the website chat widget are now web_chat. If you filter on source, include the new values.