Facebook ads competitive analysis using Gemini and Open AI
Ready for 3.0Ready 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.
Nodes used (10)
- n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - OpenAI
@n8n/n8n-nodes-langchain.openAi - Extract from File
n8n-nodes-base.extractFromFile - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Google Sheets
n8n-nodes-base.googleSheets - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait
What it does
How it works - User submits a keyword through a form to trigger the workflow. - Ads matching the keyword are scraped from Facebook Ads Library. - Ads are filtered by media type (image or video). - Images are analyzed using an AI model to describe visuals and text. - Videos are downloaded, processed, and sent to Gemini for visual and spoken content analysis. - Text, URLs, and media descriptions are compiled. - All ad insights are saved into a Google Sheet for easy viewing. Set up steps - Requires Apify and Gemini API credentials, Google Sheets access, and OpenAI key. - Import the workflow into n8n and connect accounts to form, HTTP, and Sheets nodes. - Provide form trigger URL for user input; no advanced config needed. - Estimated setup time: ~15–20 minutes for a user familiar with n8n. - Sticky notes inside the workflow provide helpful guidance per section.