FB Ad Spy: AI-Powered Competitor Ad Intelligence & Auto-Video Remixer
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 (15)
- Manual Trigger
n8n-nodes-base.manualTrigger - Filter
n8n-nodes-base.filter - Wait
n8n-nodes-base.wait - HTTP Request
n8n-nodes-base.httpRequest - Google Drive
n8n-nodes-base.googleDrive - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - OpenAI
@n8n/n8n-nodes-langchain.openAi - Google Sheets
n8n-nodes-base.googleSheets - Convert to File
n8n-nodes-base.convertToFile - JWT
n8n-nodes-base.jwt - If
n8n-nodes-base.if - Google Cloud Storage
n8n-nodes-base.googleCloudStorage - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - Split Out
n8n-nodes-base.splitOut
What it does
How it works 1. Scrape ads – Pulls Facebook Ad Library data for "ai automation" keywords using Apify 2. Filter & sort – Filters ads by page likes (>1,000) and separates into videos, images, and text ads 3. Analyze creative – For videos: uploads to Gemini for detailed description. For images: analyzes with GPT-4V. For text: rewrites copy using GPT-4.1 4. Generate new ad – Creates a Veo 3 prompt from the analysis, generates an 8-second video clip, and converts it to 9:16 vertical format 5. Add captions – Overlays rewritten ad copy as captions using Creatomate 6. Log results – Uploads final video to GCS and logs all data (analysis, prompts, URLs) to Google Sheets --- Set up steps 1. API Keys – Set up accounts for Apify, Google Cloud (Gemini + GCS), OpenAI, Shotstack, and Creatomate 2. Credentials in n8n – Add each API key as a credential in your n8n instance 3. Configure variables – Update the SET1 node with your Google Cloud PROJECTID and CLIENTEMAIL 4. Set up Google Sheet – Create a sheet with columns matching the schema (adarchiveid, pagename, summary, rewrittenadcopy, etc.) 5. Test – Execute the workflow to scrape, analyze, and generate a new ad variation