AI Agents

Connect OpenAI with Telegram

14 nodes 219 131 Scheduled trigger
Download

Workflow Description

Automation template that combines OpenAI's intelligence with Telegram's immediacy to schedule smart messages. It processes long texts by splitting them, passes them through an LLM chain for summarization, and delivers results directly to Telegram channels or groups.

How it works

  1. 1.Trigger the automation on a predefined schedule
  2. 2.Segment lengthy text into processable chunks using Text Splitter
  3. 3.Process each segment through LLM Chain and OpenAI for intelligent summarization and formatting
  4. 4.Send the processed message to your Telegram destination

Use cases

  • Publish daily summaries of articles or reports to a Telegram channel
  • Generate scheduled smart alerts and condensed updates from large datasets or news feeds

Requirements

  • Valid OpenAI API key with access to GPT models
  • Telegram Bot token with permissions to send messages to target channels or groups

Service Value

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

Apps Used

OpenAI LLM Chain Text Splitter Telegram

Details

Trigger Scheduled trigger
Nodes 14
Apps 4
Views 219
Downloads 131

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

/

OpenAI Chat Model

OpenAI

#1

Schedule Trigger

Schedule Trigger

#2

OpenAI Chat Model2

OpenAI

#3

Sticky Note

Sticky Note

#4

Create a Prompt for DALL-E

Chain Summarization

#5

Sticky Note1

Sticky Note

#6

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#7

Create a story

Chain Summarization

#8

Generate Audio for the story

OpenAI

#9

Generate a Picture for the story

OpenAI

#10

Send Story Text

Set

#11

Send Audio for the story

Set

#12

Send Story Picture

Set

#13

Config

Set

#14