Workflows / AI Assistants & Agents / Knowledge-base chatbots (RAG)
Email chatbot with semantic and SQL search (Telegram)
Starts from a chat message and works with OpenAI, Telegram, PGVector. Uses AI.
Main steps
- Telegram Trigger
- Came from Telegram?
- Postgres PGVector Store
- Call the SQL composer Workflow
- Beautify chat response
- Split text into chunks
What you get
workflow.json– import into n8n (16 steps, starts from a chat message)- README setup guide and an in-workflow setup note
You need
- n8n (Cloud or self-hosted)
- OpenAI account
- Telegram account
- PGVector account