Templates / Extract Meta Ads detailed targeting across all endpoints using Google Sheets

Extract Meta Ads detailed targeting across all endpoints using Google Sheets

Ready for 3.0

by Kirill Khatkevich ✓ · 175 views · created 2026-01-31 · 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 25 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Sheets and Facebook Graph API.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Read Input (Google Sheets) (Google Sheets): uses Google Sheets
  2. Valid rows (ad_account_id + endpoint) (Filter): keeps only the items that match a condition
  3. Switch: routes items into 4 branches
  4. API Search (Facebook Graph API): uses Facebook Graph API
  5. Merge: merges the data from its input branches
  6. API Suggestions (Facebook Graph API): uses Facebook Graph API
  7. Merge: merges the data from its input branches
  8. API Browse (Facebook Graph API): uses Facebook Graph API
  9. Merge: merges the data from its input branches
  10. API Validation (Facebook Graph API): uses Facebook Graph API

…plus 13 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 (9)

From the author

Meta Ads Detailed Targeting Extractor (Universal, Switch by Endpoint) This workflow is a universal automation for all four Meta Detailed Targeting API endpoints: Search, Suggestions, Browse, and Validation. You use a single Google Sheets tab with an endpoint…

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