Triage and answer college WhatsApp enquiries with OpenAI and Supabase
Needs changesWhat this workflow does
This AI workflow has 37 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Drive, Supabase Vector Store, Embeddings OpenAI and WhatsApp Business Cloud and 4 more.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Download file (Google Drive): download
- Check Input Type (Switch): routes items into 3 branches
- Supabase Vector Store: stores documents in the Supabase vector store, with embeddings: Embeddings OpenAI; document loader: Default Data Loader
- Get Audio URL (WhatsApp Business Cloud): media url get
- Get Image URL (WhatsApp Business Cloud): media url get
- Text Only (Edit Fields (Set)): sets 1 field: question
- Download Audio (HTTP Request): calls an HTTP API
- Download Image (HTTP Request): calls an HTTP API
- Normalize Input (Code): runs custom JavaScript code
- Transcribe Audio (OpenAI): transcribe (audio)
…plus 15 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 PGC Brain (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) PGC Brain (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (18)
- Manual Trigger
n8n-nodes-base.manualTrigger - Google Drive
n8n-nodes-base.googleDrive - Supabase Vector Store
@n8n/n8n-nodes-langchain.vectorStoreSupabase - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Switch
n8n-nodes-base.switch - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Supabase
n8n-nodes-base.supabase - AI Agent
@n8n/n8n-nodes-langchain.agent - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat
From the author
Quick overview This workflow ingests college documents from Google Drive into a Supabase vector store, then runs a WhatsApp-based admissions receptionist that handles text, voice, and image enquiries using OpenAI with retrieval and a reviewer step before…