AI Agents

Connect Telegram with OpenAI andAirtable

35 nodes 218 126 Automatic trigger
Download

Workflow Description

Advanced automation template connecting Telegram with an intelligent OpenAI agent that stores conversations in Airtable. Supports batch message processing and maintains conversation context through memory management for seamless multi-turn interactions.

How it works

  1. 1.Receive incoming Telegram messages via the dedicated trigger
  2. 2.Process text using OpenAI agent with contextual memory buffer
  3. 3.Store responses and conversation data in Airtable database

Use cases

  • Build an intelligent assistant answering customer questions on Telegram
  • Automate data collection and note-taking from conversations
  • Create an automated support system maintaining full conversation history

Requirements

  • Active Telegram account with configured bot
  • OpenAI API key for agent processing
  • Airtable account with prepared database schema

Service Value

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

Apps Used

Memory Tool AI Agent Telegram Twitter/X OpenAI Airtable Split In Batches

Details

Trigger Automatic trigger
Nodes 35
Apps 8
Views 218
Downloads 126

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

/

Window Buffer Memory

Memory Buffer Window

#1

Get Chart

Tool Workflow

#2

AI Agent

Agent

#3

Telegram Trigger

Set

#4

Send Analysis

Set

#5

Workflow Input Trigger

Execute Workflow Trigger

#6

response

Set

#7

Download Chart

HTTP Request

#8

Get Chart URL

HTTP Request

#9

Send Chart

Set

#10

OpenAI Chat Model

OpenAI

#11

Switch

Switch

#12

Transcribe

OpenAI

#13

Download File

Set

#14

Set Text

Set

#15

Set Values

Set

#16

Technical Analysis

OpenAI

#17

Webhook

Webhook

#18

Set Text1

Set

#19

Save Ticker

Airtable Tool

#20

Loop Over Items

Split In Batches

#21

Schedule Trigger

Schedule Trigger

#22

Run Agent

HTTP Request

#23

Get tokens

Airtable

#24

Sticky Note

Sticky Note

#25

Sticky Note3

Sticky Note

#26

Sticky Note1

Sticky Note

#27

Sticky Note4

Sticky Note

#28

Sticky Note5

Sticky Note

#29

Sticky Note6

Sticky Note

#30

Sticky Note7

Sticky Note

#31

Sticky Note8

Sticky Note

#32

Sticky Note11

Sticky Note

#33

Sticky Note9

Sticky Note

#34

Sticky Note12

Sticky Note

#35