📄🌐PDF2Blog - create blog post on Ghost CRM from PDF document
Needs changesWhat this workflow does
This AI workflow has 9 nodes and runs when someone submits an n8n form (“PDF2Blog”). Along the way it connects Ghost and OpenAI Chat Model.
How it runs
Trigger: When someone submits an n8n form (“PDF2Blog”).
- Extract Text (Extract from File): extracts data from a file (pdf)
- Create Structured Blog Post (AI Agent): runs an AI agent, with model: gpt-4o-mini; output parser: Structured Output - JSON
- Separate Title & Content (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Post to Ghost (Ghost): create
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Create Structured Blog Post (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Create Structured Blog Post (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (9)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Extract from File
n8n-nodes-base.extractFromFile - Ghost
n8n-nodes-base.ghost - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
From PDF to Powerful Blog Posts: AI-Powered Content Transformation Turn complex documents into engaging digital content that drives results. This n8n Workflow uses AI to transforms lengthy PDFs into compelling blog posts that attract and retain readers while…