Ingest LinkedIn posts from Google Drive into Pinecone with Gemini and Supabase
UnknownWhat this workflow does
This AI workflow has 21 nodes and runs on Google Drive events (file created). Along the way it connects Google Drive, Groq Chat Model, Supabase and Google Gemini Chat Model and 3 more.
How it runs
Trigger: On Google Drive events (file created).
- Check For Duplicates (Supabase): get many
- Remove If File Exists (Filter): keeps only the items that match a condition
- Download File (Google Drive): download
- Check File Type (Switch): routes items into 2 branches
- Extract Text (Extract from File): extracts data from a file (pdf)
- Extract Images (Tesseract Node): uses Tesseract Node
- Normalize PDF Text (Edit Fields (Set)): sets 1 field: text
- Clean Data (Basic LLM Chain): sends a prompt to an LLM, with model: Groq Chat Model
- Merge: merges the data from its input branches
- Normalize OCR Text (Edit Fields (Set)): sets 1 field: text
…plus 3 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-tesseractjs is verified or supports 3.0 (used in Extract Images).
Nodes used (19)
- Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Merge
n8n-nodes-base.merge - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Supabase
n8n-nodes-base.supabase - Filter
n8n-nodes-base.filter - Google Drive
n8n-nodes-base.googleDrive - Switch
n8n-nodes-base.switch - Extract from File
n8n-nodes-base.extractFromFile - Tesseract Node
n8n-nodes-tesseractjs.tesseractNode - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Embeddings Google Gemini
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview This workflow watches a Google Drive folder for new LinkedIn post screenshots or PDFs, extracts the text (including OCR), uses Groq and Google Gemini to extract reusable writing patterns, embeds the results with Gemini embeddings, stores them…