π¬ Telegram AI chatbot
β‘ 221,673 views Β· π¬ Support Chatbots
Description
The workflow starts by listening for messages from Telegram users. The message is then processed, and based on its content, different actions are taken. If itβs a regular chat message, the workflow generates a response using the OpenAI API and sends it back to the user. If itβs a command to create an image, the workflow generates an image using the OpenAI API and sends the image to the user. If the command is unsupported, an error message is sent. Throughout the workflow, there are additional nodes for displaying notes and simulating typing actions.
bot_workflow_annotated.png
π Nodes Used
Telegram, Telegram Trigger, OpenAI
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File