AI Agents

Connect Telegram with OpenAI

8 nodes 212 134 Automatic trigger
Download

Workflow Description

An automation template connecting Telegram with OpenAI that receives messages from Telegram chats, processes them through AI models, and returns intelligent responses to users automatically and instantly.

How it works

  1. 1.Receive text messages from Telegram chats through the trigger node
  2. 2.Send the message content to OpenAI for intelligent processing and response generation
  3. 3.Wait for the response from the artificial intelligence model
  4. 4.Analyze the reply and route it based on the content type
  5. 5.Send the smart response directly back to the Telegram user

Use cases

  • Build a smart assistant that automatically answers customer inquiries on Telegram with AI-powered responses
  • Create an automated content editor that improves or rephrases messages before publishing

Requirements

  • Active OpenAI account with a valid API key for accessing AI models
  • Registered Telegram bot with a valid access token

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 8
Apps 2
Views 212
Downloads 134

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 (8)

Get the Image

Set

#1

Send Content for the Analyzed image

Set

#2

Sticky Note

Sticky Note

#3

Update Telegram Error Message

Set

#4

Wait

Wait

#5

Sticky Note1

Sticky Note

#6

Analyze image

OpenAI

#7

Switch ( image or not )

Switch

#8