Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Build a Telegram Bookmark Library With Semantic Search

Overview

An n8n workflow saves links you send to a Telegram bot into a Supabase vector table, and an AI Agent node searches that table to answer questions about what you saved.

Problem or Objective

More in Research and Analysis

AI Agents and Models

Tools and Integrations

Tools
n8n · Telegram · Supabase
Prerequisites
An n8n instance (cloud or self-hosted), a Telegram bot token, a Supabase project with a table for vectors, and API access to a chat model and an embeddings model.

How It Works

Create a Telegram bot and add its credentials in n8n. Start a workflow with the Telegram Trigger node listening for new messages, and add a filter step so that only messages from your own chat ID go on. Ask each message to include the link plus a sentence on why you saved it. Pass the message text to a Supabase Vector Store node in Insert Documents mode, pointing it at a table you created in your Supabase project, with the embeddings and document sub-nodes the node asks for. In a second branch for questions, connect an AI Agent node to a chat model and attach the Supabase Vector Store node to its tools connector (or use the Vector Store Question Answer Tool), so the agent searches your saved links when you ask something like "what did I save about database indexing?" and replies in Telegram with the matching links.

Implementation Workflow

Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.

  1. Choose the agentSet up n8n.
  2. Connect the toolsConnect the tools this workflow relies on: n8n, Telegram, Supabase.
  3. Check the prerequisitesAn n8n instance (cloud or self-hosted), a Telegram bot token, a Supabase project with a table for vectors, and API access to a chat model and an embeddings model.
  4. Gather your detailsCollect what the prompt asks for: What you are looking for, How many links to return.
  5. Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
  6. Check against the documentationCompare what you get with the documentation at docs.n8n.io before you rely on it.

Practical Starter Prompt: Answer from my saved links

Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].

Preview
You answer questions about links I have saved. Use the saved-links vector store tool to search for [What you are looking for] and reply with up to [How many links to return] matching links, each with the note I saved alongside it. If nothing relevant is stored, say so plainly instead of guessing, and never invent a link that is not in the store. Only search and answer: do not add, change or delete anything in the store. I review each answer against the saved link before relying on it.

Use this as the AI Agent system message, with the Supabase Vector Store node connected as its tool. Keep the chat ID filter on the trigger so only you can add or query links.

Expected Results and Benefits

This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.

This is a suggested workflow, not a reported outcome. The n8n docs support a Telegram trigger, inserting documents into a Supabase vector store, and connecting that store to an AI Agent node as a tool for answering queries. They do not say how relevant search results will be, and nothing here measured answer quality; the workflow only searches what you wrote in each message, not the full linked page.

Limitations and Considerations

A Telegram bot can receive messages from anyone who finds it, so keep the chat ID filter in place and do not save private material you would not want stored in your database. Keep the Supabase keys in n8n credentials, not in node fields. Each saved link and each question calls an embeddings model and a chat model, so check the costs of the models you connect. Check the answer against the saved link before relying on it. Results depend on your setup and were not independently reproduced by Top 200 Repos.

GitHub Repositories

AI Agent Repository

Source code of the agent that does the work.

Tool Repository

A tool this workflow relies on.

Official Website

The official site of the main tool or project in this use case.

Visit Website (opens in a new tab)supabase.com

Related Videos

About n8n-io/n8n

About n8n-io/n8n

Independent creators. Listing a video implies no endorsement, sponsorship or partnership.

Sources

  1. Telegram Trigger | Nodes | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:52 UTC

    What this source supports
    • On this page, you'll find a list of events the Telegram Trigger node can respond to and links to more resources.
  2. Supabase Vector Store | Nodes | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 16:34 UTC

    What this source supports
    • You can insert documents into a vector database, get documents from a vector database, retrieve documents to provide them to a retriever connected to a chain , or connect it directly to an agent to use as a tool .
    • You can connect the Supabase Vector Store node directly to the tool connector of an AI agent to use a vector store as a resource when answering queries.
  3. AI Agent | Nodes | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:27 UTC

    What this source supports
    • Connect a chat model and one or more tools, and the agent decides which tools to call to complete a task.
Report a problem

More with n8n

Planned, not done

Support Customers Through Telegram Messages

An n8n workflow turns new customer emails and contact-form messages into tasks with draft replies, and sends each draft to the owner in Telegram with Approve and Decline buttons before anything goes out.

docs.n8n.ion8n-io/n8n
Planned, not done

Capture Restaurant Orders With a Conversational Agent

Build an n8n chat that takes a customer's food order from your menu, reads it back, and records it in a data table only after a staff member approves it in Slack.

docs.n8n.ion8n-io/n8n
Reported by source

Build a self-hosted AI agent workflow with human approval

Use n8n's visual canvas to wire an LLM agent to your apps, add tools and memory, and pause for human approval before it acts.

github.comn8n-io/n8n

View all: n8n