Templates / Facebook ads reporting automation with Facebook Graph API and Google Sheets

Facebook ads reporting automation with Facebook Graph API and Google Sheets

Ready for 3.0

by Jacob ✓ · 869 views · created 2025-07-23 · 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-10-19.

What this workflow does

This workflow has 15 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Google Sheets and Facebook Graph API.

How it runs

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

  1. Add credentials to the Facebook Graph API (Facebook Graph API): uses Facebook Graph API
  2. Get Campaign ID (Google Sheets): uses Google Sheets
  3. Get Campaign from AD Account (HTTP Request): calls an HTTP API
  4. Get Campaign statistics (HTTP Request): calls an HTTP API
  5. Merge: merges the data from its input branches
  6. Code: runs custom JavaScript code
  7. Checking if Campaign have data (If): checks a condition and branches into true / false
  8. Aggregate: combines items into one
  9. Get Only Active Campaign (If): checks a condition and branches into true / false
  10. Update row in sheet (Google Sheets): uses Google Sheets

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

Services it uses

Google SheetsFacebook Graph API

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.

Nodes used (8)

From the author

Facebook Ads Reporting Automation — Automatically Fetch & Sync Campaign Statistics This automation enables you to automatically fetch daily campaign data from Facebook Ads without manual exports. It requires connection to the Facebook Graph API and a Google…

Excerpt from Jacob'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.