Block 1 - Schedule
- Type / Role
- n8n-nodes-base.scheduleTrigger - scheduleTrigger
- Config choices
- Version 1.2
This workflow is provided as-is. Please review and test before using in production.
Telegram AI Channel Bot Text & Image Response Generator with TGPT Overview This n8n workflow creates an automated Telegram channel bot that responds to messages with AI generated text or images usi...
n8n-nodes-base.scheduletrigger, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.splitout, n8n-nodes-base.if, n8n-nodes-base.switch, n8n-nodes-base.executecommand
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Vigh Sandor.
Original n8n.io sourceThis n8n workflow creates an automated Telegram channel bot that responds to messages with AI-generated text or images using TGPT. The bot monitors a specific Telegram channel and generates responses based on message prefixes.
/newbot and follow the prompts1234567890:ABCdefGHIjklMNOpqrsTUVwxyz)https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates"chat":{"id":-100XXXXXXXXXX} - this is your channel IDyour_telegram_token with your actual bot tokenyour_telegram_channel_id with your channel IDThe workflow automatically installs required packages:
util-linux-misc (for script command)curl (for downloading TGPT)To generate a text response, send a message to your Telegram channel with the following format:
am# Your prompt here
Example:
am# Explain quantum computing in simple terms
The bot will:
am# prefixTo generate an image, send a message with this format:
ami# Your image description here
Example:
ami# A futuristic city with flying cars at sunset
The bot will:
ami# prefixam# or ami# Edit the Schedule node to change the 10-second interval
In the Process Offset node, modify timeWindowSeconds variable (default: 15)
--temperature "0.3" in Execute - Text node--temperature "0.7" in Execute - Image node--model "gtp-4" by defaultIn Execute - Image node, modify:
--height=1080--width=1920/tmp/ directory periodically to remove temporary filesThis 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 | Generate text & image responses in Telegram channels with GPT-4 and TGPT |
|---|---|
| Complexity | advanced |
| Nodes | 22 |
| Categories | Support Chatbot, AI Chatbot |
| Author | Vigh Sandor |
| Published | 17 Oct 2025 |
Use the JSON export at /data/workflows/9818/9818.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.
Telegram AI Channel Bot Text & Image Response Generator with TGPT Overview This n8n workflow creates an automated Telegram channel bot that responds to messages with AI generated text or images usi...
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 Support Chatbot, AI Chatbot use case.