Templates / Generate LinkedIn posts using Google Gemini, MongoDB Atlas, Google Drive and Sheets

Generate LinkedIn posts using Google Gemini, MongoDB Atlas, Google Drive and Sheets

Needs changes

by Nitesh ✓ · 61 views · created 2026-03-01 · Content Creation, AI RAG

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 15 nodes and runs when a chat message arrives (plus 1 other trigger). Along the way it connects MongoDB Atlas Vector Store, Embeddings Google Gemini, Google Gemini Chat Model and Google Drive and 1 more.

How it runs

Trigger: When a chat message arrives (plus 1 other trigger).

  1. Knowledge Base Agent (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; 1 tool (Google Sheets Tool); memory: Simple Memory
  2. Download file (Google Drive): download
  3. MongoDB Vector Store Inserter (MongoDB Atlas Vector Store): stores documents in the MongoDB Atlas vector store, with embeddings: Embeddings Google Gemini; document loader: Default Data Loader
  4. Knowledge Base Agent (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; 1 tool (MongoDB Vector Search); memory: Simple Memory

Services it uses

MongoDB Atlas Vector StoreEmbeddings Google GeminiGoogle Gemini Chat ModelGoogle DriveGoogle Sheets

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 Knowledge Base Agent (v1.9), Knowledge Base Agent1 (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Knowledge Base Agent (v1.9), Knowledge Base Agent1 (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (10)

From the author

🚀 How the System Works This automation operates in three distinct phases: Ingestion, Storage, and Generation. | Phase | Component | What Happens | | --- | --- | --- | | 1. The Trigger | Google Drive | Every time you update your ragposts.csv in your Drive…

Excerpt from Nitesh'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.