💬 Telegram support bot with OpenAI, Pinecone and human expert escalation

⚡ 137 views · 💬 Support Chatbots

Description

Template name
Smart AI Support Assistant for Telegram

Short description
Smart AI Support Assistant for Telegram automatically answers repeated questions in your group using a Q&A knowledge base in Pinecone and forwards new or unclear questions to a human expert.

Long description (Description поле)

How it works

  1. Question detection listens to messages in a Telegram group and checks whether each new message is a real question or an expert reply.
  2. Knowledge base search looks for an existing answer in the Pinecone vector store for valid questions from the group.
  3. Auto‑reply from cache sends the saved answer straight back to the group when a good match is found, without involving the expert.
  4. Escalation to expert creates a ticket and forwards unanswered questions to the expert in a private chat with the same bot.
  5. Expert learning loop saves the expert’s reply to Pinecone so that similar questions are answered automatically in the future.

Setup steps

🔗 Nodes Used

Telegram, Telegram Trigger, Embeddings OpenAI, Recursive Character Text Splitter, Pinecone Vector Store, Default Data Loader

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup