Facebook Leads to Google Sheets: Real-Time n8n Sync

Key takeaways
- n8n's Facebook Lead Ads Trigger has one event, New lead, and fires in real time when a form is submitted.
- Facebook allows one webhook per app, so testing a published lead workflow means unpublishing, testing and publishing again.
- Reading leads requires the leads_retrieval permission, and Page admins have leads access unless the Leads Access Manager restricts it.
- Using Append or Update Row keyed on the lead ID stops duplicate rows when a lead is processed twice.
- Meta's API can bulk-read past leads by form ID, which lets you backfill leads collected before the workflow existed.
The quickest way to send Facebook leads to Google Sheets in real time is an n8n workflow with two main nodes: the Facebook Lead Ads Trigger, which fires the moment someone submits your instant form, and the Google Sheets node, which writes the lead as a row. Add a Slack alert and a duplicate check and your sales team sees every new lead within seconds, without paying a per-lead connector fee.
This guide builds that workflow step by step, explains the permission and webhook quirks that cause most failures, and shows how to backfill leads you collected before the workflow existed.
Why sync Facebook leads to Google Sheets automatically
Speed is the whole point. A lead who filled in a form a minute ago still remembers your ad; one who waits until someone downloads a CSV on Friday often does not.
Facebook's own Leads Center holds the data, but most small teams live in a shared sheet or a CRM. An automatic sync removes the manual export, keeps one source of truth and lets you trigger follow-ups such as a Slack ping or a welcome email from the same workflow.
| Method | Speed | Cost | Effort |
|---|---|---|---|
| Manual CSV download | Hours or days | Free | Repeated every time |
| Paid connector app | Minutes | Per-lead or monthly fee | Low |
| n8n workflow | Seconds | Server only when self-hosted | About 30 minutes once |
What you need before you start
Have these ready so the build goes in one sitting:
- A Facebook Page with at least one instant form (lead ad form).
- Admin access to that Page, with leads access not blocked in the Leads Access Manager.
- A running n8n instance on HTTPS, either Cloud or self-hosted.
- A Google account and a spreadsheet with a header row.
- Optional: a Slack workspace for alerts.
Set up the sheet headers first. A good starting set: lead_id, created_time, full_name, email, phone, form_name, campaign, status. The lead_id column is the one that keeps your data clean later.
Step 1: Add the Facebook Lead Ads Trigger
Create a new workflow and add the Facebook Lead Ads Trigger. It has one event, New lead, which is exactly what you want.
Create a Facebook Lead Ads credential and sign in with the account that manages the Page. Behind the scenes, Meta requires the leads_retrieval permission to read lead data. Meta's documentation also notes that Page admins have leads access by default, unless a business admin has customised access through the Leads Access Manager. If your company uses Business Manager, check that setting before you blame n8n.
Select the Page and the form you want to sync. If you run several forms, you can build one workflow per form or handle all of them and record the form name in a column.
Step 2: Test without breaking production
Facebook allows only one webhook per app. n8n's trigger uses a test URL while you build and a production URL once published, and switching between them overwrites the registered webhook.
In practice, that means:
- While building, click to listen for a test event and submit a test lead.
- Use Meta's lead ads testing tool to create the test lead, so you do not need to run a live ad.
- Once it works, publish the workflow so the production URL takes over.
- To test again later, n8n's docs suggest unpublishing, testing, then publishing again. Production leads are not captured while the workflow is unpublished, so do this at a quiet hour.
Step 3: Map the lead fields
Add a Set node (Edit Fields) after the trigger to turn Facebook's field names into your column names. This step is optional, but it makes the sheet node simpler and your workflow easier to read later.
Map each form question to a clear field: full_name, email, phone and any custom questions. Keep the lead ID and the created time from the trigger output. Trim spaces and lowercase email addresses here, so duplicates are easier to catch.
A practical tip: if your form asks a custom question like "What is your budget?", rename it to something short such as budget. Long question text makes a terrible column header.
Step 4: Write leads to Google Sheets without duplicates
Add the Google Sheets node and connect your Google credential. Choose Sheet Within Document and the Append or Update Row operation, then pick your spreadsheet and tab.
Set the column to match on as lead_id. Now if the same lead reaches the workflow twice, for example after a retry, n8n updates the existing row instead of adding a copy. Plain Append Row is simpler, but it will happily create duplicates.
Map each field to its column. Leave the status column for your team to fill in, or set it to "New" so you can filter fresh leads.
Step 5: Alert the team in Slack
A sheet nobody looks at does not help. Add a Slack node after the sheet to post a short message to your sales channel.
New lead: {{ $json.full_name }}
Phone: {{ $json.phone }}
Form: {{ $json.form_name }}
Sheet: https://docs.google.com/spreadsheets/d/YOUR_SHEET_ID
Keep personal details in the message to a minimum if the channel is large. A name and a link to the sheet is often enough. If several people share lead duty, add a simple rotation: store the last assigned person in the sheet and mention the next one in each Slack message, so leads never sit unclaimed.
Prefer a ready-made version? Our Facebook leads to Sheets template includes the trigger, mapping, sheet and Slack steps. Import it with our guide to importing n8n templates from JSON.
Optional: send an instant follow-up email
The same workflow can greet each lead before a salesperson even sees the Slack ping. Add an email node after the sheet step and send a short, plain message.
- Thank them by first name and confirm what they asked for.
- Say when and how someone will contact them, for example "by phone within one business day".
- Offer one useful link, such as your price list or booking page.
Keep it short and honest. A quick, human-sounding confirmation sets expectations and cuts no-shows. Avoid stuffing it with offers; the lead asked for one thing, so give them that first.
Use an IF node to skip the email when the address is missing or obviously fake, such as [email protected], so your sending reputation stays healthy.
Step 6: Backfill older leads
The trigger only catches new leads from the moment you publish. For leads collected earlier, use Meta's bulk read.
Meta's Graph API can return all leads for a form with a GET request to the form's leads edge, and for an ad with the ad's leads edge. You can filter by time_created using a Unix timestamp. In n8n, run this once with the Facebook Graph API node or an HTTP Request node, loop through the results and write them with the same Append or Update Row node. Because both paths use lead_id as the key, nothing duplicates.
Measure lead response time
Add a column called first_contact and ask the team to fill it in when they call or message a lead. With created_time already in the sheet, a simple formula shows how long each lead waited. Review the average every week. If it creeps up, the problem is usually process, not software, and the sheet makes that visible.
Troubleshooting common problems
Most failures come down to webhooks, permissions or column names.
| Problem | Likely cause | Fix |
|---|---|---|
| No executions at all | Workflow not published, or test URL replaced production | Publish again and submit a test lead |
| Permission error on the trigger | No leads access for this Page | Check the Leads Access Manager |
| Rows land in the wrong columns | Header names changed in the sheet | Reopen the Sheets node and remap |
| Duplicate rows | Using Append Row | Switch to Append or Update Row on lead_id |
| Custom answers missing | New question added to the form | Add the field in the Set node |
Keep lead data tidy and compliant
Leads are personal data, so a little care goes a long way. Share the sheet only with people who call leads, not the whole company. Add a column for consent or source if your form includes a marketing opt-in, and respect it in any later email sequence. Finally, agree how long you keep old leads and archive the rest, so the sheet does not turn into a years-old list nobody should still be holding.
Where a Google Sheets lead log falls short
Sheets are great for a small team and a few hundred leads a month. They get slow to search, easy to edit by mistake and weak on access control as volume grows.
When that happens, keep the sheet as a log and add a CRM step to the same workflow. Our form to HubSpot and welcome email template shows the pattern. On n8n Cloud each new lead uses one execution, so as of December 2026 the Starter plan's 2,500 executions for EUR 20 a month billed annually covers most small lead flows.
Our recommendation: build the sheet sync today, add the Slack alert, and review response times after two weeks. Faster replies to new leads are usually worth more than any other part of this setup. For more lead and reporting workflows, see how to automate Search Console reports in n8n.
How this was made: researched and written by Mohammad Sayyaf with AI-assisted drafting; steps checked against the linked n8n and Meta documentation as of December 2026.
Frequently asked questions
Do I need a paid tool to send Facebook leads to Google Sheets?
No. n8n has a built-in Facebook Lead Ads Trigger and a Google Sheets node. On a self-hosted n8n instance there is no per-lead fee; you only pay for the server. On n8n Cloud, each new lead uses one execution, so a few hundred leads a month fits comfortably inside the Starter plan's 2,500 executions.
Why is my Facebook Lead Ads Trigger not firing?
Check three things. First, the workflow must be published for the production webhook to work. Second, Facebook allows only one webhook per app, so a recent test may have replaced the production URL. Third, the account behind your credential needs leads access for that Page, which a business admin can restrict through the Leads Access Manager.
How do I stop duplicate leads in Google Sheets?
Store the lead ID that Facebook sends in its own column, then use the Google Sheets node's Append or Update Row operation with that column as the match key. If the same lead arrives twice, n8n updates the existing row instead of adding a new one. This also makes it safe to rerun a failed execution.
Can I get leads that came in before I built the workflow?
Yes. Meta's Graph API supports bulk reading leads by form ID or ad ID, with optional filters on the time they were created. You can run a one-off workflow with the Facebook Graph API node or an HTTP Request node, then write the results to the same sheet using the same lead ID column.
Is Google Sheets a good place to keep leads long term?
It works well as a fast, shared inbox for a small team. As volume grows, sheets become slow to search, easy to edit by mistake and weak on access control. Many teams keep the sheet as a log and send leads on to a CRM from the same n8n workflow once they pass a few hundred a month.
Sources
Put this guide into practice
This Tutorials article on ZeeGrowth is meant to ship with a real workflow, not sit as theory. Open the free template library for a JSON file that matches the process you just read about, or use a browser tool (cron builder, expression helper, UTM builder, webhook tester) while you configure nodes in n8n.
Import the JSON, connect credentials, run one test item, then activate. If you get stuck on auth or hosting, the integrations hub and self-hosting guide cover the usual blockers. Prefer someone else to install it? Template setup help and managed hosting are available, while the templates and tools on this site stay free under the MIT license.
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