{"product_id":"ai-ticket-routing-in-n8n-openai-hubspot-jira-slack","title":"AI Ticket Routing in n8n: OpenAI, HubSpot, Jira \u0026 Slack","description":"\u003ch3\u003eAutomatically route support requests to the right Jira team—with AI classification, SLA tracking, and Slack alerts\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003eAI Ticket Routing in n8n\u003c\/strong\u003e workflow analyzes incoming support messages, classifies intent and priority using \u003cstrong\u003eOpenAI\u003c\/strong\u003e, creates (or de-dupes) \u003cstrong\u003eJira\u003c\/strong\u003e issues, assigns the correct team, and keeps everyone updated in \u003cstrong\u003eSlack\u003c\/strong\u003e—all while tracking \u003cstrong\u003eSLA deadlines\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTriggers on new requests\u003c\/strong\u003e: a new \u003cstrong\u003eGmail\u003c\/strong\u003e email arrives, a \u003cstrong\u003eWhatsApp\u003c\/strong\u003e message is received via a WAHA webhook, or a user submits the \u003cstrong\u003en8n contact form\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes ticket data\u003c\/strong\u003e: converts each inbound request into a consistent ticket payload and captures attachments (including downloading WhatsApp media when present).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEnriches with customer context\u003c\/strong\u003e: searches \u003cstrong\u003eHubSpot CRM\u003c\/strong\u003e by email and\/or phone, merging any matching contact details into the ticket.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses AI for routing\u003c\/strong\u003e: sends the ticket text to \u003cstrong\u003eOpenAI\u003c\/strong\u003e to classify category, intent, priority, sentiment, generate a summary, and suggest a reply.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCalculates SLA and maps assignment\u003c\/strong\u003e: computes the SLA due time and maps the ticket category to the configured \u003cstrong\u003eJira assignee\/component\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePrevents duplicates\u003c\/strong\u003e: checks Jira Cloud for an existing issue using a computed dedupe key; if found, it posts a duplicate notice to \u003cstrong\u003eSlack\u003c\/strong\u003e, otherwise it creates a new Jira ticket.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNotifies and escalates when needed\u003c\/strong\u003e: stamps SLA + AI metadata onto the Jira issue, uploads attachments, posts a new-ticket notification to Slack, and for form submissions returns a completion message.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns SLA monitoring every 10 minutes\u003c\/strong\u003e: searches for unresolved tickets past SLA due time, posts breach alerts to Slack (optionally a manager DM), escalates Jira priority when configured, and marks tickets as notified.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eRoute customer support messages from \u003cstrong\u003eGmail\u003c\/strong\u003e and \u003cstrong\u003eWhatsApp\u003c\/strong\u003e into the correct \u003cstrong\u003eJira\u003c\/strong\u003e queue automatically.\u003c\/li\u003e\n  \u003cli\u003eUse \u003cstrong\u003eHubSpot\u003c\/strong\u003e context to speed up triage and include customer details in every ticket.\u003c\/li\u003e\n  \u003cli\u003eStay ahead of SLA breaches with automated \u003cstrong\u003eSlack\u003c\/strong\u003e alerts and priority escalation.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\u003c\/strong\u003e: Gmail, WhatsApp (WAHA webhook), n8n form, HubSpot CRM, OpenAI, Jira Cloud, Slack\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWorkflow nodes\u003c\/strong\u003e: if, code, form, no op, merge, slack\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCore behavior\u003c\/strong\u003e: AI intent\/priority classification, Jira de-duplication, SLA due calculation, attachment handling, periodic SLA breach checks\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45824199065779,"sku":"N8N-18187","price":16.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/n2iJy9Ebs-hrcx7rG978Z_evwkoure.png?v=1786611771","url":"https:\/\/buyflowscripts.com\/products\/ai-ticket-routing-in-n8n-openai-hubspot-jira-slack","provider":"N8N Commerce","version":"1.0","type":"link"}