This is an n8n workflow that turns a college admissions WhatsApp number into an AI receptionist. It ingests college documents into a Supabase vector store, then answers student enquiries sent as text, voice notes or images.
When a WhatsApp message arrives, the workflow detects the message type. Voice notes are downloaded and transcribed with OpenAI. Images are downloaded and read with OpenAI Vision, and any image caption is combined with the extracted content. The input is then normalized into a single question, and a conversation record is created in Supabase.
An OpenAI chat agent drafts a reply using the Supabase vector-store retriever to find relevant college information. Chat history is stored in Postgres. A second OpenAI reviewer checks the draft against the same knowledge base. It approves the draft, retries once with correction instructions, or falls back to a safe response. The final reply is sent on WhatsApp and the Supabase conversation record is updated.
- Platform
- n8n workflow
- Input types
- Text, voice notes, images
- Voice notes
- Audio downloaded from the WhatsApp media URL and transcribed with OpenAI
- Images
- Downloaded and read with OpenAI Vision, combined with any caption
- Knowledge base
- College documents indexed in a Supabase vector store
- Chat history
- Stored in Postgres
- Answer review
- Second OpenAI reviewer approves, retries once with corrections, or gives a safe fallback response
- Logging
- Conversations logged and updated in Supabase
- Integrations
- WhatsApp Cloud API (trigger and nodes), OpenAI (chat, transcription, Vision), Supabase (vector retrieval, Postgres chat history)
- n8n nodes
- if, set, code, switch, Supabase, WhatsApp
- Use cases
- Admission FAQs, voice note guidance, screenshots of requirements or forms