Seo blog publishing for Jekyll with GPT-4, GitHub & social sharing
Needs changesWhat this workflow does
This AI workflow has 13 nodes and runs on a schedule (every day at 08:00) (plus 1 other trigger). Along the way it connects GitHub, X (Formerly Twitter), LinkedIn and OpenAI Chat Model.
How it runs
Trigger: On a schedule (every day at 08:00) (plus 1 other trigger).
- Read CSV (Read Binary File): uses Read Binary File
- Extract from File: extracts data from a file
- Remove the processed csv line (Code): runs custom JavaScript code
- Split In Batches (Loop Over Items (Split in Batches)): loops over the items in batches
- Copywriter AI Agent (AI Agent): runs an AI agent, with model: gpt-4o-mini
- Code: runs custom JavaScript code
- Wait: pauses before continuing
- Commit Markdown (GitHub): work with file
- Post on X (X (Formerly Twitter)): create tweet
- Post on LinkedIn (LinkedIn): uses LinkedIn
Services it uses
Before you upgrade to n8n 3.0
2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- Read Binary File in Read CSV: replace with Read/Write Files from Disk.
- AI Agent v1 (old agent modes) in Copywriter AI Agent (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| Read Binary File Read CSV | Read/Write Files from Disk |
| AI Agent v1 (old agent modes) Copywriter AI Agent (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (12)
- Manual Trigger
n8n-nodes-base.manualTrigger - Read Binary File
n8n-nodes-base.readBinaryFile - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - GitHub
n8n-nodes-base.github - X (Formerly Twitter)
n8n-nodes-base.twitter - LinkedIn
n8n-nodes-base.linkedIn - Extract from File
n8n-nodes-base.extractFromFile - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Code
n8n-nodes-base.code - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
🤖 Auto-Publish SEO Blog Posts for Jekyll with AI + GitHub + Social Sharing This workflow automates the entire process of publishing SEO-optimized blog posts (e.g., recipes) to a Jekyll site hosted on GitHub. It uses LangChain + OpenAI to write long-form…