Curate and publish LinkedIn tech posts with NewsData, Gemini, Slack, and Jina AI
Needs changesWhat this workflow does
This AI workflow has 27 nodes and runs on a schedule (every day at 19:00). Along the way it connects Google Gemini Chat Model, Slack and LinkedIn. It also calls newsdata.io and generativelanguage.googleapis.com over HTTP.
How it runs
Trigger: On a schedule (every day at 19:00).
- Switch: routes items into 7 branches
- Edit Fields (Edit Fields (Set)): sets 1 field: topic
- Edit Fields (Edit Fields (Set)): sets 1 field: topic
- Edit Fields (Edit Fields (Set)): sets 1 field: topic
- Edit Fields (Edit Fields (Set)): sets 1 field: topic
- Edit Fields (Edit Fields (Set)): sets 1 field: topic
- Edit Fields (Edit Fields (Set)): sets 1 field: topic
- Edit Fields (Edit Fields (Set)): sets 1 field: topic
- HTTP Request: calls newsdata.io
- Choose Best Artcile (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; output parser: Structured Output Parser
…plus 11 more steps. See the full node list below.
Services it uses
HTTP calls to: newsdata.io, generativelanguage.googleapis.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 Generating Post Content (v1.7), Image Generation (v1.9), Choose Best Artcile (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) Generating Post Content (v1.7), Image Generation (v1.9), Choose Best Artcile (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (14)
- HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - Convert to File
n8n-nodes-base.convertToFile - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Slack
n8n-nodes-base.slack - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Code
n8n-nodes-base.code - LinkedIn
n8n-nodes-base.linkedIn
From the author
Quick Overview This workflow runs daily, pulls technology news from NewsData.io based on a day-specific topic, uses Google Gemini to pick an article and write a LinkedIn post, generates a matching image, requests approval in Slack, and publishes the approved…