Automate LinkedIn posts with Claude AI, DALL-E images & Google Sheets approval
Needs changesWhat this workflow does
This AI workflow has 23 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Anthropic Chat Model, X (Formerly Twitter), Facebook Graph API and Google Drive and 3 more.
How it runs
Trigger: On a schedule (every day) (plus 1 other trigger).
- Get Past Ideas (Google Sheets): uses Google Sheets
- Get Ready Posts (Google Sheets): uses Google Sheets
- Join Ideas (Code): runs custom JavaScript code
- Pick One (Limit): keeps the first few items
- Idea Generator (AI Agent): runs an AI agent, with model: Anthropic Chat Model; 1 tool (Perplexity); output parser: Structured Output Parser
- Download Image (Google Drive): uses Google Drive
- Image Style (Google Drive): uses Google Drive
- Publish Post (LinkedIn): uses LinkedIn
- OpenAI Image (HTTP Request): calls an HTTP API
- Update Status (Google Sheets): uses Google Sheets
…plus 8 more steps. See the full node list below.
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 Idea Generator (v1.7): 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) Idea Generator (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (16)
- AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Convert to File
n8n-nodes-base.convertToFile - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Limit
n8n-nodes-base.limit - X (Formerly Twitter)
n8n-nodes-base.twitter - Edit Fields (Set)
n8n-nodes-base.set - Facebook Graph API
n8n-nodes-base.facebookGraphApi - Wait
n8n-nodes-base.wait - HTTP Request
n8n-nodes-base.httpRequest - Google Drive
n8n-nodes-base.googleDrive - Google Sheets
n8n-nodes-base.googleSheets - LinkedIn
n8n-nodes-base.linkedIn - Perplexity Tool
n8n-nodes-base.perplexityTool
From the author
How it works This workflow automates your entire LinkedIn content strategy, from ideation to publishing. Daily Idea Generation: Every day, the workflow uses an advanced AI agent (Anthropic's Claude model) to generate a new, viral-optimized LinkedIn post idea,…