Skip to main content

AI-powered social media ad creation with website scraping for FB, IG & Pinterest

Workflow preview

Workflow preview
100%
AI-powered social media ad creation with website scraping for FB, IG & Pinterest preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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. Perfec...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.switch, n8n-nodes-base.httprequest, n8n-nodes-base.slack, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.googlegemini, n8n-nodes-base.set

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Malik Hashir.

Original n8n.io source

1.1 Workflow description

Title
AI-powered social media ad creation with website scraping for FB, IG & Pinterest
Workflow name
AI-powered social media ad creation with website scraping for FB, IG & Pinterest

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.

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.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - 📝 Form Trigger

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.3

Block 2 - 🔀 Route by Dimensions

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 3 - 🎨 FB Feed (1200x630)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - 🎨 FB Story (1080x1920)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - 🎨 IG Feed (1080x1080)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 6 - 🎨 IG Story (1080x1920)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - 🎨 IG Reel (1080x1920)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - 🎨 Pinterest Pin (1000x1500)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - 🎨 Pinterest Story (1080x1920)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - 📤 Send FB Feed

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 11 - 📤 Send FB Story

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 12 - 📤 Send IG Feed

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 13 - 📤 Send IG Story

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 14 - 📤 Send IG Reel

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 15 - 📤 Send Pinterest Pin

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 16 - 📤 Send Pinterest Story

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 17 - Sticky Note11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note12

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 38 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow AI-powered social media ad creation with website scraping for FB, IG & Pinterest
Complexity advanced
Nodes 38
Categories Content Creation, Multimodal AI
Author Malik Hashir
Published 08 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9388/9388.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does AI-powered social media ad creation with website scraping for FB, IG & Pinterest do?

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. Perfec...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.