AI Agents

Connect Telegram with OpenAI

12 nodes 220 121 Automatic trigger
Download

Workflow Description

Automate responses to Telegram messages using OpenAI's intelligence. Messages trigger a workflow that processes text through AI, generates intelligent replies, and sends them back to users instantly. Combines conversational AI with Telegram's accessible platform for seamless automation.

How it works

  1. 1.Detect incoming message from Telegram user automatically
  2. 2.Send message content to OpenAI for intelligent processing and generation
  3. 3.Merge and format relevant data for final response output
  4. 4.Deliver AI-generated reply directly to user via Telegram

Use cases

  • Intelligent customer support chatbot handling inquiries 24/7
  • Personal assistant bot answering questions and providing instant information
  • Feedback collection and analysis system for user insights

Requirements

  • Active Telegram account with valid Bot API token
  • Valid OpenAI API key with active subscription or credits
  • Sufficient API rate limits for expected message volume

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Telegram OpenAI

Details

Trigger Automatic trigger
Nodes 12
Apps 2
Views 220
Downloads 121

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (12)

/

Telegram Trigger

Set

#1

OpenAI

OpenAI

#2

Telegram

Set

#3

Merge

Merge

#4

Aggregate

Aggregate

#5

Sticky Note2

Sticky Note

#6

Sticky Note

Sticky Note

#7

Sticky Note1

Sticky Note

#8

Sticky Note3

Sticky Note

#9

Sticky Note4

Sticky Note

#10

Sticky Note5

Sticky Note

#11

Sticky Note6

Sticky Note

#12