A simple Telegram bot workflow that forwards incoming Telegram messages to OpenAI’s GPT (via the LangChain nodes) and returns the model’s reply back to the user. Ideal for creating a lightweight chat interface so you can interact with GPT directly inside Telegram.
What You Can Do
- Receive messages from Telegram users and trigger the workflow automatically.
- Send the incoming message text to OpenAI’s chat model (via the n8n LangChain integration) and generate a conversational reply.
- Return the AI-generated response to the same Telegram chat, preserving the conversation context per message.
Quick Start
- Import this workflow into n8n.
- Configure credentials for Telegram (Telegram Bot API token) and OpenAI (API key) in n8n.
- Update the Telegram Trigger node webhook if needed (n8n will usually handle this when activating the workflow).
- Activate the workflow and send a message to your Telegram bot to test. The workflow will respond with GPT-generated text (with emojis, per the default prompt).



