Templates / Analyze competitor Facebook ads with AI (GPT-4 & Gemini) & email reports

Analyze competitor Facebook ads with AI (GPT-4 & Gemini) & email reports

Needs changes

by SamirLiu ✓ · 1,113 views · created 2025-05-03 · Market Research, AI Summarization

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 to replace before upgrading

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

Nodes used (15)

OpenAI Chat ModelAuto-fixing Output ParserStructured Output ParserAI AgentGmailOpenAI

What it does

Facebook Ads Competitor Creative Analysis & Automated Email Report 📝 What this workflow does This workflow automates the process of competitor creative analysis for Facebook Pages. When a user submits their email and a target Facebook Page URL via a web form, the workflow: - Scrapes the latest image and video Facebook ads from the submitted Page using Apify. - Deduplicates and selects the top 5 image and top 5 video ads for further analysis. - Applies advanced AI analysis: - Uses OpenAI Vision (GPT-4) to analyze image ads. - Uses Google Gemini to analyze video ads. - Aggregates all ad insights and generates a structured, visually engaging creative analytics report. - Sends the report directly to the user’s email with ad previews and detailed creative evaluation. 👥 Who is this for? - Marketers and agencies conducting competitor research on Facebook. - Brand managers who want quick, actionable insights into rival ad creative. - Growth hackers and performance advertisers analyzing top-performing creative trends. - Anyone in need of an automated, AI-based Facebook ad evaluation and reporting tool using n8n. 🎯 What problem does this workflow solve? - Manual ad analysis is time-consuming: Scraping, filtering, and reviewing Facebook competitor ads by hand is labor-intensive. - Creative insight requires expertise: Understanding the message, visuals, and targeting of competitor ads needs marketing/creative skill. - Lack of automated reporting: Easily and visually summarize findings for yourself or stakeholders—without manual collation or formatting. This workflow provides a turnkey, end-to-end solution for competitor creative analysis, combining real ad data with unbiased, AI-driven creative insights in a shareable email format. ⚙️ Setup instructions (About 10-15 minutes) Before using this AI marketing automation tool, you'll need: 1. Add api key to environment variable 2. Add required credentials 🔧 How to Customize This Workflow - Adapt Image/Video Analysis Goals: Modify the prompts or parameters sent to OpenAI Vision and Gemini to suit your specific analysis objectives—e.g., evaluate branding consistency, detect call-to-action effectiveness, or extract emotional tone. - Revise Email Report Design: Customize the formatting, insights, and visuals in the delivered report to match your organization’s standards or stakeholder preferences. - Expand Input Fields: Add more fields to the user-facing form, such as a competitor list, campaign dates, or target audience details, for more granular analysis.

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.