agentusecasesAll 965 use cases
Games & Simulations

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.

Done withn8n

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.

Try it yourself with n8n

Build an n8n workflow where I play a [genre, e.g. fantasy] RPG with an AI Dungeon Master over Telegram voice messages. It should transcribe my voice, narrate the next scene, resolve any dice rolls, reply with audio, and save character and story state so the game continues across sessions. You're done when I can play two turns and the second turn remembers the first; start with a character named [name].

Read the original ↗

Source: n8n.io · Undated

Five of these in your inbox every morning

The best things people got an AI agent to do, each with the prompt to try it.

More like this