Post LinkedIn content from a Supabase knowledge base using Google Gemini
Needs changesWhat this workflow does
This AI workflow has 29 nodes and runs on Google Drive events (file updated) (plus 2 other triggers). Along the way it connects Supabase Vector Store, Google Drive, Supabase and LinkedIn and 5 more.
How it runs
Trigger: On Google Drive events (file updated) (plus 2 other triggers).
- Delete Supabase Rows (Supabase): delete
- Set Google Drive File ID (Edit Fields (Set)): sets 1 field: id
- AI Content Creation Agent (AI Agent): runs an AI agent, with model: Chat Model with Google Gemini; 2 tools (Search Tavily Knowledge Base, Access Company Knowledge Base); output parser: Parse Structured Output
- Get Updated File ID (Edit Fields (Set)): sets 1 field: file_id
- Download Google Drive File (Google Drive): download
- Generate Image with Gemini (Google Gemini): work with image
- Limit: keeps the first few items
- Extract Content from File (Extract from File): extracts data from a file (text)
- Post to LinkedIn (LinkedIn): uses LinkedIn
- Download Updated File (Google Drive): download
…plus 3 more steps. See the full node list below.
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 AI Content Creation Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Content Creation Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (18)
- Edit Fields (Set)
n8n-nodes-base.set - Supabase Vector Store
@n8n/n8n-nodes-langchain.vectorStoreSupabase - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - Google Drive
n8n-nodes-base.googleDrive - Extract from File
n8n-nodes-base.extractFromFile - Supabase
n8n-nodes-base.supabase - Limit
n8n-nodes-base.limit - LinkedIn
n8n-nodes-base.linkedIn - Embeddings Google Gemini
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Tavily Tool
@tavily/n8n-nodes-tavily.tavilyTool - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Vector Store Question Answer Tool
@n8n/n8n-nodes-langchain.toolVectorStore - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini
From the author
Quick overview Automates your LinkedIn content creation pipeline. It syncs Google Drive files directly into a Supabase knowledge base, uses a Google Gemini and Tavily AI Agent to perform real-time web research, and automatically generates, designs, and…