# Workflow Trigger: Facebook Lead Form Submitted

The *Facebook Lead Form Submitted* Workflow Trigger will allow you to create a workflow that is triggered by the submission of a Facebook lead form. Contacts who submit a Facebook lead form can be added to a workflow using this trigger. This article will overview how to create a workflow using the *Facebook Lead Form Submitted* Workflow Trigger.

**Step 1:** Start a new workflow or edit an existing one

**Step 2:** Creating and Editing the Trigger

* Click “Add New Workflow Trigger”

{% embed url="<https://lh4.googleusercontent.com/IXw745lvfh6vBOoCmQhbIJxHj01nW9MLeo1vWkBv0AMrzKcF1IsUrEgMHiFGFZuVrtoVP9J90C14AS53lGO1P6HvDYV6aAL-zsOc1ngxhxNkwqhRdSOGx-mbTl-f0BERWvywJZIKu49pqQYRieBz6Ck>" %}

* Select **Facebook Lead Form Submitted** in the **Facebook** section of the Workflow Triggers Menu or use the search feature
* Once selected, the Trigger setup menu will appear where you can customize the Trigger based on your needs for this workflow.
  * (Optional) Rename the Workflow Builder display name under **Workflow Trigger Name**.
* Press **+ Add filters** to bring up the **Filters** option.
* The **In Form** filter lets you specify which Facebook Lead Form will activate this trigger
* You can also filter by **Custom Fields** to only allow contacts that have custom fields applied to them to be added to this workflow
* Without any filters, in its default form, this workflow will trigger any time any contact submits and Facebook lead form
* Press **Save Trigger** in the bottom right corner of the Trigger setup menu

{% embed url="<https://lh3.googleusercontent.com/K5Rn7VrAsBxgMaEUTusAis16sruyDCeuZFcTcMSCEf56xQgzjYtHuq3P8lgEhI2M9glJoskzMIvmtXt96JqGbFFDcy0RZYWxH5XbrC02gvYeo44F_JAwgwivWneYKKAz9sB9dV5a7GGrC7iQxHJqo0g>" %}

**Step 3:** Set up applicable Workflow Action(s). We have multiple articles available to explain the setup of each of the Workflow Actions. Feel free to review our articles on these for more information on setting these up.

***Pro Tip:*** You can use any Workflow Actions to be triggered by the *Facebook Lead Form Submitted* trigger or you can leave this workflow without any actions.

**Step 4:** Press **Save** in the top right corner of your browser to save the workflow

* If your Workflow is ready to be enabled, make sure the toggle switch under **Save** is set to **Publish**
* Be sure to test your Workflow to make sure it is set up correctly using the **Test Workflow** button next to the **Publish** toggle switch.
  * For an in-depth overview of Workflow Testing see our article, “Using the Testing Features in Workflows”

{% embed url="<https://lh4.googleusercontent.com/f1McpGUXfun3xvxBmAWkgx4ivd47cFhIDb55UyYaieZiIDA06j_8VYJ6qfhvPMc65MA8IL3U7HWGcYwvQemYVOuPF8ybnA_lzVkl-B7dk0ZC4NDPBX7iD4iZxA9mjvr_piSB5Shxb17nR8K67-xxpiI>" %}

Now your workflow is set up and ready to go with the *Facebook Lead Form Submitted* Workflow Trigger.


---

# 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://software-help-docs.gitbook.io/knowledge-base/software-guide/workflow-triggers/workflow-trigger-facebook-lead-form-submitted.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.
