Run a voice RPG over Telegram with n8n
A Telegram bot can let one player run a fantasy campaign by voice while the agent keeps the story, rolls dice, and remembers prior turns.
- What they did
- They built an n8n workflow tied to Telegram voice messages. Groq handled speech-to-text, then an n8n agent pulled the saved game state from memory, followed a tight system prompt for turn order and narration, and wrote back updated state in structured form. If an action called for randomness, the agent first paused for permission, rolled the dice, and then used Groq text-to-speech to send the response as audio.
- How it went
- The setup is described as a working template for solo fantasy play that carries state from one turn to the next. No playtest counts or other measured results were provided.
- Tips
- Use a clear rule set in the system prompt so the agent knows when to narrate, when to ask for approval, and when to save state. You’ll need both a Groq API token and a Telegram bot token; the free Groq tier is enough to start.
Try it yourself with n8n
Help me build an n8n workflow for a [genre] RPG played through Telegram voice messages. Convert my speech to text, keep a persistent game state for [character name], narrate the next scene, and if an action needs randomness, explain the choice and ask me to approve the roll before you do it. After each turn, save the updated story and character state, then send your reply as audio. Do not submit, delete, or make any irreversible change without my explicit okay.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Build a Telegram game-advice bot from screenshots
Use an n8n Telegram workflow with GPT-4o vision to read game images or voice notes and return move suggestions.
Use spawned agents to build a Rust game engine
They had several Grok bots split up the work and produce a Rust editor with scripting, threading, and scene effects.
Build and test a Telegram RPG bot with AI
A non-coding project manager used Claude Code to create, deploy, and rebalance a Telegram RPG bot.
Build a browser-based 3D plane game
A Hugging Face product head asked Manus to make a Three.js plane game that runs in a browser.
Build an agent to play Pokémon Blue from RAM and screenshots
Joel Zhang wired Gemini 2.5 Pro into a Game Boy emulator so it could read game state and press buttons in Pokémon Blue.
Use Doom runs to test a computer-use agent
Have a computer-use agent play Doom on a remote machine and use its performance to spot workflow problems.