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

# Send Automated WhatsApp Messages to Facebook Leads

Here’s how to configure and create workflows in 4 steps:

1. Select the **Channel Name** (the WhatsApp number you’re using with BizMagnets) and click **Update Configuration**.

{% hint style="info" %}
**Note**: Once you select the channel, it cannot be changed after integration.
{% endhint %}

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

2. Go to **Workflow** and click **Create New Workflow**. Select the **Lead Ad Form** and choose the template you want to send to your customers.

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

{% hint style="info" %}
If you manage multiple Facebook pages, you can create separate workflows for each page. Similarly, for different lead forms, you can set up distinct workflows under the Facebook Leads Integration.
{% endhint %}

3. Once you’ve selected the template, add the relevant variables, such as the recipient's name and phone number. You can choose a template either from the Template Gallery or from your existing templates.
4. Next, select the **Action Type** from the list of available actions to update contact information or tags, and choose the desired operation.

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

**Note:** This action will be executed alongside the automated message once the lead submits the form.

* Use **Append** to add new information to the contact details.
* Use **Replace** to replace the existing information with new details.
* Use **Add if Empty** if the contact information is missing.

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

5. Finally, click **Create Workflow**.

Once your workflow is created, it will appear in the list. You can create additional workflows by following the same steps.


---

# 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.bizmagnets.ai/integration/marketing-and-engagement-platforms/facebook-leads/send-automated-whatsapp-messages-to-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.
