Skip to main content

Generate and publish SEO blog posts to WordPress with Gemini and DALL-E 3

Workflow preview

Workflow preview
100%
Generate and publish SEO blog posts to WordPress with Gemini and DALL-E 3 preview
Open on n8n.io

1. Workflow Overview

Quick overview This workflow receives a blog generation request via webhook, uses Google Gemini to write a full SEO optimized post, generates a featured image with DALL E 3, and automatically publi...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.webhook, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.googlegemini, n8n-nodes-base.openai, n8n-nodes-base.httprequest, n8n-nodes-base.wordpress, n8n-nodes-base.telegram

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate and publish SEO blog posts to WordPress with Gemini and DALL-E 3
Workflow name
Generate and publish SEO blog posts to WordPress with Gemini and DALL-E 3

Quick overview

This workflow receives a blog generation request via webhook, uses Google Gemini to write a full SEO-optimized post, generates a featured image with DALL-E 3, and automatically publishes the completed post to WordPress with a Telegram notification.

How it works

  1. A webhook receives the blog generation request containing the keyword and target audience fields.
  2. The Set Blog Input Fields node normalizes and extracts the incoming request data for use across the workflow.
  3. Gemini SEO Outline Generator creates an SEO-optimized structure including title, meta description, URL slug, H2/H3 headings, and a DALL-E image prompt.
  4. Gemini Blog Writer uses the outline to write a complete 900 to 1200 word blog post in clean HTML format with proper heading tags.
  5. DALL-E 3 generates a unique high-quality featured image using the prompt produced by Gemini.
  6. The AI-generated image is downloaded and uploaded to the WordPress Media Library via the WordPress REST API.
  7. The complete blog post is published to WordPress with the featured image attached, then a Telegram notification is sent with the live post link.

Setup

  1. Add your Google Gemini API key as a credential in n8n — this is used by both the Gemini SEO Outline Generator and Gemini Blog Writer nodes. Get it free at aistudio.google.com.
  2. Add your OpenAI API key as a credential in n8n — this is used by the Generate Image with DALL-E node. Get it at platform.openai.com.
  3. In WordPress go to Users → Profile → Application Passwords → Add New → copy the generated password.
  4. In the Post Image to WordPress node replace YOUR_WORDPRESS_SITE_URL, YOUR_WP_USERNAME, and YOUR_WP_APP_PASSWORD with your actual WordPress site values.
  5. Add your WordPress site URL and Application Password as a WordPress credential in n8n — used by the Publish Blog to WordPress node.
  6. Create a Telegram bot via @BotFather, get your Chat ID from @userinfobot, add the bot token as a Telegram credential in n8n, and replace YOUR_TELEGRAM_CHAT_ID in the Notify via Telegram node.

Requirements

  • Google Gemini API key — free tier available at aistudio.google.com
  • OpenAI API key with DALL-E 3 access — platform.openai.com
  • WordPress site with REST API enabled and Application Password created
  • Telegram Bot Token and Chat ID — optional, delete the Notify via Telegram node if not needed

Customization

  • Edit the Gemini SEO Outline Generator prompt to change heading depth, add schema markup instructions, or request a specific number of H2 sections
  • Edit the Gemini Blog Writer prompt to change tone — replace professional with casual, technical, or humorous — or adjust word count targets
  • Change the DALL-E image style by editing the image_prompt field — try flat design illustration, watercolor, minimalist, or 3D render
  • Change the WordPress post status in the Publish Blog to WordPress node from publish to draft to review before going live
  • Add a Google Sheets node after the Notify via Telegram node to log all published posts with keyword, URL, and publish date

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 - Sticky Note

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

Block 2 - Sticky Note1

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

Block 3 - Sticky Note2

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

Block 4 - Sticky Note3

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

Block 5 - Sticky Note4

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

Block 6 - When Blog Request Received

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 7 - Set Blog Input Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3

Block 8 - Gemini SEO Outline Generator

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 9 - Set Parsed Outline Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3

Block 10 - Gemini Blog Writer

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 11 - Set Blog Content Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3

Block 12 - Generate Image with DALL-E

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

Block 13 - Set DALL-E Image URL

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3

Block 14 - Fetch DALL-E Image

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

Block 15 - Post Image to WordPress

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

Block 16 - Publish Blog to WordPress

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

Block 17 - Notify via Telegram

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

3. Summary Table

Workflow Generate and publish SEO blog posts to WordPress with Gemini and DALL-E 3
Complexity advanced
Nodes 17
Categories Content Creation, Multimodal AI
Author Muhammad Adeel
Published 02 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16062/16062.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 Generate and publish SEO blog posts to WordPress with Gemini and DALL-E 3 do?

Quick overview This workflow receives a blog generation request via webhook, uses Google Gemini to write a full SEO optimized post, generates a featured image with DALL E 3, and automatically publi...

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.