
n8n Telegram AI Support Agent with pgvector & OpenRouter
Best price now
Prices are checked against each store and labelled with when.
Price facts
- Last seen at $22.06 at N8N Commerce on Dec 4.

Prices are checked against each store and labelled with when.
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.
In stockShips from the UK · priced in GBP (£16.99) · duties may apply
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.
It checks today's price at every store, compares the alternatives and answers in about a minute.