Block 1 - If
- Type / Role
- n8n-nodes-base.if - if
- Config choices
- Version 2.2
This workflow is provided as-is. Please review and test before using in production.
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...
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
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by jellyfish.
Original n8n.io sourceTemplate 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.
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 | 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 |
Use the JSON export at /data/workflows/7678/7678.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.
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...
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 AI Chatbot, Multimodal AI use case.