AgentRecipes
Recipes › Research & monitoring

How to build a Telegram second brain for saving and searching links (n8n)

Research & monitoringn8n

The problem

Links you send yourself in chats get lost. You want to save them in one tap and later ask questions about what you saved.

Tools needed

Step-by-step recipe

  1. Create a Telegram AI agent that sorts each message: a URL is saved, a question is searched, anything else gets a short how-to reply.
  2. For saving, call a webhook that normalises the URL and reads the page with Jina Reader.
  3. Have an AI 'librarian' write a summary and reuse existing categories.
  4. Upsert the entry into Google Sheets by URL and embed the full text into Supabase.
  5. Give the agent two search tools: one over the Sheet, one over the page text.

Copyable prompt

Prompt template
You are my link librarian.
When I send a URL: summarise the page in 2 sentences, pick 1-2 categories from this list [EXISTING CATEGORIES] (create a new one only if nothing fits), and save it.
When I ask a question: search my saved links and answer in 3 bullets with the matching links. If nothing matches, say so.
Otherwise: reply with one line explaining how to use you.

Original template written by AgentRecipes, not copied from the source. Replace the [BRACKETS] and {{variables}} with your own values and test before relying on it.

What the builder reported

The author says it works: resending a link updates the existing entry instead of duplicating it, and unreadable pages aren't filed. No usage numbers were shared.

These are the source author's own claims. AgentRecipes has not tested or verified them.

Watch out for

Source

Original write-up: n8n Community forum ↗

Found via Agent Use Cases: “Save and search links via a Telegram second brain”. This recipe summarises the source in our own words; read the original for the full details. Link last checked 2026-10-15.

More research & monitoring recipes

Summarise newsletters into a Notion database with n8nUseful newsletters go unread because there are too many of them; you want the key points, with links, in one searchable place.n8nTrack new arXiv papers in Notion every day with n8n and GeminiKeeping up with new papers on a topic means checking arXiv every day and skimming abstracts.n8nTurn any article URL into a structured Notion note with n8nSaving articles as bare links means you never find or reread them; you want a summary, key insights and tags stored with each one.n8n

New agent recipes in your inbox

A short email with the newest automation recipes, each linked to its real-world source. No spam, unsubscribe anytime.