# Route Telegram support messages with TypeSafe Jev, OpenAI and Google Sheets

> Quick overview This workflow handles incoming Telegram customer messages, classifies intent and sentiment with TypeSafe Jev, answers FAQs and simple cases with canned replies, uses OpenAI for product questions, notifies an owner in Telegram when needed, and logs every conversation to Google Sheets. How it works 1. Triggers when a new Telegram message is received by your bot and normalizes the update into a consistent chat, user, and text payload. 2. If the message has no text content, it replies in Telegram asking the customer to send their question as text. 3. Sends the customer message and your shop context to TypeSafe Jev to classify intent, match an FAQ topic, and score negativity and urgency. 4. Chooses a route based on confidence thresholds: ignore spam, send a canned reply for FAQs/chitchat/orders/hand-off cases, or escalate unclear/product questions to OpenAI. 5. For AI-routed messages, prompts OpenAI (ChatGPT) to answer using only the provided product catalog and FAQ text, the

- **Domain**: `n8n-workflow-22372.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/22372
- Page (HTML): https://agenstry.com/agents/n8n-workflow-22372.n8n.io
- Documentation: https://n8n.io/workflows/22372
