Marketing · n8n

Automatically Save Facebook Lead Ads Contacts to Google Sheets in Real Time

Every time someone submits a Facebook Lead Ad form, their details are instantly captured and added as a new row in Google Sheets. No more manual CSV exports or missed leads.

difficulty Beginnersetup 30 minresult A live Google Sheet that automatically fills with every new Facebook Lead Ad submission, including name, email, phone, and timestamp.
  1. 1

    Connect the Facebook Lead Ads Trigger

    Add a Facebook Lead Ads Trigger node. In the credentials section, connect your Facebook account via OAuth. Set Page to the Facebook Page running your ads and set Form to the specific lead form you want to capture. This node listens for new submissions automatically.

  2. 2

    Extract and Format Lead Fields

    Add a Set node after the trigger. Create fields to map the incoming data cleanly: set Full Name to {{$json.field_data.find(f => f.name === 'full_name')?.values[0]}}, Email to {{$json.field_data.find(f => f.name === 'email')?.values[0]}}, Phone to {{$json.field_data.find(f => f.name === 'phone_number')?.values[0]}}, and Submitted At to {{$now.toISO()}}. Adjust field name keys to match your exact form fields.

  3. 3

    Append the Lead to Google Sheets

    Add a Google Sheets node set to operation Append Row. Connect your Google account via OAuth. Set Spreadsheet ID to your target sheet and Sheet Name to the tab where leads should land (e.g. Leads). Map the columns: Full Name, Email, Phone, Submitted At to the fields you created in the previous step. Make sure your sheet header row has matching column names.

Frequently asked questions

Do I need a developer or any coding skills to set this up?

No. n8n provides a visual drag-and-drop interface. You just connect your Facebook and Google accounts, point the nodes at your form and spreadsheet, and activate the workflow. No code required.

What happens if Facebook sends a lead while my n8n instance is offline?

Facebook webhooks may not retry missed events if n8n is down. To avoid data loss, use n8n Cloud (which stays online 24/7) or ensure your self-hosted instance has reliable uptime. You can also periodically run a manual Facebook Lead Ads export as a backup.

Can I capture custom questions I added to my lead form?

Yes. In the `Set` node, add extra fields and reference your custom question's internal name from Facebook. You can find each field's internal name in Facebook Ads Manager under your form's Questions section. Add matching column headers in your Google Sheet as well.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.