{"product_id":"ai-support-ticket-triage-in-n8n-openai-hubspot-slack-linear","title":"AI Support Ticket Triage in n8n: OpenAI + HubSpot + Slack + Linear","description":"\u003ch3\u003eAI Support Ticket Triage in n8n—Route, prioritize, and draft replies automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow ingests support tickets via webhook, validates and deduplicates them, enriches the requester in \u003cstrong\u003eHubSpot\u003c\/strong\u003e, then uses \u003cstrong\u003eOpenAI\u003c\/strong\u003e to classify issues and draft responses. Urgent cases are escalated to \u003cstrong\u003eLinear\u003c\/strong\u003e and alerted in \u003cstrong\u003eSlack\u003c\/strong\u003e, while non-escalations create Gmail drafts with full audit logging.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives tickets\u003c\/strong\u003e through a \u003cstrong\u003ePOST webhook\u003c\/strong\u003e payload.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes and validates\u003c\/strong\u003e common fields (email, subject, message, URL) and applies an \u003cstrong\u003eSLA profile\u003c\/strong\u003e including a \u003cstrong\u003eVIP-domain flag\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRejects incomplete requests\u003c\/strong\u003e: missing required fields are posted to \u003cstrong\u003eSlack\u003c\/strong\u003e as an intake error, and the webhook caller receives a \u003cstrong\u003e422\u003c\/strong\u003e response.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDeduplicates\u003c\/strong\u003e using a \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e audit log keyed lookup; duplicates trigger a Slack notice and a duplicate response.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEnriches with HubSpot\u003c\/strong\u003e by searching for the requester’s contact record, then sends ticket + HubSpot context to \u003cstrong\u003eOpenAI\u003c\/strong\u003e to generate: category, priority, sentiment, and SLA risk notes, plus a reply draft.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEscalates high-risk tickets\u003c\/strong\u003e (urgent\/VIP\/security\/billing or keyword-risky) by creating a \u003cstrong\u003eLinear\u003c\/strong\u003e issue and posting a Slack alert.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHandles non-escalations\u003c\/strong\u003e: low-confidence or AI-failure cases go to a Slack human-review queue; otherwise a \u003cstrong\u003eGmail draft\u003c\/strong\u003e is created, and the decision is appended to \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS support teams that want \u003cstrong\u003eAI triage + priority\u003c\/strong\u003e before agents review messages.\u003c\/li\u003e\n  \u003cli\u003eOps workflows that need \u003cstrong\u003ededuplication\u003c\/strong\u003e and \u003cstrong\u003eaudit logging\u003c\/strong\u003e for compliance visibility.\u003c\/li\u003e\n  \u003cli\u003eVIP, security, and billing ticket pipelines that must \u003cstrong\u003eescalate to Linear\u003c\/strong\u003e immediately with Slack notifications.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes\/integrations\u003c\/strong\u003e: webhook, if, code, Gmail, Slack, sticky note, Google Sheets (audit log), HubSpot (private app token), OpenAI, Linear.\u003c\/li\u003e\n  \u003cli\u003eAuthentication setup includes Slack, Google Sheets, Gmail, plus API tokens\/keys for \u003cstrong\u003eHubSpot\u003c\/strong\u003e, \u003cstrong\u003eOpenAI\u003c\/strong\u003e, and \u003cstrong\u003eLinear\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45945701171379,"sku":"N8N-19097","price":66.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/4UsLa2b5KhqnpadU-g6nk_DA9oWiSr.png?v=1788426471","url":"https:\/\/buyflowscripts.com\/products\/ai-support-ticket-triage-in-n8n-openai-hubspot-slack-linear","provider":"N8N Commerce","version":"1.0","type":"link"}