Play a voice-driven RPG with an AI Dungeon Master
An n8n template agent with persistent memory runs a fantasy RPG over Telegram voice messages, narrating scenes, resolving dice rolls and saving state.
What they did
The player sends voice messages to a Telegram bot. Groq speech-to-text transcribes them, and an n8n agent loads the saved game state from memory. A strict system prompt sets the rules, turn flow and narration. When an action needs a dice roll, the agent waits for the player to authorize it, then rolls and resolves the outcome. State changes are emitted as structured data and saved. Groq text-to-speech voices the reply.
How it went
The source gives no playtest results or numbers. It describes a working template for solo fantasy campaigns that keeps its state between turns.
Worth knowing
You need a Groq API token (the free tier works) and a Telegram bot token.
Labels
It describes a working template for solo fantasy campaigns that keeps its state between turns.
It describes a working template for solo fantasy campaigns that keeps its state between turns.
An n8n template agent with persistent memory runs a fantasy RPG over Telegram voice messages, narrating scenes, resolving dice rolls and saving state.
When an action needs a dice roll, the agent waits for the player to authorize it, then rolls and resolves the outcome.
The “Material” label failed its quality check and is not used for selection.
Details
- Agents
- n8n
- Source
- other
- Source date
- undated
- Accounts
- 1
- In registry since
- Oct 12, 2026