Transferring leads from Facebook Lead Form to Leeloo.ai using Zapier
Facebook + Leeloo.ai + Zapier allows you to automatically transfer leads from Facebook (for example, Lead Ads) to Leeloo.ai via Zapier. This removes manual export/import and allows you to keep reports of your lead database from advertising on the Leeloo.ai platform.
1. Introduction
What the integration provides:
Automatic transfer of applications from Facebook to Leeloo.ai.
More accurate analytics on lead sources and campaigns.
After read the instructions you will be able to:
Prepare Facebook, Zapier, and Leeloo.ai for integration.
Create a Zap that takes lead data from Facebook Lead Form and sends it to Leeloo.ai creating a client card in the platform's database.
Test data transfer and launch the integration.
Find and fix common connection errors.
2. Key Terms
Term | Explanation |
|---|---|
Facebook Lead Form | Lead generation forms inside Facebook / Instagram. |
Zapier | An automation tool that connects Facebook and Leeloo.ai. |
Zap | A 'trigger → action' sequence inside Zapier. |
Trigger | An event that starts the Zap (e.g., a new lead in Facebook). |
Action | An action performed by the Zap (sending data to Leeloo.ai). |
Webhook | URL where Zapier sends data (if using a webhook). |
3. Before Starting
Required accesses:
Admin rights in Facebook Business Manager (Ad page to create ads with Lead Form).
A Zapier account with the ability to connect Facebook and Webhooks.
Access to Leeloo.ai account with rights to view and copy the API token.
What to prepare in advance:
Prepare a test lead generation form in Facebook (or use an existing one).
Since a recent update, Zapier requires a paid plan to use the Webhook and Facebook Lead Form
4. Step-by-Step Instructions
Step 1. Preparing the Lead Form in Facebook
Open Ads Manager in Facebook.
Create or select an ad campaign set to Lead > Instant Form:
Make sure the form has the necessary fields (name, phone, email, etc.).
Save the form, fine-tune your ad, launch the ad. Wait for data from the Lead Form.
Step 2. Connecting Facebook to Zapier
Log in to your Zapier account.
Click Create and select Zaps.
In the Trigger block, select the app Facebook Lead Ads.
Connect your Facebook account and select:
the required page;
the required form.
Save the settings and run Test trigger, to get a sample lead from Facebook.
Step 3. Setting up the Action to send data to Leeloo.ai
In the Action block, select Webhooks by Zapier → POST.
In the URL field, insert the webhook address:
https://api.leeloo.ai/api/v2/people
Set the Payload Type to JSON.
In the Data section, map the fields:
name→ Name from Facebook.phone→ Phone from Facebook.email→ Email from Facebook.To add fields, click Add value set
The values of the fields you added and labeled are substituted with values from the Lead Form
In the Headers field, insert the value - X-Leeloo-AuthToken
In the Value (left of Headers) field, insert the API token from your Leeloo.AI platform.
You can get the token by following the link:
https://app.leeloo.ai/settings/integrations/leeloo-api
Click Continue to proceed to the test step.
A manual client card was created based on data from the Facebook Lead Form.
Step 4. Launch Zap Automation
Name your created and ready Zap.
Click the Publish button in the top right corner.
You will be redirected to your list of Zaps. The Zap status should be Zap is on
Since the recent update, Zapier requires a paid plan to use Webhook and Facebook Lead Form
5. Common Mistakes
Problem | Cause | Solution |
|---|---|---|
Leads from Facebook do not appear in Leeloo.ai | Zap is not turned on or did not pass the test | Check Zap status (On), rerun Trigger/Action test. |
Empty or truncated data arrives in Leeloo.ai | Field mapping is not configured in Zapier | Double-check fields in the Action block, add all required fields. |
The wrong form/page is received | A different page or form is selected in the Trigger | Select the correct Lead Ads page and form in the Trigger. |
Duplicate leads in Leeloo.ai | Zap is configured multiple times or duplicated | Check if there are multiple Zaps with the same Trigger. |
Leads appear with delay | Processing delay in Facebook / Zapier | This is normal behavior, check again later; for critical delays, check Zapier and Facebook status. |
Incorrect tags/source in Leeloo.ai | Service parameters in the request body are incorrectly specified | Clarify the list of required parameters in Leeloo.ai and correct the Action in Zapier. |