Play RPG with Groq Dungeon Master via Telegram voice messages — n8n Workflow
Overview
Dungeons and Goblins — AI Telegram Voice Adventure with Persistent Memory
This n8n template demonstrates how to use an AI agent with persistent memory to run a structured, rules-driven fantasy role-playing game entirely through Telegram voice messages. The workflow acts as a Dungeon Master, narrating scenes, resolving mechanics, performing dice rolls when authorized, and explicitly saving game state between turns.
How it works
A player actions are provided to Telegram bot via voice messages.
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 9 nodes, connecting agent, httprequest, lmchatgroq.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (9)
HTTP Request
httpRequest
Telegram
telegram
AI Agent
n8n-nodes-langchain.agent
Simple Memory
n8n-nodes-langchain.memoryBufferWindow
Groq Chat Model
n8n-nodes-langchain.lmChatGroq
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows → New → Import from file.
- 3Select the downloaded
play-rpg-with-groq-dungeon-master-via-telegram-voice-messagesfile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n → Import from JSON:
Integrations
Created by
Anton Bezman
@nefar1an
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →