Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Chat with OpenAIs GPT via a simple Telegram Bot

n8n template #2114
Use case LLMs have provided a lot of value for several use cases. Especially some OpenAI models are proving to be quite valuable. However, it's sometimes not super accessible to chat with these models. This workflow enables you to chate directly with OpenAI's GPT-3.5 via Telegram. How it works A simple telegram bot that connects to your botfather bot to give AI responses, using OpenAI's GPT 3.5 model, to a user's messages with emojis. What to do Add your telegram API key and your OpenAI api key and have fun!

How to set it up

  1. Open template #2114 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 Chat Model. Then open each of those nodes and pick the credential.
  3. Check the model in the AI Agent 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 "Chat with OpenAIs GPT via a simple Telegram Bot" (https://n8n.io/workflows/2114). It uses: Telegram, AI Agent, OpenAI Chat Model. 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. Mike published it free on n8n.io, and it has 39K views. It runs on n8n Cloud or a self-hosted n8n instance.

Telegram, OpenAI Chat Model. The other 1 node 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. Conversational Telegram Bot with GPT-5/GPT-4o for Text and Voice Messages82K
  4. 🤖 AI Powered RAG Chatbot for Your Docs + Google Drive + Gemini + Qdrant65K
  5. Telegram AI bot with LangChain nodes59K
  6. ✨🩷Automated Social Media Content Publishing Factory + System Prompt Composition55K
  7. 🤖🧠 AI Agent Chatbot + LONG TERM Memory + Note Storage + Telegram52K
  8. 🔍🛠️Generate SEO-Optimized WordPress Content with AI Powered Perplexity Research45K