Create AI-Powered WhatsApp Quiz Bot with GPT-4o-mini and Supabase Storage
Quiz Assistant via WhatsApp with Supabase and OpenAI
Create a quiz assistant that helps users study a topic of their choice through WhatsApp. Using Supabase and OpenAI, this workflow captures missing user data, stores it, and delivers dynamic quizzes tailored to each topic.
Main Use Cases
Guide users through personalized study sessions Collect and store user preferences (name + topic) Automate quiz creation with AI Deliver interactive content via WhatsApp
How It Works
This workflow is composed of three main paths:
- User Info Collection
Triggered by an incoming WhatsApp message Retrieves existing user data from Supabase Checks if the name and topic are already defined If not, sends WhatsApp prompts to collect missing info Updates Supabase with new entries
- AI Quiz Generation
Once name and topic are confirmed, the Merge node consolidates all inputs Data is sent to the AI Agent (OpenAI Chat + Memory) The agent generates a quiz based on the selected topic
- Response Delivery
The quiz is sent back to the user via WhatsApp Flow ends, ready to restart with the next interaction
Related Templates
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
🤖 Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments