Templates / Create AI-powered WhatsApp quiz bot with GPT-4o-mini and Supabase storage

Create AI-powered WhatsApp quiz bot with GPT-4o-mini and Supabase storage

Needs changes

by Danielle Gomes ✓ · 1,749 views · created 2025-05-16 · Personal Productivity, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model and Supabase.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Supabase: select
  2. User exist? (If): checks a condition and branches into true / false
  3. Quiz Topic Defined? (If): checks a condition and branches into true / false
  4. Ask For Name (HTTP Request): calls an HTTP API (POST)
  5. Merge: merges the data from its input branches
  6. Ask For Study Topic (WhatsApp Message) (HTTP Request): calls an HTTP API (POST)
  7. Supabase: update
  8. AI Agent: runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory
  9. Supabase: update
  10. Send Message to User (WhatsApp Message) (HTTP Request): calls an HTTP API

Services it uses

OpenAI Chat ModelSupabase

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 Agent - Portuguese BR System Msg (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.0Replace with
AI Agent v1 (old agent modes)
AI Agent - Portuguese BR System Msg (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (8)

From the author

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…

Excerpt from Danielle Gomes's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.