⚑ πŸ‹πŸ€– DeepSeek AI agent + Telegram + LONG TERM memory 🧠

⚑ 33,921 views · ⚑ Personal Productivity

Description

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

AI-Powered Responses

Error Handling


Model Options 🧠


Quick Setup πŸ› οΈ

Telegram Webhook Configuration

  1. Set up a webhook using the Telegram Bot API:
    https://api.telegram.org/bot{my_bot_token}/setWebhook?url={url_to_send_updates_to}
    Replace {my_bot_token} with your bot’s token and {url_to_send_updates_to} with your n8n webhook URL.
  2. Verify the webhook setup using:
    https://api.telegram.org/bot{my_bot_token}/getWebhookInfo

DeepSeek API Configuration

  1. Base URL: https://api.deepseek.com
  2. Obtain your API key from the DeepSeek platform.

Implementation Details πŸ”§

User Validation

Message Routing

AI Agent Interaction

Memory Management

πŸ”— Nodes Used

Webhook, Telegram, Google Docs, AI Agent, OpenAI Chat Model, Simple Memory

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup