Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Chatbots & Messaging Bots

Chatbots & Messaging Bots

WhatsApp Study Quiz Bot with OpenAI and Supabase

When a WhatsApp message arrives, an OpenAI agent looks up the student in Supabase, asks for missing name or topic, and runs a Portuguese study quiz.

What it does

## Flow Overview Trigger: Incoming WhatsApp msg Fetch user data (Supabase) Check if name & topic exist Ask missing info via WhatsApp Update Supabase with answers Merge inputs AI Agent generates quiz Send response to user

The steps

  1. Simple Memory
  2. OpenAI Chat Model
  3. Merge
  4. Whatsapp Trigger
  5. User exist?
  6. AI Agent - Portuguese BR System Msg
  7. Supabase: Fetch User Data
  8. Ask For Name
  9. Supabase: Update User Name
  10. Quiz Topic Defined?
  11. Ask For Study Topic (WhatsApp Message)
  12. Supabase: Update Study Topic
  13. Send Message to User (WhatsApp Message)

Similar automations