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.
Run multiple game builds in parallel
One user had four Grok 4.20 agents create different games at the same time and finish them within a day.
Build a bot for a real-time strategy game
They used LLM-written code to control bots in strategy-game benchmarks and had them compete in tournaments and ladders.
Have Cursor click through a Godot 4 playtest
A Cursor subagent can load a Godot 4 scene, follow a UI path, and surface broken inputs or scene errors.
Build a browser racing game from one prompt
A lone agent turned one prompt into a playable kart racer, then kept testing and fixing it while acting as designer, developer, and QA.
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.