All-in-one Telegram/Baserow AI assistant 🤖🧠 Voice/Photo/Save notes/Long term mem
Needs changesWhat this workflow does
This AI workflow has 28 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Telegram, OpenAI and Postgres Chat Memory and 1 more.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Validation (Edit Fields (Set)): sets 3 fields: first_name, last_name, id
- Check User & Chat ID (If): checks a condition and branches into true / false
- Message Router (Switch): routes items into 3 branches
- Error message (Telegram): uses Telegram
- Get Audio File (Telegram): work with file
- Edit Fields (Edit Fields (Set)): sets 1 field: text
- Image Schema (Edit Fields (Set)): sets 2 fields: image_file_id, caption
- Transcribe Recording (OpenAI): transcribe (audio)
- Baserow: uses Baserow
- Baserow: uses Baserow
…plus 13 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Tools Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Tools Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (17)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Edit Fields (Set)
n8n-nodes-base.set - Telegram
n8n-nodes-base.telegram - AI Agent
@n8n/n8n-nodes-langchain.agent - Aggregate
n8n-nodes-base.aggregate - Merge
n8n-nodes-base.merge - OpenAI
@n8n/n8n-nodes-langchain.openAi - Convert to File
n8n-nodes-base.convertToFile - Extract from File
n8n-nodes-base.extractFromFile - Switch
n8n-nodes-base.switch - Split Out
n8n-nodes-base.splitOut - Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat - Baserow Tool
n8n-nodes-base.baserowTool - Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - Baserow
n8n-nodes-base.baserow - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
From the author
Telegram Personal Assistant with Long-Term Memory & Note-Taking This n8n workflow transforms your Telegram bot into a powerful personal assistant that handles voice, photo, and text messages. The assistant uses AI to interpret messages, save important details…