Block 1 - Groq Chat Model
- Type / Role
- @n8n/n8n-nodes-langchain.lmChatGroq - lmChatGroq
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
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...
@n8n/n8n-nodes-langchain.lmchatgroq, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.stickynote, n8n-nodes-base.telegram, n8n-nodes-base.set, n8n-nodes-base.telegramtrigger, n8n-nodes-base.httprequest
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Anton Bezman.
Original n8n.io sourceThis 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.
A player actions are provided to Telegram bot via voice messages.
The AI agent loads the current game state from n8n memory.
A strict system prompt enforces rules, turn flow, and narration.
When an action requires a dice roll, the agent waits for player authorization.
Once authorized, the AI rolls, resolves the outcome, and applies changes.
All state updates are emitted as structured data and saved to memory.
The request and response are processed in Groq's STT and TTS.
Solo text-based fantasy campaigns
Persistent AI-driven adventures
Testing stateful AI agents in n8n
Educational examples of memory-aware workflows
Groq API token (free tier supported)
Telegram bot API token
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Play RPG with Groq Dungeon Master via Telegram voice messages |
|---|---|
| Complexity | intermediate |
| Nodes | 14 |
| Categories | Miscellaneous, AI Chatbot |
| Author | Anton Bezman |
| Published | 14 Dec 2025 |
Use the JSON export at /data/workflows/11787/11787.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
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...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Miscellaneous, AI Chatbot use case.