{"product_id":"n8n-telegram-support-triage-groq-voice-text-ai-google-sheets","title":"n8n Telegram Support Triage: Groq Voice\/Text AI + Google Sheets","description":"\u003ch3\u003eTurn Telegram support into an AI triage pipeline—instantly\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow converts incoming Telegram voice notes and text messages into a support-agent experience: it transcribes audio with \u003cstrong\u003eGroq Whisper\u003c\/strong\u003e, uses \u003cstrong\u003eGroq LLMs\u003c\/strong\u003e to classify intent, sentiment, and security risk, escalates risky\/frustrated cases to a human via Telegram, 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\u003eListens for new Telegram messages\u003c\/strong\u003e as the trigger.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHandles voice vs. text:\u003c\/strong\u003e if the message is a voice note, it downloads the audio from Telegram and transcribes it using \u003cstrong\u003eGroq Whisper\u003c\/strong\u003e. If it’s text, it uses the message text directly. Otherwise, it replies that the message type isn’t supported.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAI triage with Groq Chat Completions:\u003c\/strong\u003e it sends the transcript to Groq to return a parsed JSON result for \u003cstrong\u003eintent\u003c\/strong\u003e, \u003cstrong\u003esentiment\u003c\/strong\u003e, and \u003cstrong\u003esecurity risk\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePrevents repeat escalations:\u003c\/strong\u003e it checks Google Sheets for a recent escalation lock for the same \u003cstrong\u003echat ID\u003c\/strong\u003e (last 30 minutes). If locked, it sends a brief holding reply in Telegram.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEscalates when needed:\u003c\/strong\u003e if sentiment is frustrated\/angry or a security risk is detected, it records\/updates the escalation lock in Google Sheets, notifies a human agent in Telegram, and sends the user a \u003cstrong\u003eGroq TTS voice acknowledgement\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eResolves normally:\u003c\/strong\u003e if no escalation is required, it routes by intent, generates a tailored response with Groq, replies in Telegram, and appends interaction details to Google Sheets.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSurvives failures:\u003c\/strong\u003e on any Groq or Telegram file-processing error, it posts an alert to \u003cstrong\u003eSlack\u003c\/strong\u003e, logs the failure to a Google Sheets \u003cstrong\u003eErrors\u003c\/strong\u003e tab, and sends a fallback message to the user in Telegram.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAutomated first-line support for SaaS customers on Telegram (voice + text).\u003c\/li\u003e\n  \u003cli\u003eFast escalation for angry users and security-risk messages to a human agent.\u003c\/li\u003e\n  \u003cli\u003eOperational logging and observability using Google Sheets + Slack alerts for n8n workflows.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details (nodes \/ integrations)\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTelegram\u003c\/strong\u003e (trigger, downloads voice notes, replies to users, escalates to humans)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGroq\u003c\/strong\u003e (Whisper transcription, Chat Completions JSON triage, TTS voice acknowledgements)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e (interaction logs, escalation lock checks, Errors tab)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSlack\u003c\/strong\u003e (alerts on processing errors)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes:\u003c\/strong\u003e \u003cem\u003eif\u003c\/em\u003e, \u003cem\u003ecode\u003c\/em\u003e, \u003cem\u003eswitch\u003c\/em\u003e, \u003cem\u003esticky note\u003c\/em\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45738608951475,"sku":"N8N-17522","price":73.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/nJoHGwf-jH2xws4pCkkQh_INh5sWIo.png?v=1785230326","url":"https:\/\/buyflowscripts.com\/products\/n8n-telegram-support-triage-groq-voice-text-ai-google-sheets","provider":"N8N Commerce","version":"1.0","type":"link"}