Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
An n8n workflow that answers Telegram messages with a DeepSeek agent. It reads long term memories from a Google Doc on every message, saves new ones and replies in the same chat.
Telegram chatbot on DeepSeek with memories in Google Docs is an n8n workflow in the Productivity category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
Telegram message
It starts when Telegram posts a new message to the workflow's webhook address:
A reply in your Telegram chat, and a Google Doc that grows with the memories the agent saves
What you need before you start.
Chat app
Delivers each message to n8n and sends the replies.
NeedsA bot token from BotFather and a webhook that points at your n8n
Language model
Writes each answer and decides what is worth saving, on deepseek-flash.
NeedsA DeepSeek API key, entered in an OpenAI credential with DeepSeek's Base URL
Documents
Holds the memories: it is read on every message and added to by the agent.
NeedsA Google Docs credential and one Google Doc
Checked by Mindket on 13 Nov 2026
This n8n workflow turns a Telegram bot into an assistant that remembers you. Each message you send is answered by a DeepSeek agent that first reads a Google Doc full of saved memories. When you share something worth keeping, the agent adds it to the Doc. Fifteen nodes do the work, beside eight sticky notes.
Anyone who wants a private chat assistant that keeps what it learns about them. Skip it if you want voice or photo replies, since only text messages are answered.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Personal | Busy professionals | Keep a chat assistant that knows their habits | A user says mornings are for deep work, and later asks for a week plan that respects it. |
| Coaching | Coaches | Keep a running note on each goal | A coach tells the bot a goal, and the next chat starts from it. |
| Small business | Shop owners | Store supplier details and ask for them later | An owner saves a supplier’s lead time and asks about it a week on. |
| Learning | Language learners | Practise with a partner that recalls their level | A learner mentions an exam date, and the bot plans revision around it. |
You need a Telegram bot, a Google account, a DeepSeek API key and an n8n that Telegram can reach over the internet.
Telegram posts every message to a web address, so your n8n needs a public HTTPS address. After that you chat with your bot as you would with a friend.
AI AgentDownload saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Setup ends with telling Telegram where to send messages.
| Need | Detail |
|---|---|
| n8n | A server or n8n Cloud with a public HTTPS address |
| Telegram | A bot token from BotFather, for a Telegram credential |
| Google Docs | A Google Docs OAuth2 credential and one empty Google Doc for the memories |
| DeepSeek | An API key, entered in an OpenAI credential whose Base URL is https://api.deepseek.com |
workflow.json.Telegram Response, Error message and Response Error message.Save Long Term Memories and Retrieve Long Term Memories, select it and replace <YOUR_GOOGLE_DOC_ID> with the Doc’s id or address.https://api.deepseek.com, then select it in DeepSeek Flash Chat.Validation, replace the example first name, last name and numeric id with your own Telegram details.Listen for Telegram Events and register it with Telegram as the sticky note beside it describes.Chat with the bot. It answers with the Doc’s memories in mind, and it adds a short dated memory when you share a preference, a habit or an important date. Open the Doc to read or tidy the memories. Nothing is sent unless you write first.
| To change | Where |
|---|---|
| Who may use the bot | First name, last name and id in Validation |
| The bot’s role and rules | System Message in AI Agent |
| Where memories live | The Doc in the two Google Docs nodes |
| The model | Model in DeepSeek Flash Chat |
You tell the bot you are vegetarian and that your sister’s birthday falls on 3 March. The agent saves each fact in the Doc with its date and answers with a friendly note.
Weeks later you ask for ideas for a party menu. The workflow reads the Doc first, so the suggestions are vegetarian and the bot mentions the birthday.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. A webhook is an address n8n listens on, and Telegram posts each new message to it. An AI agent is a model that can use tools, here a tool that writes to a Google Doc.
For experts. Merge joins the message with the memories using combine all, so the agent gets both at once. The agent’s error output sends the fallback reply. Window Buffer Memory and the disabled chat trigger sit in the file but are not connected.
| Node | What it does | What to know |
|---|---|---|
Listen for Telegram Events | Webhook 2, POST on the path wbot | The address is public, so the sender check is the only gate |
Validation | Set 3.4, three example values | You replace them with your own details |
Check User & Chat ID | If 2.2, compares first name, last name and id | A failed check sends the error reply |
Message Router | Switch 3.2, outputs for audio, text, image and everything else | Only text and the fallback are connected |
Retrieve Long Term Memories | Google Docs 2, Get | It returns the Doc text as content |
Merge | Merge 3, combine all | It joins the message with the memories |
AI Agent | Agent 1.7 with a system message and one tool | It reads the memories from its prompt |
DeepSeek Flash Chat | OpenAI Chat Model 1.1 on deepseek-flash | The credential’s Base URL points at DeepSeek |
Save Long Term Memories | Google Docs Tool 2, update with insert | The model writes the text and the workflow adds the date |
Telegram Response | Telegram 1.2, send message in HTML mode | A < or & in an answer can make Telegram refuse it |
The original named two DeepSeek models that are ending, and several parts of it are only half wired.
deepseek-chat and deepseek-reasoner end on 24 July 2026. Its thinking mode guide names deepseek-flash and deepseek-v4-pro, so Mindket’s copy uses deepseek-flash for the agent and deepseek-v4-pro in the spare node<, > and & to be escaped, so an answer that holds them can fail to sendAn n8n workflow that answers Telegram messages with a DeepSeek agent. On every message it reads a Google Doc of saved memories, can
add a new memory to it and replies in the same chat. Only text messages are answered.
workflow.json: the workflow as n8n exports it, fifteen working nodes and eight sticky notes. It holds no credential.README.md: these notes.deepseek-chat and deepseek-reasoner, which DeepSeek is ending. Mindket's copy uses deepseek-flash in thedeepseek-v4-pro in the spare reasoning node. See Good to know.DeepSeek Flash Chat and DeepSeek Pro Reasoning, since the old names pointed at the retired<YOUR_GOOGLE_DOC_ID>.workflow.json.Telegram Response, Error message and Response Error message.Save Long Term Memories and Retrieve Long Term Memories,<YOUR_GOOGLE_DOC_ID> with the Doc's id or address.https://api.deepseek.com, then select it inDeepSeek Flash Chat.Validation, replace the example first name, last name and numeric id with your own Telegram details. The id is the numberListen for Telegram Events receives.Listen for Telegram Events and register it with Telegram as the sticky noteListen for Telegram Events receives the update from Telegram.Validation and Check User & Chat ID compare the sender with your details. Anyone else gets the reply from Error message.Message Router sorts the message. Text goes on, anything unknown gets the error reply, and voice and photos stop here.Retrieve Long Term Memories reads the Doc, and Merge joins the memories with the message.AI Agent answers on DeepSeek Flash Chat. It can call Save Long Term Memories to add a dated note to the Doc.Telegram Response sends the answer. If the agent fails, Response Error message sends the fallback reply.Validation.AI Agent.DeepSeek Flash Chat.deepseek-chat and deepseek-reasoner end on 24 July 2026. The thinkingdeepseek-flash and deepseek-v4-pro.<, > and & to be escaped, so an answer that holdsWindow Buffer Memory and the disabled chat trigger are in the file but not connected.NOTICE.md 681 B README.md 4 KB workflow.json 20 KB
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
zarazhangrui · Skill
Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…
iptv-org · Kit
Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…
uwg · Kit
Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…