Skip to main content

Generate blog posts from keywords to Webflow

Workflow preview

Workflow preview
100%
Generate blog posts from keywords to Webflow preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Who's it for Content marketers and SEO specialists who need to generate multiple SEO optimized articles targeting keyword variations. Ideal for affiliate sites, niche blogs, or service based busine...

Best for

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

Tools used

@n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.splitinbatches, n8n-nodes-base.if

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate blog posts from keywords to Webflow
Workflow name
Generate blog posts from keywords to Webflow

Who's it for

Content marketers and SEO specialists who need to generate multiple SEO-optimized articles targeting keyword variations. Ideal for affiliate sites, niche blogs, or service-based businesses creating location/product-specific landing pages.

How it works

This workflow automates bulk content creation from keyword list to Webflow draft:

  1. Loads keywords from Google Sheets with structured format (main keyword + slug)
  2. AI generates articles - Creates 600+ word content following SEO best practices
  3. Creates custom images - Calls a sub-workflow using Gemini 2.5 Flash to generate relevant featured images
  4. Quality validation - Ensures minimum word count; expands content if needed
  5. HTML conversion - Transforms markdown to Webflow-ready HTML
  6. Result tracking - Logs success/errors to separate Google Sheets

The workflow includes automatic content expansion, error handling, and uses a separate sub-workflow as a tool for AI image generation.

Important: The subworkflow should be created as an individual one. Then, in the Agent Tool node, you need to select it as the tool. DON'T try to run it inside the same workflow.

Requirements

  • OpenAI API key (for content generation)
  • OpenRouter API key or similar (for Gemini image generation via sub-workflow)
  • Google Sheets with three tabs: keywords, content_created, webflow_error_logs
  • Webflow site with CMS collection configured
  • Google Drive folder for image storage
  • Companion workflow: "AI image generation for automatic content creation" (imported separately and called as a tool)

How to set up

1. Import both workflows separately:

  • Main workflow: "Bulk SEO content generation and Webflow draft creation with AI images"
  • Sub-workflow: "AI image generation for automatic content creation"

2. Configure your Google Sheet with the recommended structure
Required sheets:

  • keywords: id, main keyword, head terms, modifiers, slug, status
  • content_created: id, slug, meta description, content, generatedAt, updated on
  • webflow_error_logs: keyword, error, timestamp, status

3. Add API credentials:

  • OpenAI API
  • OpenRouter API with Gemini access or similar (for image generation)
  • Webflow OAuth2 API (see Webflow setup instructions in sticky note)
  • Google Sheets
  • Google Drive

4. Update workflow configuration:

  • Google Sheets: Update document IDs in all Google Sheets nodes
  • Webflow: Set your Site ID and Collection ID in Create/Update Post nodes
  • Google Drive: Set folder ID in the image generation sub-workflow
  • AI Image Tool: Verify the "AI Image Generation Tool1" node points to your imported sub-workflow

5. Test with a single keyword:

6. Schedule for production:

  • Enable the Schedule Trigger (currently set to monthly)

How to customize

Content customization:

  • Adjust article length in AI Agent prompt (currently 600-800 words)
  • Modify article structure/sections in the system prompt
  • Change content tone by editing the AI Agent system message
  • Add/remove content sections in the prompt template

Image customization:

  • Change AI model in sub-workflow (currently Gemini 2.5 Flash)
  • Modify image style/prompt in the AI Image Generation Tool parameters
  • Update Google Drive destination folder

Webflow customization:

  • Add custom CMS fields by updating Create/Update Post nodes
  • Modify field mappings to match your Webflow collection structure
  • Change draft behavior or add auto-publish logic

Workflow behavior:

  • Adjust batch size in Loop Over Items node
  • Modify quality threshold (currently 600 words minimum)
  • Change error handling/retry logic
  • Update scheduling frequency in Schedule Trigger

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 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 2 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 3 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 4 - Sticky Note

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

Block 5 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 6 - Load Pending Keywords

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 7 - Loop Over Items

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

Block 8 - Content Quality Check

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

Block 9 - Process Agent Output

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

Block 10 - Expand Content

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 11 - Format Agent Output

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

Block 12 - Merge Content Paths

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 2.1

Block 13 - Convert to HTML

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

Block 14 - Create New Post

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

Block 15 - Check Success

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

Block 16 - Mark as Complete

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 17 - Log Error

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

Block 18 - Save Success Results

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 19 - Save Error

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 20 - Wait a few seconds

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 21 - Sticky Note1

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

Block 22 - Sticky Note2

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

Block 23 - Sticky Note3

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

Block 24 - Sticky Note4

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

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

3. Summary Table

Workflow Generate blog posts from keywords to Webflow
Complexity advanced
Nodes 47
Categories Content Creation, Multimodal AI
Author Dahiana
Published 02 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9191/9191.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 blog posts from keywords to Webflow do?

Who's it for Content marketers and SEO specialists who need to generate multiple SEO optimized articles targeting keyword variations. Ideal for affiliate sites, niche blogs, or service based busine...

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.