Skip to main content

Generate and publish SEO blog posts from Google Sheets to Webflow with OpenAI

Workflow preview

Workflow preview
100%
Generate and publish SEO blog posts from Google Sheets to Webflow with OpenAI preview
Open on n8n.io

1. Workflow Overview

Who it's for This n8n workflow is designed for SEO managers , content creators , and blog administrators who want to automate their blog publishing pipeline. The workflow creates an end to end AI p...

Best for

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

Tools used

n8n-nodes-base.scheduletrigger, @n8n/n8n-nodes-langchain.outputparserautofixing, n8n-nodes-base.executeworkflow, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.splitinbatches, n8n-nodes-base.webflowtool, @n8n/n8n-nodes-langchain.outputparserstructured

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate and publish SEO blog posts from Google Sheets to Webflow with OpenAI
Workflow name
Generate and publish SEO blog posts from Google Sheets to Webflow with OpenAI

Who it's for

This n8n workflow is designed for SEO managers, content creators, and blog administrators who want to automate their blog publishing pipeline. The workflow creates an end-to-end AI-powered system that can fetch content ideas from a Google Sheet, scrape existing competitor URLs, analyze SEO structure, generate high-quality articles, validate SEO scores, create thumbnail images, and automatically publish the final content to Webflow.

Features

  • Automated Content Scheduling – Runs every 2 hours (or manually) to process pending blog ideas from Google Sheets.
  • HTML Scraping & Cleaning – Fetches competitor URLs and removes headers, scripts, and iframes to get clean content.
  • AI SEO Structure Analysis – Uses gpt-4.1-mini to extract key sections and SEO bullet points.
  • AI Content Writer – Uses o4-mini to rewrite articles with proper SEO, H2/H3 tags, and keyword optimization.
  • Output Parser Fixing – Ensures the AI always returns clean, structured JSON (article + summary).
  • Internal Linking – Pulls existing Webflow posts and adds relevant internal links automatically.
  • SEO Validation – Checks SEO scores via sub-workflow before publishing.
  • AI Thumbnail Generation – Creates a 16:9 cover image based on the article topic using DALL·E.
  • Auto-Publishing – Publishes content to Webflow CMS with title, image, article, summary, and read time.
  • Sheet Update – Marks the processed row as “Completed” in Google Sheets.
  • Error Notifications – Sends alerts via Slack, Discord, Teams, Telegram, and WhatsApp if something fails.

Requirements

  • OpenAI API Credentials: For powering the content writer (o4-mini), structure analyzer (gpt-4.1-mini), prompt generator (o4-mini), and image generation (DALL-E 3).
  • Google Sheets API: For reading pending blog ideas and updating their completion status.
  • Webflow OAuth2 API: For fetching existing posts (for internal linking) and publishing new CMS items.
  • n8n Sub-Workflow: A secondary workflow ID (7FHTcSuCIjHvvBfe) is called to evaluate the SEO score percentages of the generated content.
  • Communication Platform Credentials (Optional but recommended): API tokens for Slack, Discord, Microsoft Teams, Telegram, and Rapiwa for error notifications.
Configure Credentials
  • OpenAI API: Ensure your account has access to o4-mini, gpt-4.1-mini, and DALL-E 3 models.
  • Google Sheets: Configure with read/write permissions for the specific spreadsheet and tab (Blogs (ideas)).
  • Webflow API: Set up OAuth2 with access to the specific Site ID and Collection ID where your blog is hosted.
  • Error Channels: Add your specific Channel IDs, Chat IDs, and phone numbers to the respective notification nodes.

Important Notes

  • Content Looping & Error Handling: If the SEO score doesn't pass the validation check (e.g., required percentages aren't met), the workflow loops the content back to the AI writer for regeneration.
  • Competitor Name Replacement: The AI prompt is strictly instructed to replace competitor names (like PixelCut, CreatorKit) with "ProductAI" to maintain brand consistency.
  • CTA Linking: All Call-to-Action links within the generated articles are hard-coded in the prompt to point to create.productai.photo.
  • Image Processing Delay: There is a 20-second "Wait" node implemented before publishing to Webflow to ensure the DALL-E generated image URL is active and accessible.
  • Dynamic Title Extraction: The workflow uses a Regex code snippet to extract the first <h2> tag from the generated article to use as the Webflow post title (since H1 is omitted per SEO best practices).
  • Data Routing: The Execute Once feature is enabled on error notification nodes to ensure you only receive one alert per failure, rather than spamming all connected channels simultaneously.

Support & Help

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 - Schedule Trigger

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

Block 2 - Auto-fixing Output Parser

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

Block 3 - Execute Workflow

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

Block 4 - Sticky Note

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

Block 5 - Sticky Note1

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

Block 6 - Sticky Note3

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

Block 7 - Sticky Note4

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

Block 8 - Sticky Note5

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

Block 9 - OpenAI Chat Model

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

Block 10 - Loop Over Items

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

Block 11 - Get Articles1

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

Block 12 - OpenAI

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

Block 13 - Structured Output Parser

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

Block 14 - Fetch/Load Webflow Posts

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

Block 15 - If (Check Article Is Available)

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

Block 16 - AI Content writer

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

Block 17 - If (Check SEO Percent)

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

Block 18 - OpenAI model

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

Block 19 - AI Prompt Generator

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

Block 20 - Generate an image

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

Block 21 - Webflow Create Item

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

Block 22 - Update on Google Sheets

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

Block 23 - Wait 20s

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

Block 24 - Rapiwa (Send error on WhatsApp)

Type / Role
n8n-nodes-rapiwa.rapiwa - rapiwa
Config choices
Version 1

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

3. Summary Table

Workflow Generate and publish SEO blog posts from Google Sheets to Webflow with OpenAI
Complexity advanced
Nodes 43
Categories Content Creation, Multimodal AI
Author SpaGreen Creative
Published 25 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15280/15280.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 from Google Sheets to Webflow with OpenAI do?

Who it's for This n8n workflow is designed for SEO managers , content creators , and blog administrators who want to automate their blog publishing pipeline. The workflow creates an end to end AI p...

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.