Templates / Judge AI math RPG answers with OpenAI/OpenRouter and update quests in Google Sheets

Judge AI math RPG answers with OpenAI/OpenRouter and update quests in Google Sheets

Ready for 3.0

by TAKUTO ISHIKAWA ✓ · 58 views · created 2026-03-20 · Personal Productivity, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 7 nodes and runs when someone submits an n8n form (“AI Math RPG - Attack (Answer) Form”). Along the way it connects OpenRouter Chat Model and Google Sheets.

How it runs

Trigger: When someone submits an n8n form (“AI Math RPG - Attack (Answer) Form”).

  1. Find Pending Quest (Google Sheets): uses Google Sheets
  2. Check Answer (If): checks a condition and branches into true / false
  3. Update Quest Status (Google Sheets): update
  4. Return Miss Message (Code): runs custom JavaScript code
  5. Generate Victory Message (Basic LLM Chain): sends a prompt to an LLM, with model: OpenRouter Chat Model

Services it uses

OpenRouter Chat ModelGoogle Sheets

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 (6)

From the author

Judge AI math RPG answers and update quest status in Google Sheets Who it's for This template is for educators, parents, or self-learners who want to gamify their study routines. This is Part 2 of the "AI Math RPG" system. It handles the quiz judgment and…

Excerpt from TAKUTO ISHIKAWA'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.