# Sync Meta Ads insights to Google Sheets: n8n workflow template

> Started by a clock, and works across Google Sheets. 21 steps, 4 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

Source: https://millionrounds.com/workflow/sync-meta-ads-insights-to-google-sheets (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# Sync Meta Ads insights to Google Sheets

Started by a clock, and works across Google Sheets. 21 steps, 4 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fsync-meta-ads-insights-to-google-sheets)

**21 steps** Large: read it before trusting it with anything live

**4** Branches: places the flow splits

**2** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Logic 13 Service 6

The steps in the order they run, from what starts it.

- 1 **Manual Trigger (Historical Backfill)** Manual trigger *Starts it*
- 2 **Schedule Trigger (Incremental)** Schedule trigger *Starts it*
- 3 **Set Date Range (Historical Backfill)** Set *Logic*
- 4 **Set Incremental Range (Last 7 Days)** Set *Logic*
- 5 **Generate Weekly Periods** Code *Logic*
- 6 **Loop Over Periods (Account A)** Split In Batches *Logic*
- 7 **Loop Over Periods (Account B)** Split In Batches *Logic*
- 8 **Fetch Meta Insights (Account A)** Http Request *Service*
- 9 **Fetch Meta Insights (Account B)** Http Request *Service*
- 10 **Valid Response? (Account A)** If *Logic*
- 11 **Valid Response? (Account B)** If *Logic*
- 12 **Split API Response (Account A)** Code *Logic*
- 13 **Log Skipped Period (Account A)** Set *Logic*
- 14 **Split API Response (Account B)** Code *Logic*
- 15 **Log Skipped Period (Account B)** Set *Logic*
- 16 **If Spend not 0 (Account A)** If *Logic*
- 17 **Append to Log Sheet (Account A)** Google Sheets *Service*
- 18 **If Spend not 0 (Account B)** If *Logic*
- 19 **Append to Log Sheet (Account B)** Google Sheets *Service*
- 20 **Append to Sheet (Account A)** Google Sheets *Service*
- 21 **Append to Sheet (Account B)** Google Sheets *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 21, with 4 branches, 2 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Sheets
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Google Sheets account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 21 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fsync-meta-ads-insights-to-google-sheets)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Analyse tender PDFs with LlamaParse and Gemini** 21 steps · Google Sheets, Supabase](https://millionrounds.com/workflow/analyse-tender-pdfs-with-llamaparse-and-gemini)
- [**Automate vendor due diligence research with Gemini and Jina AI** 21 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/automate-vendor-due-diligence-research-with-gemini-and-jina-)
- [**Generate comprehensive client brief reports with Llama** 21 steps · calls a model · Gmail, Google Docs](https://millionrounds.com/workflow/generate-comprehensive-client-brief-reports-with-llama)
- [**Summarize RSS news with Gemini** 21 steps · calls a model · Google Sheets, RSS](https://millionrounds.com/workflow/summarize-rss-news-with-gemini)
- [**Summarize daily news into a Telegram Telegram digest** 21 steps · calls a model · Google Sheets, RSS](https://millionrounds.com/workflow/summarize-daily-news-into-a-telegram-telegram-digest)
- [**Transcribe media URLs to AI-summarized Google Drive notes** 21 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/transcribe-media-urls-to-ai-summarized-google-drive-notes)
