Templates / Generate AI News LinkedIn Posts with GPT-4o-mini, NewsAPI, and Qdrant

Generate AI News LinkedIn Posts with GPT-4o-mini, NewsAPI, and Qdrant

Needs changes

by Lucien · 610 views · created 2025-04-24 · Content Creation, Multimodal AI

Needs 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 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).

  1. Set Input Data (Topic/Company/Tone) (Edit Fields (Set)): sets or maps fields
  2. Retrieve the message (Google Sheets): uses Google Sheets
  3. confirmation (Gmail): get
  4. News API (HTTP Request): calls an HTTP API
  5. Unread (Gmail): mark as read
  6. Capture Email Decision (Edit Fields (Set)): sets 1 field: decision
  7. Split Articles (Code): runs custom JavaScript code
  8. Gmail: get
  9. Merge: merges the data from its input branches
  10. Send Email with News Articles (Gmail): uses Gmail

…plus 9 more steps. See the full node list below.

Services it uses

GmailOpenAI Chat ModelGoogle SheetsEmbeddings OpenAIQdrant Vector Store

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.0Replace 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)

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…

Excerpt from Lucien's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.