Connect OpenAI with Telegram
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.Trigger the automation on a predefined schedule
- 2.Segment lengthy text into processable chunks using Text Splitter
- 3.Process each segment through LLM Chain and OpenAI for intelligent summarization and formatting
- 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
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (14)
OpenAI Chat Model
OpenAI
Schedule Trigger
Schedule Trigger
OpenAI Chat Model2
OpenAI
Sticky Note
Sticky Note
Create a Prompt for DALL-E
Chain Summarization
Sticky Note1
Sticky Note
Recursive Character Text Splitter
Text Splitter Recursive Character Text Splitter
Create a story
Chain Summarization
Generate Audio for the story
OpenAI
Generate a Picture for the story
OpenAI
Send Story Text
Set
Send Audio for the story
Set
Send Story Picture
Set
Config
Set