Automated meta ads analysis with Gemini AI, ScrapingFlash, and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Google Sheets and Google Gemini Chat Model. It also calls api.scrapingflash.com over HTTP.
How it runs
Trigger: On a schedule (every day) (plus 1 other trigger).
- Get URL to scrap (Google Sheets): uses Google Sheets
- Request to scrapingflash.com (HTTP Request): calls api.scrapingflash.com (POST)
- Split all the ads (Split Out): splits a list into separate items
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Limit: keeps the first few items
- Categorise every Meta Ads (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Structured Output Parser
- Add row in Sheet (Google Sheets): append
Services it uses
Other Google Gemini + Google Sheets templates (819)
HTTP calls to: api.scrapingflash.com
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 (10)
- Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Limit
n8n-nodes-base.limit - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
From the author
This workflow acts as your personal AI-powered analyst for Meta Ads. It's pretty straightforward: 1. First, it grabs a list of Facebook Ad Library URLs you want to check out from a Google Sheet. 2. Then, it automatically scrapes the active ads from those…