Generate LinkedIn posts using Google Gemini, MongoDB Atlas, Google Drive and Sheets
Needs changesWhat 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).
- Knowledge Base Agent (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; 1 tool (Google Sheets Tool); memory: Simple Memory
- Download file (Google Drive): download
- 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
- 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
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.0 | Replace 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)
- MongoDB Atlas Vector Store
@n8n/n8n-nodes-langchain.vectorStoreMongoDBAtlas - AI Agent
@n8n/n8n-nodes-langchain.agent - Embeddings Google Gemini
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Google Drive
n8n-nodes-base.googleDrive - Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Google Sheets Tool
n8n-nodes-base.googleSheetsTool
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…