Generate AI News LinkedIn Posts with GPT-4o-mini, NewsAPI, and Qdrant
Needs changesWhat this workflow does
This AI workflow has 25 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Gmail, OpenAI Chat Model, Google Sheets and Embeddings OpenAI and 1 more. It also calls api.linkedin.com over HTTP.
How it runs
Trigger: On a schedule (every day) (plus 1 other trigger).
- Set Input Data (Topic/Company/Tone) (Edit Fields (Set)): sets or maps fields
- Retrieve the message (Google Sheets): uses Google Sheets
- confirmation (Gmail): get
- News API (HTTP Request): calls an HTTP API
- Unread (Gmail): mark as read
- Capture Email Decision (Edit Fields (Set)): sets 1 field: decision
- Split Articles (Code): runs custom JavaScript code
- Gmail: get
- Merge: merges the data from its input branches
- Send Email with News Articles (Gmail): uses Gmail
…plus 9 more steps. See the full node list below.
Services it uses
HTTP calls to: api.linkedin.com
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 Generate Linkedin Posts (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
- Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Generate Linkedin Posts (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (14)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Gmail Trigger
n8n-nodes-base.gmailTrigger - Gmail
n8n-nodes-base.gmail - Edit Fields (Set)
n8n-nodes-base.set - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Merge
n8n-nodes-base.merge - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Qdrant Vector Store
@n8n/n8n-nodes-langchain.vectorStoreQdrant
From the author
Overview Automated LinkedIn content generator that: Fetches trending AI news using NewsAPI Enhances content with Qdrant vector store context Generates professional LinkedIn posts using GPT-4o-mini Tracks email interactions in Google Sheets 🛠️ Prerequisites…