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
- Add the Facebook Lead Ads block as your trigger.
- Select your Meta Ads Credentials (System User Access Token).
- Enter your Facebook Page ID.
- (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.
- 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
- Log in to your Meta for Developers Dashboard (opens in a new tab) and select your App.
- In the left sidebar, click Add Product and select Webhooks.
- In the Webhooks dropdown, select Page.
- Click Subscribe to this Object.
- Paste the Webhook URL and Verify Token from your InditeAI trigger settings into the Meta modal.
- Click Verify and Save.
- In the list of Page fields, find the
leadgenrow 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.