Auto-generate & schedule LinkedIn posts from Google Sheets with GPT-4o
Needs changesWhat this workflow does
This AI workflow has 8 nodes and runs on a schedule (every week at 09:00). Along the way it connects OpenAI Chat Model, LinkedIn and Google Sheets.
How it runs
Trigger: On a schedule (every week at 09:00).
- Fetch the pending contents from the sheet (Google Sheets): uses Google Sheets
- Selecting the first one only (Limit): keeps the first few items
- writing the post (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Create a post (LinkedIn): uses LinkedIn
- Update row to Done in sheet (Google Sheets): update
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 writing the post (v1.8): 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) writing the post (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (7)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Schedule Trigger
n8n-nodes-base.scheduleTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - LinkedIn
n8n-nodes-base.linkedIn - Google Sheets
n8n-nodes-base.googleSheets - Limit
n8n-nodes-base.limit
From the author
Target audience Solo creators, PMs, and content teams who queue LinkedIn ideas in Google Sheets and want them posted on a fixed schedule with AI-generated copy. How it works The workflow runs on a schedule (Mon/Wed/Fri at 09:30). It pulls the first Google…