Templates / AI-powered Meta ads analysis & creation with Gemini, GPT-4.1 Mini & Ads Manager

AI-powered Meta ads analysis & creation with Gemini, GPT-4.1 Mini & Ads Manager

Needs changes

by Daniel Setzermann ✓ · 2,594 views · created 2025-06-05 · Content Creation, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 49 nodes and runs on Google Drive events (plus 1 other trigger). Along the way it connects Facebook Graph API, Google Drive, Google Sheets and OpenAI Chat Model.

How it runs

Trigger: On Google Drive events (plus 1 other trigger).

  1. Fetch All Files (Google Drive): uses Google Drive
  2. Get Ads to Process (Google Sheets): uses Google Sheets
  3. Get Settings (Google Sheets): uses Google Sheets
  4. Get Files Metadata (HTTP Request): calls an HTTP API
  5. Filter: keeps only the items that match a condition
  6. Merge: merges the data from its input branches
  7. Extract File Specs (Edit Fields (Set)): sets or maps fields
  8. Video or Image Asset (Switch): routes items into branches
  9. Create Asset (Google Sheets): uses Google Sheets
  10. Get Video (HTTP Request): calls an HTTP API

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

Services it uses

Facebook Graph APIGoogle DriveGoogle SheetsOpenAI Chat Model

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI Agent (v1.8), AI Agent1 (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.8), AI Agent1 (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (15)

From the author

AI-Powered Meta Ads Creation & Analysis Workflow Overview This comprehensive n8n workflow automates the entire Meta (Facebook/Instagram) advertising process, from asset analysis to ad creation. It combines AI-powered content analysis with automated ad…

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