π¬ AI-powered social media ad creation with website scraping for FB, IG & Pinterest
β‘ 385 views Β· π¬ Content Creation & Video
π‘ Pro Tip β HTTP Request scraping tends to break when sites update their markup. If youβre scraping a major platform, check if ScraperNode covers it β it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.
Description
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)
-
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
-
If enabled, the workflow: ββ Scrapes your website using Firecrawl ββ Sends content + form data to Gemini to generate a professional Ideogram prompt
-
For each selected dimension, the workflow: ββ Calls Ideogram v3 Turbo on Replicate with the correct aspect ratio ββ Downloads the image from the response URL
-
All ads are uploaded to Slack with rich captions for easy review & sharing
How to Set Up
Get a Replicate API Token
- Sign up at replicate.com
- Replace YOUR_REPLICATE_API_TOKEN in all 7 HTTP Request nodes
Create a Slack App
- Go to api.slack.com/apps β βCreate New Appβ
- Add files:write scope β Install to workspace
- Add as OAuth2 credential in n8n
Set Up Firecrawl
- Get API key at firecrawl.dev
- 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.
Available Models: Customization Option
If youβre comfortable with low-code tools and want to use any other model from the hundreds available at Replicate (https://replicate.com/explore), youβre welcome to do so. Simply update your βPOSTβ request to match the specific schema of the chosen model, and youβre all set. Donβt worry about the schema detailsβReplicate provides clear, easy-to-follow documentation for each model. Some models are free with limited quotas, while others require payment. Overall, it offers the most comprehensive library of image models available.
π Nodes Used
HTTP Request, Slack, n8n Form Trigger, Google Gemini
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File