> ## Documentation Index
> Fetch the complete documentation index at: https://docs.newlead.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Meta Lead Ads

> Receive the leads from your Facebook and Instagram lead forms and have the agent write to them on WhatsApp.

Connect the Facebook Page that runs your lead ads, and every person who fills in one of its forms becomes a lead of the agent. The agent then writes to them on WhatsApp with your first-contact template.

> [!NOTE]
>
> The Meta Lead Ads connection has to be enabled for your account first. Contact support before you connect it.

## How it works

* You connect one Facebook Page per agent. The agent collects the Facebook and Instagram forms of that page.
* Leads from every form come in and are saved. Each form has its own switch, and the agent only writes to leads from the forms you switch on.
* The name and phone the person enters in the form go to the lead's details. Once a form is switched on, its questions can also be used as details in the first-contact template.
* In **Conversations**, each arrival from a form is labelled with the form's name, and the lead's details say which form it first came from.
* The conversation goes on WhatsApp, like any lead the agent writes to first.

## Set it up

**1. Open Lead reception**

Open the agent and, in **Setup**, select **Lead reception**. Connect WhatsApp first if you haven't: without it, leads are saved but the agent can't write to them.

**2. Sign in with Facebook**

On the **Meta Ads** card, select **Connect**. In the Facebook window, sign in and grant every permission it asks for.

**3. Pick the page**

In **Select a Facebook Page**, choose the page that receives your lead forms and select **Connect Page**. You need admin access to the page.

**4. Switch on the forms**

Under **Forms**, switch on each form whose leads the agent should write to.

**5. Choose the first message**

If the agent has no first-contact template yet, choose one in **WhatsApp message templates**. Until then, leads from the form come in but the agent doesn't write to them.

## Good to know

* Switching a form off means "don't write to them", not "don't receive them". Its leads still come in, without a first message or follow-ups.
* If the phone already belongs to a lead of the agent, that lead is updated and gets a new first message.
* A lead without a phone is saved, and the agent writes to it once someone adds the phone.
* If the lead is marked **Do not contact**, the first message doesn't go out and the alert "A contact who asked not to be contacted came back" opens.
* If a lead from a form can't be processed, the alert "A contact from an ad failed" opens.
* If you connect the same page to several agents, a form's leads go to the agent where that form is switched on.
* **Change Page** connects a different page. **Disconnect Meta Ads** stops the agent from receiving leads from your forms. Existing leads are not affected.

## Related

* [Lead reception](https://docs.newlead.ai/guide/channels/lead-reception.md)
* [WhatsApp templates](https://docs.newlead.ai/guide/channels/whatsapp-templates.md)
* [Connect WhatsApp](https://docs.newlead.ai/guide/channels/connect-whatsapp.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.