✍️ AI agent to create Linkedin posts for blog promotion with GPT-4o
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) 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 (9)
- Manual Trigger
n8n-nodes-base.manualTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Code
n8n-nodes-base.code - Ghost
n8n-nodes-base.ghost - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Merge
n8n-nodes-base.merge - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
What it does
Tags: Automation, AI, Marketing, Content Creation Context I’m a Supply Chain Data Scientist and content creator who writes regularly about data-driven optimization, logistics, and sustainability. Promoting blog articles on LinkedIn used to be a manual task — until I decided to automate it with N8N and GPT-4o. This workflow lets you automatically extract blog posts, clean the content, and generate a professional LinkedIn post using an AI Agent powered by GPT-4o — all in one seamless automation. >Save hours of repetitive work and boost your reach with AI. 📬 For business inquiries, you can add me on LinkedIn Who is this template for? This template is perfect for: - Bloggers and writers who want to promote their content on LinkedIn - Marketing teams looking to automate professional post-generation - Content creators using Ghost platforms It generates polished LinkedIn posts with: - A hook - A quick summary - A call-to-action - A signature to drive readers to your contact page !Automated Blog Promotion How does it work? This workflow runs in N8N and performs the following steps: 1. 🚀 Triggers manually or you can add a scheduler 2. 📰 Pulls recent blog posts from your Ghost site (via API) 3. 🧼 Cleans the HTML content for AI input 4. 🤖 Sends content to GPT-4o with a tailored prompt to create a LinkedIn post 5. 📄 Records all data (post content + LinkedIn output) in a Google Sheet !Workflow Overview What do I need to start? You don’t need to write a single line of code. Prerequisites: - A Ghost CMS account with blog content - A Google Sheet to store generated posts - An OpenAI API Key - Google Sheets API connected via OAuth2 Next Steps Use the sticky notes in the workflow to understand how to: - Add your Ghost API credentials - Link your Google Sheet - Customize the AI prompt (e.g., change the author name or tone) - Optionally add auto-posting to LinkedIn using tools like Buffer or Make !Generated Post Example 🎥 Watch My Tutorial 🚀 Want to explore how automation can scale your brand or business? 📬 Let’s connect on LinkedIn Notes - You can adapt this template for Twitter, Facebook, or even email newsletters by adjusting the prompt and output channel. - This workflow was built using n8n 1.85.4 Submitted: April 9th, 2025