AI-powered Meta ads analysis & creation with Gemini, GPT-4.1 Mini & Ads Manager
Needs changesWhat 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).
- Fetch All Files (Google Drive): uses Google Drive
- Get Ads to Process (Google Sheets): uses Google Sheets
- Get Settings (Google Sheets): uses Google Sheets
- Get Files Metadata (HTTP Request): calls an HTTP API
- Filter: keeps only the items that match a condition
- Merge: merges the data from its input branches
- Extract File Specs (Edit Fields (Set)): sets or maps fields
- Video or Image Asset (Switch): routes items into branches
- Create Asset (Google Sheets): uses Google Sheets
- Get Video (HTTP Request): calls an HTTP API
…plus 33 more steps. See the full node list below.
Services it uses
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.0 | Replace 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)
- Facebook Graph API
n8n-nodes-base.facebookGraphApi - HTTP Request
n8n-nodes-base.httpRequest - Google Drive
n8n-nodes-base.googleDrive - Google Sheets
n8n-nodes-base.googleSheets - Filter
n8n-nodes-base.filter - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait - AI Agent
@n8n/n8n-nodes-langchain.agent - Switch
n8n-nodes-base.switch - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Merge
n8n-nodes-base.merge - Manual Trigger
n8n-nodes-base.manualTrigger - Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - Edit Fields (Set)
n8n-nodes-base.set
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…