Skip to main content

Automate support ticket classification & routing from HubSpot to Jira with GPT

Workflow preview

Workflow preview
100%
Automate support ticket classification & routing from HubSpot to Jira with GPT preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Who is this for? This n8n workflow template is designed for customer support , CX , and ops teams that manage customer messages through HubSpot and use Jira for internal task management. It is espe...

Best for

  • AI Summarization automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.hubspot, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.executeworkflowtrigger, @n8n/n8n-nodes-langchain.toolworkflow, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.set, n8n-nodes-base.jira

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by PollupAI.

Original n8n.io source

1.1 Workflow description

Title
Automate support ticket classification & routing from HubSpot to Jira with GPT
Workflow name
Automate support ticket classification & routing from HubSpot to Jira with GPT

Who is this for?

This n8n workflow template is designed for customer support, CX, and ops teams that manage customer messages through HubSpot and use Jira for internal task management. It is especially useful for SaaS companies aiming to automate ticket triage, sentiment detection, and team assignment using AI agents.


đź§© What problem is this workflow solving?

Customer service teams often struggle with manual message classification, delayed reactions to churn signals, and inefficiencies in routing support issues to the right internal teams. This workflow uses LLMs and automated profiling to:

  • Detect churn risk or intent in customer messages

  • Summarize issues

  • Classify tickets into categories (e.g. fulfillment, technical, invoicing)

  • Automatically create Jira tickets based on enriched insights


🤖 What this workflow does

This AI-powered workflow processes HubSpot support tickets and routes them to Jira based on sentiment and topic. Here’s the full breakdown:

  1. Triggers: Either manually or on a schedule (via cron).

  2. Fetch HubSpot tickets: Retrieves new messages and their metadata.

  3. Run Orchestration Agent:

    • Uses Sentinel Agent to detect emotional tone, churn risk, and purchase intent.

    • Calls Profiler Agent to enrich customer profiles from HubSpot.

    • Summarizes the message using OpenAI.

    • Classifies the ticket using a custom classifier (technical, fulfillment, etc.).

  4. Generate a Jira ticket:

    • Title and description are generated using GPT.

    • The assignee and project are predefined.

  5. AI agents can be expanded (e.g. add Guide or Facilitator agents).


⚙️ Setup

To use this template, you’ll need:

  • HubSpot account with OAuth2 credentials in n8n

  • Jira Software Cloud account and project ID

  • OpenAI credentials for GPT-based nodes

  • Optional: Create sub-workflows for additional AI agents

Steps:

  1. Clone the workflow in your n8n instance.

  2. Replace placeholder credentials for HubSpot, OpenAI, and Jira.

  3. Adjust Jira project/issue type IDs to match your setup.

  4. Test the workflow using the manual trigger or scheduled trigger node.


🛠️ How to customize this workflow to your needs

1. Edit category logic

In the “Category Classifier” node, modify categories and prompt structure to match your internal team structures (e.g., billing, account management, tech support).

2. Refine AI prompts

Customize the agent prompt definitions in:

  • Sentinel_agent

  • Profiler_agent

  • Orchestrator

    to better align with your brand tone or service goals.

3. Update Jira integration

You can route tickets to different projects or team leads by adjusting the “Create an issue in Jira” node based on classification output.

4. Add escalation paths

Insert Slack, email, or webhook notifications for specific risk levels or customer segments.


This workflow empowers your team with real-time message triage, automated decision-making, and AI-enhanced customer insight, turning every inbound ticket into a data-driven action item.


1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Get many tickets

Type / Role
n8n-nodes-base.hubspot - hubspot
Config choices
Version 2.1

Block 2 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 3 - When Executed by Another Workflow

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 4 - Sentinel

Type / Role
@n8n/n8n-nodes-langchain.toolWorkflow - toolWorkflow
Config choices
Version 2.1

Block 5 - Profiler

Type / Role
@n8n/n8n-nodes-langchain.toolWorkflow - toolWorkflow
Config choices
Version 2.1

Block 6 - Profiler_agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.8

Block 7 - Sentinel_agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.8

Block 8 - Search contacts

Type / Role
n8n-nodes-base.hubspot - hubspot
Config choices
Version 2.1

Block 9 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 10 - Orchestrator

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 11 - Set the variables

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 12 - Create an issue in Jira

Type / Role
n8n-nodes-base.jira - jira
Config choices
Version 1

Block 13 - Router

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 14 - from_crm

Type / Role
n8n-nodes-base.hubspotTool - hubspotTool
Config choices
Version 2.1

Block 15 - Cateogory Classifier

Type / Role
@n8n/n8n-nodes-langchain.textClassifier - textClassifier
Config choices
Version 1.1

Block 16 - generate ticket title

Type / Role
@n8n/n8n-nodes-langchain.chainSummarization - chainSummarization
Config choices
Version 2.1

Block 17 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - For testing

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 22 - Set the running interval

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 23 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automate support ticket classification & routing from HubSpot to Jira with GPT
Complexity advanced
Nodes 23
Categories AI Summarization, Multimodal AI
Author PollupAI
Published 28 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7981/7981.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate support ticket classification & routing from HubSpot to Jira with GPT do?

Who is this for? This n8n workflow template is designed for customer support , CX , and ops teams that manage customer messages through HubSpot and use Jira for internal task management. It is espe...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your AI Summarization, Multimodal AI use case.