# Send Sequence of Messages to Facebook Leads

Let's see how you can use Action in a Workflow to trigger a sequencing of the messages for your Facebook Leads.

1. Go to **Workflow** under the Fb Integration. You click on **Create New Workflow** and select the desired **FB page.** Click on the **Lead Ad Form** that you want to use and then **Pick a Template.**

<figure><img src="https://2022268617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FKKrDNeGcWP1bDX2Yi6Fi%2Ffb5.gif?alt=media&#x26;token=34e4d413-8db0-44b2-a5fe-624372c8b3ef" alt=""><figcaption></figcaption></figure>

2. After selecting the **Template** put appropriate variables like Recipient's Name and phone number.Make sure to map the variables in a right way. Know More about variables here.

<figure><img src="https://2022268617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FHdVsw82Qpko90eOxte0M%2Ffb6.gif?alt=media&#x26;token=c727ccc6-993f-468a-8e18-74c27da83912" alt=""><figcaption></figcaption></figure>

3. Go to **Action** and select the **Action Type** as **Tags** (Choose Update Contact tags) and choose the tag you want to update. Select the **Operation** you want to perform and click on **Create Workflow.**

<figure><img src="https://2022268617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FStcW4jbSsYr3r2dpPC4m%2Ffb7.gif?alt=media&#x26;token=24d630a4-d5ab-4445-b7c2-553b6dee7e3d" alt=""><figcaption></figcaption></figure>

4. Go to Sequence in left navigation and search for the relevant sequence you want the customers to follow.

<figure><img src="https://2022268617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FdtRtD55Tp36CdF2V9Fq1%2Ffbseq.gif?alt=media&#x26;token=7d9e7888-ce2d-4cfd-a119-5ddf957d8006" alt=""><figcaption></figcaption></figure>

5. Select the Trigger as **On create or On update.** Set the conditions as **Tags**, select **Contains** and Pick the tag you have selected in step 03. Then click on Publish & Close.

{% hint style="info" %}
Know more about sequence feature in Gallabox [here](/whatsapp-drip-campaigns/basics-of-drip-campaign.md).
{% endhint %}

<figure><img src="https://2022268617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FEu62GLjTdwDOpnS6esUT%2Ffbseq1.gif?alt=media&#x26;token=d0126b28-d7ce-4aeb-84de-54aecff0ffb9" alt=""><figcaption></figcaption></figure>

***Congratulations! You have successfully added a sequence.***


---

# Agent Instructions: 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:

```
GET https://docs.gallabox.com/integration/marketing-and-engagement-platforms/facebook-leads/send-sequence-of-messages-to-facebook-leads.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
