Templates / Sync Meta Ads insights to Google Sheets with backfill and weekly ETL

Sync Meta Ads insights to Google Sheets with backfill and weekly ETL

Ready for 3.0

by Muh Resky Adiansyah ✓ · 137 views · created 2026-04-04 · Market Research

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 21 nodes and runs on a schedule (every 7 days) (plus 1 other trigger). Along the way it connects Google Sheets. It also calls graph.facebook.com over HTTP.

How it runs

Trigger: On a schedule (every 7 days) (plus 1 other trigger).

  1. Set Incremental Range (Last 7 Days) (Edit Fields (Set)): sets or maps fields
  2. Set Date Range (Historical Backfill) (Edit Fields (Set)): sets or maps fields
  3. Loop Over Periods (Account A) (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Loop Over Periods (Account B) (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Generate Weekly Periods (Code): runs custom JavaScript code
  6. Fetch Meta Insights (Account A) (HTTP Request): calls graph.facebook.com
  7. Fetch Meta Insights (Account B) (HTTP Request): calls graph.facebook.com
  8. Valid Response? (Account A) (If): checks a condition and branches into true / false
  9. Valid Response? (Account B) (If): checks a condition and branches into true / false
  10. Split API Response (Account A) (Code): runs custom JavaScript code

…plus 9 more steps. See the full node list below.

Services it uses

Google Sheets

HTTP calls to: graph.facebook.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (8)

From the author

Meta Ads Insights to Google Sheets (Backfill & Weekly Sync ETL) This workflow provides a structured way to extract Meta Ads performance data and store it in Google Sheets for reporting, dashboarding, or further analysis. It is designed as a lightweight,…

Excerpt from Muh Resky Adiansyah's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.