Back to Templates

Generate Social Media Ads with Website Scraping using Gemini & Ideogram AI for FB, IG & Pinterest

Created by

Created by: Malik Hashir || malikx

Malik Hashir

Last update

Last update 2 days ago

Share


Purpose & Audience

This workflow empowers marketing teams, agencies and solopreneurs to instantly generate on-brand, platform-optimized social media ads — without designers or complex setup.

Perfect for:

  • Running performance marketing campaigns
  • A/B testing ad creatives
  • Scaling content for multiple platforms
  • Non-technical users who want AI-powered design

Key Features

Smart Prompt Engineering:
 – Scrapes your provided landing page to auto-extract brand voice, offers, and content
 – Use Gemini AI to craft Ideogram-optimized prompts

Multi-Platform Ad Generation:
Facebook, Instagram & Pinterest.
 – Supports 7 formats:
  • Facebook Feed (1200x630)
  • Facebook Story (1080x1920)
  • Instagram Feed (1080x1080)
  • Instagram Story & Reel (1080x1920)
  • Pinterest Pin (1000x1500)
  • Pinterest Story (1080x1920)

Powered by Ideogram v3 Turbo (Replicate):
 – Public, affordable, around 33 images for $1
 – Understands layout, branding, and text placement
 – ~$0.03/image with $1 free credit

Delivers Directly to Slack:
 – Get all generated ads in your team channel with auto-captions (platform, offer, context)

How It Works (Step-by-Step)

  1. User fills out a simple form with:
     – Business context, offer, brand colors, platform, and desired ad sizes
     – Additional Features: Landing page URL + toggle to scrape & enhance prompt with AI

  2. If enabled, the workflow:
     – Scrapes your website using Firecrawl
     – Sends content + form data to Gemini to generate a professional Ideogram prompt

  3. For each selected dimension, the workflow:
     – Calls Ideogram v3 Turbo on Replicate with the correct aspect ratio
     – Downloads the image from the response URL

  4. All ads are uploaded to Slack with rich captions for easy review & sharing

How to Set Up

Get a Replicate API Token

  1. Sign up at replicate.com
  2. Replace YOUR_REPLICATE_API_TOKEN in all 7 HTTP Request nodes

Create a Slack App

  1. Go to api.slack.com/apps → “Create New App”
  2. Add files:write scope → Install to workspace
  3. Add as OAuth2 credential in n8n

Set Up Firecrawl

  1. Get API key at firecrawl.dev
  2. Create a Header Auth credential with: Authorization: Bearer YOUR_FIRECRAWL_TOKEN

Activate the workflow and share the Form Trigger URL with your team!

Value Proposition

  • Go from idea to ad in 60 seconds — no design skills, no designers, no information sharing, no hassle.
  • This workflow saves hours of manual design work, ensures brand consistency, and leverages cutting-edge AI — all while costing less than $5 for 100 ads.
  • Ideal for agile marketing teams who need speed, quality, and scalability.