Skip to main content

Create dynamic crypto market monitors with Gemini AI and Telegram Bot

Workflow preview

Workflow preview
100%
Create dynamic crypto market monitors with Gemini AI and Telegram Bot preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Template Description This description details the template's purpose, how it works, and its key features. You can copy and use it directly. Overview This is a powerful n8n "meta workflow" that acts...

Best for

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

Tools used

n8n-nodes-base.if, n8n-nodes-base.telegram, n8n-nodes-base.switch, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.postgres, n8n-nodes-base.telegramtrigger

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Create dynamic crypto market monitors with Gemini AI and Telegram Bot
Workflow name
Create dynamic crypto market monitors with Gemini AI and Telegram Bot

Template Description This description details the template's purpose, how it works, and its key features. You can copy and use it directly.

Overview This is a powerful n8n "meta-workflow" that acts as a Supervisor. Through a simple Telegram bot, you can dynamically create, manage, and delete countless independent, AI-driven market monitoring agents (Watchdogs).

This template is a perfect implementation of the "Workflowception" (workflow managing workflows) concept in n8n, showcasing how to achieve ultimate automation by leveraging the the n8n API.

How It Works ? Telegram Bot Interface: Execute all operations by sending commands to your own Telegram Bot:

/add SYMBOL INTERVAL PROMPT: Add a new monitoring task.

/delete SYMBOL: Delete an existing monitoring task.

/list: List all currently running monitoring tasks.

/help: Get help information.

Use Telegram Bot to control

The watchdog workfolw created in the below

Dynamic Workflow Management: Upon receiving an /add command, the Supervisor system reads a "Watchdog" template, fills in your provided parameters (like trading pair and time interval), and then automatically creates a brand new, independent workflow via the n8n API and activates it.

Persistent Storage: All monitoring tasks are stored in a PostgreSQL database, ensuring your configurations are safe even if n8n restarts. The ID of each newly created workflow is also written back to the database to facilitate future deletion operations.

AI-Powered Analysis: Each created "Watchdog" workflow runs on schedule. It fetches the latest candlestick chart by calling a self-hosted tradingview-snapshot service. This service, available at https://github.com/0xcathiefish/tradingview-snapshot, works by simulating a login to your account and then using TradingView's official snapshot feature to generate an unrestricted, high-quality chart image. An example of a generated snapshot can be seen here: https://s3.tradingview.com/snapshots/u/uvxylM1Z.png.

To use this, you need to download the Docker image from the packages in the GitHub repository mentioned above, and run it as a container. The n8n workflow then communicates directly with this container via an HTTP API to request and receive the chart snapshot.

After obtaining the image, the workflow calls a multimodal AI model (Gemini). It sends both the chart image and your custom text-based conditions (e.g., "breakout above previous high on high volume" or "break below 4-hour MA20") to the AI for analysis, enabling truly intelligent chart interpretation and alert triggering.

Key Features Workflowception: A prime example of one workflow using an API to create, activate, and delete other workflows.

Full Control via Telegram: Manage your monitoring bots from anywhere, anytime, without needing to log into the n8n interface.

AI Visual Analysis: Move beyond simple price alerts. Let an AI "read" the charts for you to enable complex, pattern-based, and indicator-based intelligent alerts.

Persistent & Extensible: Built on PostgreSQL for stability and reliability. You can easily add more custom commands.

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 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 2 - Error Authorization

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

Block 3 - Switch

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

Block 4 - Test return success

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

Block 5 - Parse user text

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

Block 6 - Code

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

Block 7 - Create Workflow

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - Activate

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - Add Data

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.6

Block 10 - Merge All list

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

Block 11 - Trigger

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

Block 12 - WatchDog Success

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

Block 13 - Get list

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.6

Block 14 - Send list

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

Block 15 - Return help manu

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

Block 16 - Update workflow id

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.6

Block 17 - Get workflow id

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.6

Block 18 - Delete the Workflow

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 19 - Delete the row

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.6

Block 20 - WatchDog Success1

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

3. Summary Table

Workflow Create dynamic crypto market monitors with Gemini AI and Telegram Bot
Complexity advanced
Nodes 20
Categories AI Chatbot, Multimodal AI
Author jellyfish
Published 21 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7678/7678.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 Create dynamic crypto market monitors with Gemini AI and Telegram Bot do?

Template Description This description details the template's purpose, how it works, and its key features. You can copy and use it directly. Overview This is a powerful n8n "meta workflow" that acts...

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 AI Chatbot, Multimodal AI use case.