πŸ‹πŸ€– DeepSeek AI Agent + Telegram + LONG TERM Memory 🧠

Receive Telegram Message with Webhook

Workflow Structure (15 nodes)
100%
Webhook
Listen for Telegram Events
Set
Validation
If
Check User & Chat ID
Switch
Message Router
Google Docs
Retrieve Long Term Memories
Langchain.agent
AI Agent
Merge
Merge
Telegram
Telegram Response
Telegram
Response Error message
Langchain.chat Trigger
When chat message received
Telegram
Error message
Langchain.lm Chat Open Ai
DeepSeek-R1 Reasoning
Langchain.lm Chat Open Ai
DeepSeek-V3 Chat
Langchain.memory Buffer Window
Window Buffer Memory
Google Docs Tool
Save Long Term Memories
Node Types:
logic
action
trigger
transform
default
Requires credentials

Prerequisites

Required Credentials (3)

Google Docs

Used by: Save Long Term Memories, Retrieve Long Term Memories

Docs

OpenAI

Used by: DeepSeek-R1 Reasoning, DeepSeek-V3 Chat

Docs

Telegram

Used by: Error message, Telegram Response +1 more

Docs

Multiple services required

This workflow needs 3 different credentials. Make sure you have accounts for all services before importing.

Complexity

Complex

Advanced features used. Requires n8n experience.

Setup time: ~40 min
Score: 55/100
Conditional Logic
4 Integrations

When to Use This Workflow

Streamline Team Communication

Automatically route notifications and updates to the right channels and people.

Reduce information overload while keeping everyone informed.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "id": "rtsvydad1MOCryia",
  "meta": {
    "instanceId": "31e69f7f4a77bf465b805824e303232f0227212ae922d12133a0f96ffeab4fef"
  },
  "name": "πŸ‹πŸ€– DeepSeek AI Agent + Telegram + LONG TERM Memory 🧠",
  "tags": [],
  "nodes": [
    {
      "id": "23b50c07-39a8-4166-ab13-9683b3ee25e6",
      "name": "Check User & Chat ID",
      "type": "n8n-nodes-base.if",
      "position": [
        -80,
        160
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
...

Workflow Details

Nodes
23
Trigger
Webhook
Source
awesome
Added
Dec 4, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

πŸ€–πŸ§  AI Agent Chatbot + LONG TERM Memory + Note Storage + Telegram

Retrieve Long Term Memories Google Docs

Chat
Lmchatopenai
Memorybufferwindow
Googledocstool
21 nodesEvent
Curated

InstaTest

Easy Instagram(via ManyChat) bot --- Description: This template is a main part of Entire solution. It's getting new mes...

Memorybufferwindow
Lmchatopenai
Webhook
Agent
11 nodesWebhook
Curated

IT Ops AI SlackBot Workflow - Chat with your knowledge base

![Imgur](https://i.imgur.com/iKyMV0N.png) Webhook Trigger The first node receives all messages from Slack API via Subsc...

Lmchatopenai
Memorybufferwindow
Slack
Webhook
20 nodesWebhook
Curated

Business WhatsApp AI RAG Chatbot

STEP 4 RAG System Respond webhook receives various POST Requests from Meta regarding WhatsApp messages (user messages...

Agent
Lmchatopenai
Vectorstoreqdrant
Http-request
24 nodesWebhook
Curated

πŸ‹πŸ€– DeepSeek AI Agent + Telegram + LONG TERM Memory 🧠

Automated workflow: πŸ‹πŸ€– DeepSeek AI Agent + Telegram + LONG TERM Memory 🧠. This workflow integrates 14 different servi...

Telegram
Webhook
Googledocstool
Google-docs
23 nodesWebhook

πŸ‹πŸ€– DeepSeek AI Agent + Telegram + LONG TERM Memory 🧠

Automated workflow: πŸ‹πŸ€– DeepSeek AI Agent + Telegram + LONG TERM Memory 🧠. This workflow integrates 14 different servi...

Telegram
Webhook
Googledocstool
Google-docs
23 nodesWebhook