ππ€ DeepSeek AI agent + Telegram + LONG TERM memory π§
This n8n workflow template is designed to integrate a DeepSeek AI agent with Telegram, incorporating long-term memory capabilities for personalized and context-aware responses. Here's a detailed breakdown: --- Core Features Telegram Integration - Uses a webhook to receive messages from Telegram users. - Validates user identity and message content before processing. AI-Powered Responses - Employs DeepSeek's AI models for conversational interactions. - Includes memory capabilitie
At a glance
ππ€ DeepSeek AI agent + Telegram + LONG TERM memory π§ is a ready-made n8n workflow you import as a workflow JSON file β no build required. It connects Telegram. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- Telegram
- Modules
- 15
- Price
- Free
- Version
- v1.0

About this workflow
This n8n workflow template is designed to integrate a DeepSeek AI agent with Telegram, incorporating long-term memory capabilities for personalized and context-aware responses. Here's a detailed breakdown: --- Core Features Telegram Integration - Uses a webhook to receive messages from Telegram users. - Validates user identity and message content before processing. AI-Powered Responses - Employs DeepSeek's AI models for conversational interactions. - Includes memory capabilities to personalize responses based on past interactions. Error Handling - Sends an error message if the input cannot be processed. --- Model Options π§ - DeepSeek-V3 Chat: Handles general conversational tasks. - DeepSeek-R1 Reasoning: Provides advanced reasoning capabilities for complex queries. - Memory Buffer Window: Maintains session context for ongoing conversations. --- Quick Setup π οΈ Telegram Webhook Configuration 1. Set up a webhook using the Telegram Bot API: Replace {mybottoken} with your bot's token and {urltosendupdatesto} with your n8n webhook URL. 2. Verify the webhook setup using: DeepSeek API Configuration 1. Base URL: 2. Obtain your API key from the DeepSeek platform. --- Implementation Details π§ User Validation - The workflow validates the user's first name, last name, and ID using data from incoming Telegram messages. - Only authorized users proceed to the next steps. Message Routing - Routes messages based on their type (text, audio, or image) using a switch node. - Ensures appropriate handling for each message format. AI Agent Interaction - Processes text input using DeepSeek-V3 or DeepSeek-R1 models. - Customizable system prompts define the AI's behavior and rules, ensuring user-centric and context-aware responses. Memory Management - Retrieves long-term memories stored in Google Docs to enhance personalization. - Saves new memories based on user interactions, ensuring continuity across sessions.
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n β click the menu β Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
Automated client onboarding system with Notion, email & CRM integration
Get Telegram messages for new Basin submissions
Generate & publish AI faceless videos to YouTube Shorts using Sora 2
Send a Telegram message for every new Microsoft email received
Generate Hollywood-style video ads from images with GPT-5 Mini and Fal.ai Sora-2
Indeed job matching to Telegram with BrowserAct, Gemini & Telegram
Audit Google Drive file permissions for access control management
Tesla financial market data analyst tool (multi-timeframe technical AI agent)
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint β instant download
- Setup guide PDF included
- 5 downloads Β· valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you