Skip to main content

Real-time gaming strategy coach with Telegram & GPT-4o Vision

Workflow preview

Workflow preview
100%
Real-time gaming strategy coach with Telegram & GPT-4o Vision preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Play smarter, not harder. This AI powered Telegram bot acts as your real time gaming coach , giving you instant move recommendations for turn based strategy games like poker , dominoes , mahjong , ...

Best for

  • Miscellaneous automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.telegram, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.editimage

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Don Jayamaha Jr.

Original n8n.io source

1.1 Workflow description

Title
Real-time gaming strategy coach with Telegram & GPT-4o Vision
Workflow name
Real-time gaming strategy coach with Telegram & GPT-4o Vision

Play smarter, not harder.

This AI-powered Telegram bot acts as your real-time gaming coach, giving you instant move recommendations for turn-based strategy games like poker, dominoes, mahjong, and more—based on screenshots, voice notes, or text prompts.

Powered by GPT-4o (Vision + Language), the agent helps casual gamers improve decision-making, strategy, and pattern recognition in friendly games.

🧠 Whether you're at the table or playing online, this agent reads the board and suggests your best next move.


🔧 Key Features

  • 🧠 GPT-4o Vision: Analyzes images (e.g. poker hands, domino boards)
  • 🎙️ Voice-to-Text Coaching: Transcribe audio and analyze intent
  • ✍️ Smart Text Input: Ask for help directly in chat
  • 📩 Telegram-Powered: Easy to use via a simple bot

🛠 Setup Instructions

1. Import the Workflow

  • Upload the JSON file into your n8n instance.

2. Create a Telegram Bot

  • Use @BotFather and connect your token under Telegram credentials.

3. Configure OpenAI API

  • Add your GPT-4o credentials
  • Enable both chat model and image vision model access

4. Secure Access

  • Replace the Telegram ID in the User Authentication node to limit access to your account only.

5. Test It

  • Send a screenshot or voice message to your Telegram bot
  • Example: “Texas Hold’em – my turn – suggest move” + upload an image

💡 What Can You Ask?

  • “Poker – flop: A♠️ Q♠️ 10♠️ – I have K♠️ J♠️ – what now?”
  • “Dominoes – screenshot attached – should I play this tile?”
  • “Mahjong – what’s the best discard move right now?”

🧠 System Behavior (Prompt Logic)

GPT-4o is guided by a focused system prompt that makes it act as a gaming strategist, not a rulebook. It returns results like:

🧠 Best Move Suggestion: [e.g. Raise with K♠️ J♠️]  
🎯 Why This Move Works: [based on probability & game state]  
📈 Confidence Level: High / Medium / Low

If input lacks clarity, the agent will ask for better context or a new screenshot.


🎮 Supported Input Modes

  • 🖼️ Image-based: e.g. a poker or domino board screenshot
  • 🎤 Voice prompts: e.g. “My turn in blackjack, I have 16…”
  • 💬 Plain text: typed strategy questions

📌 Sticky Notes (Included)

  • Telegram Trigger + Access Control
  • Image & Voice Input Routes
  • GPT-4o Vision Integration
  • Short-Term Memory
  • LangChain Agent
  • Structured Output Format
  • Telegram Response Node
  • Disclaimer + Licensing Note

⚠️ Disclaimer & Licensing

This tool is provided by Treasurium Capital under an educational, entertainment-focused license.

Do not use for gambling, cheating, or violating game platform terms of use. Treasurium Capital and its creators are not liable for any game outcomes.


👤 Author & Support

Built by Don Jayamaha View more AI agents: https://n8n.io/creators/don-the-gem-dealer/


🎯 Level up your gameplay with AI—one move at a time.

🎥 Watch the Live Demo:

1.2 Logical Blocks

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.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 2 - User Authentication (Replace Telegram ID)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 4 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 5 - Telegram

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 6 - Gaming AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 7 - OpenAI4

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 8 - Get Image Info

Type / Role
n8n-nodes-base.editImage - editImage
Config choices
Version 1

Block 9 - OpenAI2

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 10 - Set Message

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Message Format Selector

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 15 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Telegram Image Download

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 18 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Telegram Sound Download

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 20 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Real-time gaming strategy coach with Telegram & GPT-4o Vision
Complexity advanced
Nodes 24
Categories Miscellaneous, AI Chatbot
Author Don Jayamaha Jr
Published 17 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4155/4155.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

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.

Frequently asked questions

What does Real-time gaming strategy coach with Telegram & GPT-4o Vision do?

Play smarter, not harder. This AI powered Telegram bot acts as your real time gaming coach , giving you instant move recommendations for turn based strategy games like poker , dominoes , mahjong , ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

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.