AutomationMart
Home/Browse/Clone & customize competitor Facebook ads with Gemini AI and Apify
n8n

Clone & customize competitor Facebook ads with Gemini AI and Apify

n8nn8n16 modulesv1.0
SlackGoogle DriveFacebookGemini

Nano Banana Ad Cloning System This n8n template demonstrates how to automatically clone and adapt competitor Facebook ads for your own product using AI. Simply provide a Facebook Ad Library URL and your product image, and the workflow scrapes competitor ads, analyzes their design and messaging, then generates new versions featuring your product while maintaining the original ad's style and effectiveness. Use cases Adapt successful competitor ad creatives for your own products Test proven ad fo

At a glance

Clone & customize competitor Facebook ads with Gemini AI and Apify is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Slack, Google Drive, Facebook, Gemini. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Slack, Google Drive, Facebook, Gemini
Modules
16
Price
Free
Version
v1.0
Clone & customize competitor Facebook ads with Gemini AI and Apify workflow diagram

About this workflow

Nano Banana Ad Cloning System This n8n template demonstrates how to automatically clone and adapt competitor Facebook ads for your own product using AI. Simply provide a Facebook Ad Library URL and your product image, and the workflow scrapes competitor ads, analyzes their design and messaging, then generates new versions featuring your product while maintaining the original ad's style and effectiveness. Use cases Adapt successful competitor ad creatives for your own products Test proven ad formats without starting from scratch Quickly produce multiple ad variations based on high-performing competitors Scale ad creative production by leveraging competitor insights A/B test different visual approaches inspired by market leaders Good to know The workflow processes up to 20 ads from the provided Facebook Ad Library URL Gemini's image generation may occasionally flag content as prohibited (workflow handles this automatically) Generated ads maintain the original style while swapping product branding and packaging All competitor reference ads and generated clones are automatically saved to Google Drive Image generation takes approximately 10-30 seconds per ad How it works 1. Form Submission: User submits a Facebook Ad Library URL and uploads their product image 2. Product Processing: The product image is converted to base64 for AI processing 3. Ad Scraping: Apify's Facebook Ad Library Scraper extracts up to 20 ads from the provided URL 4. Iteration Setup: The workflow processes each scraped ad individually 5. Image Download: Each competitor ad image is downloaded and converted to base64 6. Reference Storage: Original competitor ads are uploaded to Google Drive for reference 7. Prompt Generation: Gemini 2.5 Pro analyzes both images and creates detailed instructions for cloning the ad while replacing competitor branding with your product 8. Ad Generation: Gemini 2.5 Flash Image Preview generates the new ad image based on the instructions 9. Content Filter: Checks if generation was blocked for prohibited content 10. Upload & Loop: Successfully generated ads are uploaded to Google Drive, then the workflow moves to the next ad How to use 1. Click the form trigger URL to access the submission form 2. Enter a Facebook Ad Library URL (e.g., from a competitor's page showing active ads) 3. Upload your product image with clear branding and packaging 4. Submit the form and wait for processing to complete 5. Find your cloned ads and reference images organized in Google Drive folders 6. Review generated ads and select the best performers for your campaigns Requirements Apify account for Facebook Ad Library scraping Google Gemini API account for ad analysis and image generation Google Drive account for storing reference ads and generated clones Valid Facebook Ad Library URL with accessible ads Customizing this workflow Adjust the number of ads scraped in the scrapeads node (currently set to 20 per source) Modify the prompt instructions in buildprompt node to emphasize different aspects (e.g., color schemes, layouts, text placement) Change the Google Drive folders in uploadadreference and uploadimage nodes to organize by campaign or product line Add text overlay generation to include custom headlines or CTAs on generated images Implement quality scoring to automatically filter and rank generated ad variations Add Slack/email notifications when ad generation completes or fails Include metadata extraction to capture ad copy and targeting insights from scraped adsRetryClaude does not have the ability to run the code it generates yet.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Resume screening & candidate routing with OpenAI, Jotform, and Google Sheets

Revolutionize your recruitment process with intelligent AI-driven candidate screening that evaluates resumes, scores applicants, and automatically routes them based on fit - saving 10-15 hours per week on initial screening. 🎯 What This Workflow Does Transforms your hiring pipeline from manual resume review to intelligent automation: 1. 📝 Captures Applications - Jotform intake with resume upload 2. 🤖 AI Resume Analysis - OpenAI parses skills, experience, education, and red flags 3.

Free

One-way sync between Telegram, Notion, Google Drive, and Google Sheets

One-way sync between Telegram, Notion, Google Drive, and Google Sheets Who is this for? This workflow is perfect for productivity-focused teams, remote workers, virtual assistants, and digital knowledge managers who receive documents, images, or notes through Telegram and want to automatically organize and store them in Notion, Google Drive, and Google Sheets—without any manual work. What problem is this workflow solving? Managing Telegram messages and media manually across different

Free

Send Slack messages for overdue Innform assignments

Every time there is a new assignment is overdue in Innform, Make will automatically send a notification message via Slack.

Free

Route and nurture financial services leads with OpenAI, Gmail and Google Sheets

Financial services lead magnet with Lovable/Base44 and n8n Automatically route and nurture leads for Business Funding, Life Insurance, Credit Repair, and Agent Recruitment with hyper-personalized AI-generated emails. How it works 1. Lead Capture via Webhook Your landing page submits lead data (name, email, phone, interest, service-specific details) to the workflow webhook. 2. Intelligent Routing by Interest Switch node routes leads to the appropriate path based on their selected service interest

Free

Gmail smart auto-responder with GPT-4o and Google Drive context memory

Advanced Gmail AI Auto-Responder with Context Intelligence The next-generation email automation that knows your communication style, remembers conversations, and responds with human-like intelligence. 🚀 What Makes This Advanced? Unlike basic AI email responders, this workflow creates contextually intelligent responses by: 📄 Reading your communication profile from Google Drive 🧠 Remembering full conversation history with vector embeddings 🎯 Understanding context from previous emails in the thread

Free

Upload new Google Drive files to Citrix ShareFile

Every time you upload a new file to Google Drive, Make will automatically copy that file to Citrix ShareFile.

Free

Search & enrich: Smart keyword analysis with Decodo + OpenAI GPT-4.1-mini

Disclaimer Please note - This workflow is only available on n8n self-hosted as it's making use of the community node for the Decodo Web Scraping This workflow automates intelligent keyword and topic extraction from Google Search results, combining Decodo’s advanced scraping engine with OpenAI GPT-4.1-mini’s semantic analysis capabilities. The result is a fully automated keyword enrichment pipeline that gathers, analyzes, and stores SEO-relevant insights. Who this is for This workflow is ideal fo

Free

Automate Job Opportunity Digests with OpenRouter GPT-5 and Email

n8n Forum Job Aggregator - AI-Powered Email Digest Overview Automate your n8n community job board monitoring with this intelligent workflow that scrapes, analyzes, and delivers opportunities straight to your inbox. Perfect for freelancers, agencies, and developers looking to stay on top of n8n automation projects without manual checking. How It Works 1. Scrapes the n8n community job board to find new postings from the last 7 days 2. Extracts key metadata including job titles, descriptions, posti

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free