Skip to content
ZeeGrowth logozeegrowth
Tutorials·

Send Facebook Lead Ads to Google Sheets With n8n

M
Mohammad Sayyaf

Founder, ZeeGrowth

The problem with Facebook Lead Ads

Facebook Lead Ads are great for collecting leads without sending people to a landing page. But the leads sit inside Facebook Ads Manager, and most businesses do not check it frequently enough. By the time you export the CSV and follow up, the lead has cooled off.

The solution: automatically send every lead to a Google Sheet (and optionally to Slack or your CRM) the moment they submit the form.

What you need

An n8n instance, a Facebook Page running Lead Ads, a Meta Developer App with Leads Retrieval permissions, a Google Sheet, and about 15 minutes.

Step 1: Create a Meta App

Go to developers.facebook.com, click Create App, select the Business type, add the Webhooks and Facebook Login products. Under Webhooks, subscribe to the leadgen topic for your Page.

Step 2: Generate a Page Access Token

Go to the Graph API Explorer in your Meta App, select your app and your Page, generate a User Token with the leads_retrieval and pages_manage_metadata permissions, and exchange it for a long-lived token. For a non-expiring token, create a System User in Business Settings.

Step 3: Set up the n8n workflow

Download the Facebook Leads to Sheets template and import it into n8n. The workflow has 5 nodes: Webhook (receives the leadgen event), HTTP Request (fetches the form data using the lead ID), Set (maps form fields to spreadsheet columns), Google Sheets (appends the row), and Slack (sends a notification).

Step 4: Subscribe to the webhook

In your Meta App's Webhooks settings, set the callback URL to your n8n Webhook URL, set the verify token, and subscribe to the leadgen field under the Page object.

Step 5: Prepare your Google Sheet

Create a Google Sheet with columns matching your Lead Ad form fields: Timestamp, Full Name, Email, Phone, Campaign.

Step 6: Test

Use Meta's Lead Ad testing tool to submit a test lead. Check your Google Sheet — the lead should appear within seconds.

Extending the workflow

Add Slack notifications so your sales team sees new leads instantly. Add a CRM node to create contacts in HubSpot, Salesforce or Pipedrive. Chain the AI Lead Enrichment and Scoring template to research and score each lead automatically. Add a Gmail node for instant thank-you emails.

Troubleshooting

Leads do not arrive: Check that the Webhook is active and accessible from the internet, and that the Meta webhook subscription is verified.

Missing form fields: Check the raw webhook data in n8n's execution log and adjust the Set node mappings.

Token expired: Regenerate it or switch to a System User token that does not expire.

Why not use Zapier?

Zapier charges per lead (each lead is a task). If your Lead Ads generate 500 leads per month, that is 500 Zapier tasks. With n8n, the cost is a flat $5/month for self-hosted, no matter how many leads come in.

Related templates

Want us to set it up for you?

We install the workflow on your n8n instance, connect credentials, and leave you with a running automation.

Get setup help

Free n8n automations that grow your business.