Transferring leads from Facebook Lead Form to Leeloo.ai using Zapier

Transferring leads from Facebook Lead Form to Leeloo.ai using Zapier

UA

image-20240611-123449.png

US

image-20240611-123805.png

RU

image-20240611-131051.png

UA

image-20240611-123449.png

US

image-20240611-123805.png

RU

image-20240611-131051.png

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

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

  1. Open Ads Manager in Facebook.

  2. Create or select an ad campaign set to Lead > Instant Form:

    image-20251122-123323.png
  • Make sure the form has the necessary fields (name, phone, email, etc.).

    image-20251122-123505.png
  1. Save the form, fine-tune your ad, launch the ad. Wait for data from the Lead Form.


Step 2. Connecting Facebook to Zapier

  1. Log in to your Zapier account.

  2. Click Create and select Zaps.

    image-20251122-123846.png
  3. In the Trigger block, select the app Facebook Lead Ads.

    image-20251122-124527.png
  4. Connect your Facebook account and select:

    • the required page;

      image-20251122-124608.png
    • the required form.

      image-20251122-124641.png
  5. Save the settings and run Test trigger, to get a sample lead from Facebook.

    image-20251122-124711.png

Step 3. Setting up the Action to send data to Leeloo.ai

  1. In the Action block, select Webhooks by Zapier → POST.

image-20251122-124802.png
image-20251122-124847.png
  1. In the URL field, insert the webhook address:

    https://api.leeloo.ai/api/v2/people
image-20251122-125451.png
  1. Set the Payload Type to JSON.

image-20251122-125529.png
  1. 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

image-20251122-125758.png
  • The values of the fields you added and labeled are substituted with values from the Lead Form

image-20251122-131401.png
  1. In the Headers field, insert the value - X-Leeloo-AuthToken

  2. In the Value (left of Headers) field, insert the API token from your Leeloo.AI platform.

    1. You can get the token by following the link:
      https://app.leeloo.ai/settings/integrations/leeloo-api

image-20251122-130336.png
  1. Click Continue to proceed to the test step.

A manual client card was created based on data from the Facebook Lead Form.

image-20251122-131723.png

Step 4. Launch Zap Automation

  1. Name your created and ready Zap.

image-20251122-132025.png
  1. Click the Publish button in the top right corner.

image-20251122-132200.png
  1. You will be redirected to your list of Zaps. The Zap status should be Zap is on

image-20251122-132533.png

Since the recent update, Zapier requires a paid plan to use Webhook and Facebook Lead Form


5. Common Mistakes

Problem

Cause

Solution

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.