StoreDeal.ai store
Shop
  • Deals
  • Deal checker
  • Black Friday
  • Buying guides
  • Brands
  • Stores
Travel
  • Flight deals
  • Hotel deals
Local
  • Home services
Company
  • Research
  • Press
  • Use in AI assistants
  • Contact
  • deal.ai apps
Black Friday 2026
  • Walmart
  • Best Buy
  • Target
  • TVs
  • Laptops
  • Headphones
  • Apple
  • Gaming
  • Vacuums
  • Kitchen
  • Toys
  • Smartwatches
  • Tablets
  • Furniture
  • Mattresses
© Deal.ai Inc.·2222 Ponce de Leon Blvd, Miami, FL 33134·support@deal.ai
TermsPrivacy
Deal.ai
N
n8n Telegram AI Support Agent with pgvector & OpenRouter

n8n Telegram AI Support Agent with pgvector & OpenRouter

Best price now

$22.06at N8N CommerceChecked Dec 4

Prices are checked against each store and labelled with when.

Visit N8N Commerce

Price facts

  • Last seen at $22.06 at N8N Commerce on Dec 4.

Our take on the n8n Telegram AI Support Agent with pgvector & OpenRouter

This is an n8n workflow template that turns a Telegram bot into an AI support agent. It listens for incoming messages, searches a Postgres pgvector knowledge base with OpenAI embeddings, and answers through an OpenRouter chat model using Postgres chat memory. When retrieval or the model is not confident, it tells the customer and forwards the question to a human support chat with a Respond button, then relays the human reply back within 24 hours. It suits teams already running n8n, Postgres with pgvector, and Telegram that want grounded answers with a human fallback, rather than a hosted support platform with a built-in inbox and analytics.

Best forTeams already running n8n and PostgresSmall support teams on TelegramBusinesses wanting answers grounded in their own documentsOps teams that need a human escalation path
Pros
  • Answers strictly from your own pgvector documents
  • Human handoff with a Respond button when confidence is low
  • Postgres chat memory keeps conversation context
  • Model choice is open through OpenRouter
  • Saves resolved Q&A pairs back to the knowledge base
Cons
  • Requires n8n, Postgres with pgvector, OpenAI and OpenRouter accounts
  • Needs a populated, well-chunked knowledge base to work well
  • Telegram-only channel; no web widget or email
  • Similarity threshold and prompts need tuning
  • 24-hour human reply window limits escalation

n8n Telegram AI Support Agent with pgvector & OpenRouter prices at every store

  • N8N CommerceNew

    In stockShips from the UK · priced in GBP (£16.99) · duties may apply

    $22.06Checked Dec 4
    Visit N8N Commerce

About the n8n Telegram AI Support Agent with pgvector & OpenRouter

This is an n8n workflow that turns a Telegram bot into an AI support agent. It listens for new customer messages sent to the bot, searches a Postgres pgvector knowledge base, and answers with an OpenRouter chat model. When retrieval or the agent is not confident, it escalates the question to a human support chat.

The workflow searches the pgvector knowledge base using OpenAI embeddings and selects the best match against a minimum similarity threshold. If retrieval is confident, it calls an OpenRouter chat model using Postgres chat memory and a pgvector search tool, so the answer comes strictly from the documents. A reply that is not empty and not “HANDOFF” is sent back to the customer in Telegram.

If retrieval or the agent is not confident, the workflow informs the customer and forwards the question to the support chat with a “Respond” button. A human reply within 24 hours is forwarded to the customer, and the Q&A is saved as a new embedded FAQ entry in pgvector. Answered and unanswered Q&A are stored in Postgres, and workflow errors are recorded in a Postgres error table with an alert to the support chat.

Type
n8n workflow
Integrations
Telegram, Postgres with pgvector, OpenRouter
n8n nodes
if, set, code, sticky note
Embeddings
OpenAI
Retrieval
pgvector search with a minimum similarity threshold
Chat model
OpenRouter chat model
Memory
Postgres chat memory
Handoff trigger
Low confidence or failed retrieval
Handoff
Question forwarded to the Telegram support chat with a “Respond” button
Human reply window
24 hours
Logging
Answered and unanswered Q&A stored in Postgres
Error logging
Postgres error table with an alert to the support chat
Knowledge base
Postgres tables with pgvector
Setup
Telegram bot, support group, supportChatId
Requirements
Postgres with pgvector and the required tables

Ask our agent about this product

It checks today's price at every store, compares the alternatives and answers in about a minute.

Enter to send, Shift+Enter for a new line

Questions and answers

What do I need to run this workflow?
An n8n instance, a Postgres database with the pgvector extension, an OpenAI API key for embeddings, an OpenRouter API key, and a Telegram bot plus a support chat.
How does the human handoff work?
When retrieval or the agent is not confident, the customer is told and the question is forwarded to your Telegram support chat with a Respond button. A human reply within 24 hours is sent back to the customer and the Q&A is saved.
Does it answer from my own documents?
Yes. It searches your pgvector knowledge base and instructs the model to answer strictly from those documents, returning HANDOFF when it cannot.
Which AI models does it use?
OpenAI embeddings for the vector search and an OpenRouter chat model for replies, so you can pick among the models OpenRouter offers.
Does it remember the conversation?
Yes, Postgres chat memory stores prior turns so follow-up messages keep context.
Can I use it outside Telegram?
The template is built around Telegram triggers and replies. Other channels would need their own trigger and send nodes added to the workflow.
Where is the n8n Telegram AI Support Agent with pgvector & OpenRouter cheapest?
At N8N Commerce, for $22.06, as of our latest check.