- Home
- Facebook / Meta
- CRM Integrations
- Webhook
How to Send Facebook Lead Ad Leads to Webhook¶
Automatically add Facebook & Instagram Lead Ad leads to your webhook endpoint.
Before You Start¶
- LeadSync account (Business plan or higher)
- Facebook Page with Lead Ads enabled
- An active Facebook Lead Ad campaign
- A URL endpoint that can receive HTTP POST requests
Step 1: Connect Your Facebook Account¶
- Log in to LeadSync
- Go to Ad Accounts > Meta from the left menu
- Click Add a Business Account, or Add a Personal Account if you don't use Meta Business Manager. If you've connected an account before, the buttons are Add Meta Business Account and, on the Personal Accounts tab, Add Personal Account
- Sign in to Facebook and authorize LeadSync
- Your account appears in the table when connected
Step 2: Set Up a Webhook Connection¶
- Go to Connections from the left menu
- Click Add Connection
- Select Webhook from the dropdown
- Enter your Webhook URL (the endpoint that will receive lead data)
- Choose the HTTP Method and Authentication your endpoint expects
- Write your JSON Payload Template, with a
%tag%for each lead field (see Customizing the Payload) - Name your connection (e.g., "Facebook Leads Webhook")
- Click Update connection
Step 3: Connect Your Lead Form¶
- Go to Lead Forms from the left menu
- Click Add Lead Form, then Meta Lead Form
- Select your Page and Lead Form
- Select your Webhook Connection
- Match each form question to a tag from your payload template
- Click Update notification, then Yes, this is correct if asked
Step 4: Test Your Setup¶
On the Lead Forms page, open the three-dot menu on your form's row and click Test Lead. The payload should appear in your webhook endpoint within 1-2 minutes.
Troubleshooting¶
- Can't see your Ad Account? Make sure your Facebook account has admin access to the Page.
- Payload not appearing? Check that the email field is mapped correctly.
- Form not showing? The form must be part of an active or paused campaign.
- Not receiving data? Check that your endpoint returns a 200 status code and accepts POST requests.
Customizing the Payload¶
You can control exactly what JSON your endpoint receives, including a %all_fields% token that sends every lead field automatically. See How Do I Customize the Webhook Payload?.
Connect Facebook / Meta Leads to Webhook
Start syncing leads from your ad platform in under 2 minutes. No credit card required.
Start Free Trial