AI Agents

Smart Telegram Responses Powered by OpenAI

21 nodes 235 124 Automatic trigger
Download

Workflow Description

Automation that receives Telegram messages and processes them through an AI agent backed by OpenAI, maintains conversation context via memory, and sends intelligent replies back to the user automatically.

How it works

  1. 1.Capture incoming Telegram messages in real-time
  2. 2.Process text through an OpenAI-powered intelligent agent
  3. 3.Retain conversation history in buffer memory
  4. 4.Generate and send smart responses back to Telegram

Use cases

  • 24/7 intelligent customer support chatbot
  • Personal assistant answering immediate questions
  • First-level sales inquiry management via Telegram

Requirements

  • Active Telegram account and bot token
  • OpenAI API key with sufficient credits
  • n8n instance with connected execution nodes

Service Value

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

Apps Used

Telegram Mcp Trigger AI Agent Tool OpenAI Memory

Details

Trigger Automatic trigger
Nodes 21
Apps 6
Views 235
Downloads 124

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

/

Incoming Message

Set

#1

MCP Server Trigger

Mcp Trigger

#2

AI Agent

Agent

#3

MCP Client

Mcp Client Tool

#4

OpenAI Chat Model

OpenAI

#5

Simple Memory

Memory Buffer Window

#6

chatInput

Set

#7

create_todays_task

Google Tasks Tool

#8

chatOutput

Set

#9

sendMessage

Set

#10

create_upcoming_task

Google Tasks Tool

#11

complete_task

Google Tasks Tool

#12

get_todays_tasks

Google Tasks Tool

#13

get_upcoming_tasks

Google Tasks Tool

#14

Switch

Switch

#15

audio_id

Set

#16

download_audio

Set

#17

transcribeAudio

OpenAI

#18

audioInput

Set

#19

Sticky Note

Sticky Note

#20

Sticky Note1

Sticky Note

#21