Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Telegram AI Chatbot

n8n template #1934
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.

How to set it up

  1. Open template #1934 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. Create 2 credentials under Credentials → Add credential: Telegram, OpenAI. Then open each of those nodes and pick the credential.
  3. Check the model in the OpenAI node. The template may point at a model your account can't use; swap it for one you have access to.
  4. Click Execute workflow and step through each node's output to confirm the data looks right.
  5. Toggle the workflow to Active so its trigger runs on its own.

Hand off to your agent

Prompt

Help me set up the n8n workflow "Telegram AI Chatbot" (https://n8n.io/workflows/1934). It uses: Telegram, OpenAI. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Questions

Yes. Eduard published it free on n8n.io as a verified creator, and it has 169K views. It runs on n8n Cloud or a self-hosted n8n instance.

Telegram, OpenAI. The other 0 nodes are built into n8n.

Similar workflows

NameViews
  1. Angie, personal AI assistant with Telegram voice and text326K
  2. ✨🤖Automate Multi-Platform Social Media Content Creation with AI205K
  3. Clone Viral TikToks with AI Avatars & Auto-Post to 9 Platforms using Perplexity & Blotato84K
  4. Conversational Telegram Bot with GPT-5/GPT-4o for Text and Voice Messages82K
  5. Generate Instagram Content from Top Trends with AI Image Generation72K
  6. 🤖 Telegram Messaging Agent for Text/Audio/Images46K
  7. Upload to Instagram, TikTok & YouTube from Google Drive45K
  8. 🔍🛠️Generate SEO-Optimized WordPress Content with AI Powered Perplexity Research45K