Use this powerful n8n workflow to build a private, secure Telegram AI assistant. It handles voice, text, and image input, using Baserow for long-term memory and notes storage, powered by GPT-4o-mini.
Download this n8n workflow template and start using it instantly.
Users looking for advanced n8n templates integrating LangChain agents.
Developers needing a complex n8n workflow for personal, secure Telegram bots.
Businesses requiring persistent, context-aware AI interactions stored securely in Baserow.
Automation specialists mastering intricate multi-step n8n node sequences.
This comprehensive n8n workflow transforms a basic conversational bot into an intelligent, context-aware AI assistant. It solves the critical problem of short-term LLM memory limits by integrating Baserow as a dedicated, searchable database for persistent 'Memories' and 'Notes'. The solution utilizes an advanced AI Agent powered by GPT-4o-mini, capable of processing any input type—text messages, voice notes (transcribed using OpenAI Whisper), or images (analyzed via Vision). This complex n8n automation provides a secure and reliable platform, starting with user validation and ending with a personalized response. This n8n workflow serves as an excellent foundation for any complex AI application requiring persistent data storage and multi-modal handling.
The automation begins when the Listen for Telegram Events n8n trigger receives a message.
Check User & Chat ID n8n node to ensure security.Message Router n8n node directs the message based on content:Transcribe Recording n8n node converts it to text.Analyze Image n8n node (GPT-4o-mini Vision) generates a text description.Baserow Retrieve Memories and Baserow Retrieve Notes n8n nodes to fetch relevant historical context.AI Tools Agent. This agent decides the best action, using the gpt-4o-mini n8n node, and autonomously employs the Save Note Tool or Save Memory n8n tool nodes to update Baserow if needed.Telegram Response n8n node, completing the execution of the n8n workflow.To deploy this advanced n8n workflow template, follow these setup steps:
gpt-4o-mini, Transcribe Recording, and Analyze Image n8n nodes.Listen for Telegram Events, Get Audio File, Telegram Response, etc.).Postgres Chat Memory n8n node for short-term conversation storage.Validation n8n node to include your specific Telegram first name, last name, and user ID. This is vital to securing the n8n trigger and ensuring only you can run the n8n workflow. Listen for Telegram Events (n8n trigger): The webhook n8n trigger that initiates the entire n8n workflow upon receiving any message from Telegram.
Check User & Chat ID (If n8n node): Filters incoming data based on pre-set user details, securing the n8n workflow. It only proceeds if the message matches the expected user ID.
Message Router (Switch n8n node): Essential for multi-modal handling; this n8n node dynamically routes execution based on the presence of voice, text, or image data in the message body.
Transcribe Recording (OpenAI n8n node): Converts voice messages into usable text data for the LLM, leveraging the high efficiency of the Whisper model.
Analyze Image (OpenAI n8n node): An n8n node that leverages GPT-4o-mini's vision capabilities to describe images, turning visual data into contextual input for the AI.
Baserow Retrieve Memories / Notes (Baserow n8n node): Retrieves long-term context from the Baserow database, providing the AI Agent with personalized history.
Postgres Chat Memory (LangChain n8n node): Maintains session-based chat history using Postgres, allowing the AI Agent to recall recent conversational turns efficiently.
AI Tools Agent (LangChain n8n node): The core control structure. This n8n node processes the prompt, accesses the connected LLM (gpt-4o-mini n8n node), utilizes memory, and determines if it needs to execute the Baserow Tool n8n nodes.
Use this sophisticated n8n workflow template to monitor equipment health via API, check critical conditions, log data to Google Sheets, and instantly alert your team using the Microsoft Teams n8n node.

Use this n8n workflow to instantly send Twilio SMS notifications to customers whenever an order status changes in Airtable. Automate status tracking and customer communication efficiently.

Use this advanced n8n workflow template to perform high-volume, rate-limit-safe Airtable batch operations (upsert, insert, update) via optimized HTTP Request n8n nodes, improving speed and saving API calls.

Deploy an n8n workflow to expose Kitemaker API operations (Users, Work Items, Spaces) as callable tools for AI Agents using the n8n MCP Server trigger and specialized Kitemaker n8n nodes.

Use this advanced n8n workflow template to build a reliable Telegram chatbot that queues rapid user messages via Supabase, ensuring the OpenAI agent receives a single, coherent prompt and provides one unified response.

Automate your social media presence! This robust n8n workflow uses an n8n trigger (interval) to fetch altcoin news via RSS, refine it using DeepSeek AI, store data in Google Sheets, and post sequentially to LinkedIn. Get started with these powerful n8n templates.


Automation enthusiast and builder of real-world AI tools. I specialize in self-hosted n8n workflows. My projects focus on practical AI applications, from data enrichment and search automation to AI-driven contact management. Always exploring new ways to make automation simple, efficient, and FUN!







































