Facebook Lead Forms
Running Facebook or Instagram ads with a lead form? Connect the form to DM Champ and every new lead arrives within seconds, becomes a contact, is handed to your AI agent and gets its first message while they are still looking at your ad. You set it up on the Ads page, no other tools needed.
The Ads page is being rolled out in stages. Ads shows in the sidebar, after Broadcasts, once it is on for your account. Until then, or if you prefer it, you can send leads in through Zapier.
Before you start
- A Facebook Page with at least one lead form (you build lead forms in Facebook Ads Manager when you create an ad with the Leads objective).
- An AI agent to follow up with the leads.
- The channel the first message goes out on, connected in DM Champ: WhatsApp Business, WhatsApp Web, SMS or email.
- For WhatsApp Business, an approved WhatsApp template if you want a first message to go out. See WhatsApp Templates.
- Team members need view access to integrations to open the Ads page, and edit access to integrations to connect forms.
Ask for the phone number with its country code. Lead forms usually include it. A number without one cannot be messaged on WhatsApp or SMS.
Step 1: Connect Facebook
- Open Ads in the sidebar.
- Click Connect with Facebook. A Facebook window opens (allow pop-ups for this site if it does not).
- Sign in with the Facebook login that manages your Page, and allow access to leads for that Page.
- Pick your Ad account and your Page, then click Save.
If the page later shows Facebook has not given access to your lead forms yet, click Reconnect with Facebook and allow access to leads for your Page. Until you do, new leads cannot arrive.
The same connection is used for click-to-message ads.
Step 2: Connect a lead form
- Open the Lead forms tab and click Connect lead form.
- Page: choose the Page the form belongs to.
- Lead forms: pick one or more forms from that Page. Forms that are already connected or archived are marked.
- AI agent: this agent is assigned to every contact created from these forms.
- Channel: where the first message is sent and where the chat continues. The person’s phone number or email comes from the form.
- First message: choose what goes out as soon as the lead arrives.
- On WhatsApp Business: Send a template (pick an approved template) or Do not send anything.
- On WhatsApp Web, SMS or Email: Send a message (your own text) or Do not send anything. Type
{{first_name}}in your text and it becomes the person’s first name. - With Do not send anything, the contact is created and the agent is assigned. The agent answers once the person writes.
- Click Connect.
What happens when a lead comes in
- The lead becomes a contact with their name, phone number and email. The other answers on the form are saved on the contact as custom fields, and the form is shown as the contact’s source.
- If the person is already a contact, that contact is used instead of creating a second one.
- The AI agent you picked is assigned to the contact.
- The first message goes out on the channel you picked. When the person replies, your agent takes over the chat like any other conversation.
- Each lead is handled once, so nobody gets the first message twice.
Managing your lead forms
The Lead forms tab lists every connected form with its Page, AI agent, channel, first message and the number of leads received.
- On: switch it off to stop picking up new leads from that form. Switch it back on at any time.
- Disconnect lead form: new leads from that form are no longer picked up. The form stays on your Page, and contacts already created are kept.
The Leads tab
The Leads tab lists the newest leads from your connected forms and updates by itself. For each lead you see when it arrived, the name, phone, email, the form, what first message went out and a link to Open chat.
| Status | What it means |
|---|---|
| Received | The lead arrived and is waiting to be handled. |
| Working on it | The contact is being created and the first message prepared. |
| Done | The contact was created and handed to the agent. |
| Failed | Something went wrong while handling this lead. |
| Skipped | This lead was not handled, for example because its form is switched off or the lead left no number that can be messaged. |
Test it
- Open Facebook’s Lead Ads Testing Tool.
- Select your Page and your lead form, click Preview form, and fill it in with your own name and phone number or email.
- Submit it. Within seconds the lead appears on the Leads tab, the contact shows up in Chats, and the first message arrives on your phone or in your inbox.
The testing tool has a Delete lead button for clearing test entries afterwards.
Alternative: through Zapier
If the Ads page is not on for your account yet, you can pass leads in through Zapier (or Make or Pabbly) into an automation in DM Champ.
- In DM Champ open Automations, click New automation, and drag the Webhook trigger onto the canvas. It gives the automation its own web address that Zapier can send leads to.
- Copy the web address and the secret, then click Start listening under Listen for incoming webhooks and leave the tab open.
- In Zapier, create a Zap with the trigger Facebook Lead Ads, event New Lead, and pick your Page and form. Run the trigger test with a lead from the Lead Ads Testing Tool.
- Add the action Webhooks by Zapier, event POST (this needs a paid Zapier plan). Paste the web address into URL, add a field for the first name and one for the phone number from the lead, and add a header named
X-Webhook-Secretwith the secret. - Run the test step. The lead appears under the trigger in DM Champ: pick it as the sample.
- Add these steps after the trigger:
- Create contact, filled with the phone number and first name from the lead. An existing contact with that number is used instead of creating a second one.
- Assign AI agent, with the contact from the Create contact step. Switch on Start follow-ups if they don’t reply if you want the agent to chase a lead that goes quiet.
- Send WhatsApp template, with your approved template and the lead’s first name in the first variable. Switch on Add an “If it fails” path and put Send email to my team on it, so a lead with a typo in their number still reaches a person.
- Click Safe run with example data to check it (nothing is sent), then turn the automation on with the Enabled switch and publish the Zap.
Switch on Respect quiet hours in Automation settings if you would rather not message people at night. See Automations for everything these steps can do. If you build with the app’s developer access instead, see API Access.
Next steps
- Run click-to-message ads from the app: ads that open a chat with your business.
- WhatsApp Templates: write and submit the message that greets a new lead.
- Automations: the full list of triggers, steps and settings.