{"product_id":"n8n-telegram-support-triage-with-groq-google-sheets","title":"n8n Telegram Support Triage with Groq + Google Sheets","description":"\u003ch3\u003eTurn Telegram crypto support messages into fast, risk-aware automation—using n8n, Groq, and Google Sheets\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow triages incoming Telegram support messages (voice or text) for a crypto wallet. It transcribes voice with \u003cstrong\u003eGroq Whisper\u003c\/strong\u003e, classifies intent and security risk with \u003cstrong\u003eGroq Llama\u003c\/strong\u003e, escalates high-risk or frustrated users to a human agent with a holding voice reply, and logs everything to \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e with \u003cstrong\u003eSlack\u003c\/strong\u003e error alerts.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTriggers on new Telegram messages\u003c\/strong\u003e and checks whether the message contains \u003cstrong\u003evoice\u003c\/strong\u003e, \u003cstrong\u003etext\u003c\/strong\u003e, or an \u003cstrong\u003eunsupported type\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTranscribes input:\u003c\/strong\u003e downloads voice notes from Telegram and transcribes them using \u003cstrong\u003eGroq Whisper\u003c\/strong\u003e; for text messages, it uses the message text as the transcript.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eClassifies using Groq:\u003c\/strong\u003e sends the transcript to Groq Chat Completions to determine \u003cstrong\u003eintent\u003c\/strong\u003e, \u003cstrong\u003esentiment\u003c\/strong\u003e, and \u003cstrong\u003esecurity risk\u003c\/strong\u003e, then parses the model’s \u003cstrong\u003eJSON output\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePrevents duplicate escalations:\u003c\/strong\u003e looks up the sender’s \u003cstrong\u003echatId\u003c\/strong\u003e in Google Sheets (“Escalations” tab) and enforces a \u003cstrong\u003e30-minute escalation lock\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEscalates when needed:\u003c\/strong\u003e if locked, sends a \u003cstrong\u003eholding message\u003c\/strong\u003e; otherwise, updates Google Sheets, notifies a \u003cstrong\u003ehuman agent in Telegram\u003c\/strong\u003e, and sends the user a \u003cstrong\u003eGroq-generated TTS voice reply\u003c\/strong\u003e for angry\/frustrated or security-risk cases.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eResponds for non-escalated users:\u003c\/strong\u003e routes by intent and generates FAQ, Transaction\/KYC, or Security\/Trading replies using Groq Llama models, then sends them back in Telegram.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLogs outcomes and failures:\u003c\/strong\u003e appends interactions to “Interactions”; on API failure, posts alerts to \u003cstrong\u003eSlack\u003c\/strong\u003e, logs to “Errors”, and sends a fallback response.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAutomated Telegram support for a crypto wallet with voice-note handling.\u003c\/li\u003e\n  \u003cli\u003eSecurity-risk triage that escalates suspicious messages to a human agent.\u003c\/li\u003e\n  \u003cli\u003eReducing repeated escalations with a 30-minute lock per chatId.\u003c\/li\u003e\n  \u003cli\u003eOps visibility via Google Sheets logs and Slack error alerts.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\/Nodes:\u003c\/strong\u003e Telegram, Groq (Whisper + Llama), Google Sheets, Slack\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCore logic:\u003c\/strong\u003e \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003eswitch\u003c\/code\u003e, \u003cstrong\u003esticky note\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eData destinations:\u003c\/strong\u003e Google Sheets tabs “Escalations”, “Interactions”, and “Errors”\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45748946567347,"sku":"N8N-17685","price":64.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/kmysEphDVDEW588NKsMUg_6dSwC91a.png?v=1785575549","url":"https:\/\/buyflowscripts.com\/products\/n8n-telegram-support-triage-with-groq-google-sheets","provider":"N8N Commerce","version":"1.0","type":"link"}