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

3 views · 🎬 Content Creation & Video

Description

🚀 How the System Works

This automation operates in three distinct phases: Ingestion, Storage, and Generation.

PhaseComponentWhat Happens
1. The TriggerGoogle DriveEvery time you update your rag_posts.csv in your Drive folder, the system wakes up.
2. The BrainGemini EmbeddingsIt turns your text into “Vectors” (numbers) so the AI understands the meaning of your writing style, not just the words.
3. The VaultMongoDB AtlasYour posts are stored in a vector database, acting as a “Style Library” the AI can browse instantly.
4. The WriterAI AgentsWhen you ask for a post, the AI searches your vault, finds the best matches, and mimics the formatting exactly.

🛠️ Step-by-Step Setup Guide

1. Prepare Your Data Source

2. Configure MongoDB Atlas (The Vector Store)

3. Google Gemini API

4. Connect the n8n Nodes


🔗 Nodes Used

Google Drive, Google Drive Trigger, AI Agent, Simple Memory, Default Data Loader, Chat Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup