Generate quizzes and run multiplayer quiz contests with Mistral and Supabase
Ready for 3.0What this workflow does
This AI workflow has 71 nodes and runs when an HTTP POST request hits its webhook URL (plus 3 other triggers). Along the way it connects Mistral Cloud Chat Model and Supabase.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 3 other triggers).
- Create Quiz (Supabase): uses Supabase
- Get a row (Supabase): get
- Switch: routes items into 7 branches
- AI Agent: runs an AI agent, with model: Mistral Cloud Chat Model
- Basic LLM Chain: sends a prompt to an LLM, with model: Mistral Cloud Chat Model
- Get many rows (Supabase): get many
- CreateRoom - Prepare (Code): runs custom JavaScript code
- JoinRoom - Prepare (Code): runs custom JavaScript code
- GetRoom - Prepare (Code): runs custom JavaScript code
- StartContest - Prepare (Code): runs custom JavaScript code
…plus 54 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (11)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Respond to Webhook
n8n-nodes-base.respondToWebhook - AI Agent
@n8n/n8n-nodes-langchain.agent - Mistral Cloud Chat Model
@n8n/n8n-nodes-langchain.lmChatMistralCloud - Supabase
n8n-nodes-base.supabase - Switch
n8n-nodes-base.switch - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - If
n8n-nodes-base.if - Limit
n8n-nodes-base.limit
From the author
Quick overview This workflow powers MindArena’s quiz features by generating and retrieving quizzes in Supabase, managing multiplayer contest rooms via a single webhook, and producing personalized quiz-performance feedback using Mistral Cloud. How it works 1.…