> For the complete documentation index, see [llms.txt](https://docs.gallabox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gallabox.com/integration/marketing-and-engagement-platforms/facebook-leads.md).

# Facebook Leads

With Gallabox, you can easily connect your Facebook pages and your WhatsApp Business accounts to use Gallabox's automation features like sending messages to new leads and customers.

To use the FB Leads integration, simply connect your Facebook page to Gallabox and create a lead ad. When someone submits their information through the ad, Gallabox will automatically create a contact for them in your Gallabox account and send them a message.

### Connect your Fb Leads in 3 easy steps!

1. Go to **Integration** in the left navigation of Gallabox. Hover on **Facebook Leads** from the list of applications available and click on Connect.

<figure><img src="/files/mjyTQCz1KEnqEInttZ3H" alt=""><figcaption></figcaption></figure>

2. Provide the Integration a name and click on **Continue with Facebook**.

<figure><img src="https://2022268617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FqlXsA6x2Vm9pc6Y9n0jV%2Ffb1.gif?alt=media&#x26;token=2562d120-abaf-4459-a34d-17cd608a33a2" alt=""><figcaption></figcaption></figure>

3. Select the **Facebook page** you want to connect with Gallabox and Click **next.** Turn required permissions on for Gallabox and Click **Done.** Make sure you have admin access to the company's Facebook Business Page.

<figure><img src="https://2022268617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FTLfj6LK8L6w3hsYg8A6q%2Ffb3.gif?alt=media&#x26;token=1a023d74-b1f2-472d-a52f-5f392f34388c" alt=""><figcaption></figcaption></figure>

***Congratulations! You have successfully integrated your Facebook page to Gallabox.*** Make sure to create a test lead before sending out the messages on WhatsApp.

{% hint style="warning" %}
Make sure to create a test lead before sending out the messages on WhatsApp.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.gallabox.com/integration/marketing-and-engagement-platforms/facebook-leads.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
