Telegram Image Analysis and Response Bot
detail.loadingPreview
Automates image analysis from Telegram messages and provides responses.
About This Workflow
This workflow automates the process of receiving images via Telegram, analyzing them using OpenAI, and sending back the analysis results. It's designed to handle both image and non-image messages, providing specific feedback for each scenario.
Key Features
- Telegram Integration: Triggers on new Telegram messages and sends responses back to the chat.
- Image Detection: Uses a Switch node to differentiate between messages containing images and those that do not.
- AI-Powered Analysis: Leverages OpenAI's capabilities to analyze image content.
- Error Handling: Provides a user-friendly message if an image is not detected.
How To Use
- Telegram Trigger (
Get the Image): Configure this node to receive messages from your Telegram bot. - Switch Node (
Switch ( image or not )): This node checks if the incoming message contains an image (message.photo).- If an image is present, it routes the flow to the
Analyze imagenode. - If no image is present, it routes the flow to a
Waitnode before sending an error message.
- If an image is present, it routes the flow to the
- OpenAI Image Analysis (
Analyze image): This node takes the image (provided as base64) and sends it to OpenAI for analysis. - Telegram Response (
Send Content for the Analyzed image): The analyzed content from OpenAI is sent back to the Telegram chat. - Error Handling: If no image is detected, a
Waitnode is activated, followed by aTelegramnode (Update Telegram Error Message) to inform the user to upload an image.
Apps Used
Workflow JSON
{
"id": "8658dbc8-b424-4408-b438-caa9ba4b0fad",
"name": "Telegram Image Analysis and Response Bot",
"nodes": 16,
"category": "Automation",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 8658dbc8-b424...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Related Workflows
Discover more workflows you might like
Automated Google Drive Backup for n8n Workflows
Automatically back up n8n workflows to Google Drive on a schedule.
Dynamic Prompt Generation from GitHub with Language Model Integration
Fetches prompts from a GitHub repository, substitutes variables, and processes them with an AI agent.
Inventory Slack Alert Workflow
Triggers an alert based on inventory changes, processes data using RAG, and logs results.