Generate SEO-audited blog posts with internal links from forms using OpenAI

Go to Workflow
0 views
Built by Thomas Abraham Thomas Abraham
Created on July 31, 2026

Description

Quick Overview
This workflow uses an n8n form trigger and OpenAI to generate an SEO-ready blog post in Markdown from a submitted topic and optional target keyword, first creating a structured outline and then expanding it into a complete draft with an SEO title and meta description.

How it works
Receives a blog topic and optional target keyword from an n8n form submission.
Uses OpenAI to generate a detailed SEO research outline with a hook, 4–6 H2 sections, supporting bullet points, and related keywords.
Sends the outline back to OpenAI to write a complete 800–1200 word Markdown blog post with an SEO title, meta description, and sectioned body content.
Returns the finished Markdown draft in the final step’s output for copy-paste into your publishing tool.

Setup
Add an OpenAI API credential in the OpenAI Chat Model connection and confirm the selected model (for example, gpt-5-mini).
Publish the n8n form and share the form URL with whoever will submit topics (or use it yourself) to trigger the workflow.

Nodes Used (5)

Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi