Workflows
Blocks
Triggers
Facebook Lead Ads Trigger

Facebook Lead Ads Trigger

The Facebook Lead Ads trigger fires your workflow in real-time the exact moment a user submits a Lead Generation form on your Facebook or Instagram ads.

Setup Guide

Because this trigger uses Meta's real-time Webhooks API, setup involves a quick configuration step in your Meta App Dashboard.

Your InditeAI application must have a verified Meta App associated with your business.

Step 1: Add the Trigger to your Workflow setup
  1. Add the Facebook Lead Ads block as your trigger.
  2. Select your Meta Ads Credentials (System User Access Token).
  3. Enter your Facebook Page ID.
  4. (Optional) Enter a specific Lead Form ID if you only want this workflow to trigger for one specific ad form. Leave it blank to listen to all forms on the Page.
  5. In the settings panel, under Step 3, you will see a unique Webhook URL and a Verify Token. Keep these handy.
Step 2: Configure Meta Webhooks
  1. Log in to your Meta for Developers Dashboard (opens in a new tab) and select your App.
  2. In the left sidebar, click Add Product and select Webhooks.
  3. In the Webhooks dropdown, select Page.
  4. Click Subscribe to this Object.
  5. Paste the Webhook URL and Verify Token from your InditeAI trigger settings into the Meta modal.
  6. Click Verify and Save.
  7. In the list of Page fields, find the leadgen row and click the Subscribe button on the right.

Note: Your Facebook Page must grant the App permissions to receive leadgen events, which may involve Page Admin approval in your Meta Business Settings.


Extracting Lead Data

When a user submits the form, Meta pushes the data to InditeAI instantly.

In the Step 4 — Save Lead Fields to Variables section of the trigger settings, you can map the answers provided by your leads into variables for use later in the workflow.

Available Fields:

  • Full Name, Email, Phone, City, Company, Job Title
  • Metadata: Lead ID, Ad ID, Form ID, Created Time
  • Full Data: The complete JSON response from Facebook, including custom questions.

Example Use Cases

  • Send an instant Slack/Teams notification to your sales team with the lead's contact info.
  • Automatically drop the prospect into a Mailchimp or HubSpot nurture sequence.
  • Add the lead to a Google Sheet for aggregated tracking.
Indite Documentation v1.6.0
PrivacyTermsSupport