n8n workflow template · 15 nodes · Telegram
DeepSeek AI Agent + Telegram + LONG TERM Memory is a free n8n workflow template that starts when its webhook receives an HTTP request and works with Telegram, Google Docs and OpenAI. It has 15 nodes, 5 of them AI nodes (AI Agent, Window Buffer Memory, Chat Trigger and OpenAI Chat Model). To run it, you add your own credentials for Google Docs OAuth2, OpenAI API and Telegram Bot API.
The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.
The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.
Basic Concept A WebHook allows your Telegram bot to automatically receive updates instead of manually polling the Bot API.
Setup Method To set a WebHook, make a GET request using this URL format
Verification To verify the WebHook setup, use
A successful response looks like
This method provides a simple and efficient way to handle Telegram bot updates automatically through webhooks rather than manual polling.
The DeepSeek API uses an API format compatible with OpenAI. By modifying the configuration, you can use the OpenAI SDK or softwares compatible with the OpenAI API to access the DeepSeek API.
Parameter | Value | |-----------|--------| | base_url | | | api_key
The 15 nodes in file order (sticky notes excluded). Branches and connections determine execution order in n8n:
Configure your own credentials after importing. Create each credential in n8n, then select it in the node.
Do you need somewhere to run it? Read our guide to self-hosted n8n.
We can adapt this workflow to your apps, data and process, then deploy and support it.
Contact Us