← All N8N workflows
AI & researchAgentAggregateChain LLMExecute WorkflowExecute Workflow Trigger

receive schedule events and list issuecomment jira and update jira

Configured with Agent, Aggregate, Chain LLM, Execute Workflow, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
AI & modelsOpenAI Chat ModelOpenAI Chat ModelAI & modelsOpenAI Chat Model1OpenAI Chat ModelAI & modelsOpenAI Chat Model3OpenAI Chat ModelAI & modelsOpenAI Chat Model4OpenAI Chat ModelTriggerSchedule TriggerSchedule TriggerIntegrationGet Issue CommentsJiraIntegrationClose IssueJiraIntegrationSend ReminderJiraTransformJoin CommentsAggregateIntegrationAdd Autoclose MessageJiraIntegrationAsk For FeedbackMessageJiraTransformSimplify Thread For AIEdit FieldsRoutingSolution Found?IfIntegrationReply to IssueJiraRoutingLast Message is Not BotIfTransformStructured OutputParserOutput Parser StructuredTransformGet Issue MetadataEdit FieldsMessagingNotify Slack ChannelSlackIntegrationClose Issue2JiraIntegrationGet List of UnresolvedLong Lived IssuesJiraSubworkflowExecute WorkflowExecute WorkflowTriggerExecute WorkflowTriggerExecute Workflow TriggerAI & modelsCustomer SatisfactionAgentSentiment AnalysisAI & modelsKnowledgeBase AgentAgentAI & modelsIssue Reminder AgentChain LLMIntegrationFind Simlar IssuesJira ToolIntegrationQuery KnowledgeBaseNotion ToolMessagingReport UnhappyResolutionSlackAI & modelsClassify Current IssueStateText Classifier

Node categories in this workflow

  • AI & models
  • Trigger
  • Integration
  • Transform
  • Routing
  • Messaging
  • Subworkflow

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
OpenAI Chat ModelAI & modelsOpenAI Chat ModelSee node parameters
OpenAI Chat Model1AI & modelsOpenAI Chat ModelSee node parameters
OpenAI Chat Model3AI & modelsOpenAI Chat ModelSee node parameters
OpenAI Chat Model4AI & modelsOpenAI Chat ModelSee node parameters
Schedule TriggerTriggerSchedule TriggerSee node parameters
Get Issue CommentsIntegrationJiraissueComment / getAll
Close IssueIntegrationJiraupdate
Send ReminderIntegrationJiraissueComment
Join CommentsTransformAggregateSee node parameters
Add Autoclose MessageIntegrationJiraissueComment
Ask For Feedback MessageIntegrationJiraissueComment
Simplify Thread For AITransformEdit FieldsSee node parameters
Solution Found?RoutingIfSee node parameters
Reply to IssueIntegrationJiraissueComment
Last Message is Not BotRoutingIfSee node parameters
Structured Output ParserTransformOutput Parser StructuredSee node parameters
Get Issue MetadataTransformEdit FieldsSee node parameters
Notify Slack ChannelMessagingSlackSee node parameters
Close Issue2IntegrationJiraupdate
Get List of Unresolved Long Lived IssuesIntegrationJiragetAll
Execute WorkflowSubworkflowExecute WorkflowSee node parameters
Execute Workflow TriggerTriggerExecute Workflow TriggerSee node parameters
Customer Satisfaction AgentAI & modelsSentiment AnalysisSee node parameters
KnowledgeBase AgentAI & modelsAgentSee node parameters
Issue Reminder AgentAI & modelsChain LLMSee node parameters
Find Simlar IssuesIntegrationJira ToolgetAll
Query KnowledgeBaseIntegrationNotion Toolsearch
Report Unhappy ResolutionMessagingSlackSee node parameters
Classify Current Issue StateAI & modelsText ClassifierSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • jiraSoftwareCloudApi
  • notionApi
  • openAiApi
  • slackApi

Workflow notes

1. Search For Unresolved Long-lived JIRA Issues

1. Search For Unresolved Long-lived JIRA Issues

Learn more about the JIRA node

In this demonstration, we'll define "long-lived" as any issue which is unresolved after 7 days. Adjust to fit your own criteria.

We'll also use the Execute Workflow node to run the issues separate in parallel. This is a performance optimisation and if not required, the alternative is to use a loop node instead.

2. Retrieves and Combine JIRA Issue Comments

2. Retrieves and Combine JIRA Issue Comments

Learn more about the JIRA node

To provide the necessary information for our AI agents, we'll fetch and combine all the issue's comments along with our issue. This gives a accurate history of the the issues progress (or lack thereof!).

3. Classify the Current State of the Issue

3. Classify the Current State of the Issue

Learn more about the Text Classifier node

Today's AI/LLMs are well suited for solving contextual problems like determining issue state. Here, we can use the text classifier node to analyse the issue as a whole to determine our next move. Almost like a really, really smart Switch node!

There are 3 branches we want to take: Check if a resolution was reached, blocked issues and auto-resolving when no team member has yet to respond.

4. Sentiment Analysis on Issue Resolution

4. Sentiment Analysis on Issue Resolution

Read more about the Sentiment Analysis node

The Sentiment Analysis node is a convenient method of assessing customer satisfaction from resolved issues. Here, when resolution is detected as positive, we can ask use the opportunity to capitalise of the favourable experience which in this example, is to ask for a review. In the opposite vein, if the exchange has been negative, we can escalate in an attempt to improve the situation before closing the ticket.

AI can equip teams to provide unrivalled customer support which can differentiate themselves significantly against the competition.

5. Attempt to Resolve The Issue With KnowledgeBase

5. Attempt to Resolve The Issue With KnowledgeBase

Read more about the AI Agent node

When the issue is unaddressed, we can attempt to resolve the issue automatically using AI. Here an AI agent can easily be deployed with access to knowledge tools to research and generate solutions for the user. Since n8n v1.62.1, AI Tools Agents can attach nodes directly as tools providing a very easy way to linking documents to the LLM.

Here, we use both the JIRA tool to search for similar issues and the notion tool to query for product pages. If a solution can be generated, we create a new comment with the solution and attach it to the issue. If not, then we can leave a simple message notifying the user that we could not do so. Finally, we close the issue as no further action can likely be taken in this case.

6. Notify for Unanswered Questions or Response Waiting

6. Notify for Unanswered Questions or Response Waiting

Read more about the Basic LLM Chain node

In this step, where signals indicate that the issue is not yet ready to be close, we can try to re-engage issue participants by summarize the conversation so far and sending a reminder comment for any pending actions that were requested. This action can help reduce the number of issues which linger for too long.

Try It Out!

Try It Out!

This n8n template is designed to assist and improve customer support team member capacity by automating the resolution of long-lived and forgotten JIRA issues.

  • Schedule Trigger runs daily to check for long-lived unresolved issues and imports them into the workflow.
  • Each Issue is handled as a separate subworkflow by using an execute workflow node. This allows parallel processing.
  • A report is generated from the issue using its comment history allowing the issue to be classified by AI - determining the state and progress of the issue.
  • If determined to be resolved, sentiment analysis is performed to track customer satisfaction. If negative, a slack message is sent to escalate, otherwise the issue is closed automatically.
  • If no response has been initiated, an AI agent will attempt to search and resolve the issue itself using similar resolved issues or from the notion database. If a solution is found, it is posted to the issue and closed.
  • If the issue is blocked and waiting for responses, then a reminder message is added.

Need Help?

Join the Discord or ask in the Forum!

receive schedule events and list issuecomment jira and update jira

receive schedule events and list issuecomment jira and update jira

Purpose and structure

This folder contains the receive schedule events and list issuecomment jira and update jira workflow. Its executable nodes use agent, aggregate, chainLlm, executeWorkflow, executeWorkflowTrigger, if, jira, jiraTool, lmChatOpenAi, notionTool, outputParserStructured, scheduleTrigger, sentimentAnalysis, set, slack, textClassifier. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

Schedule Trigger, Execute Workflow Trigger

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Jiratool/0604_Jiratool_Schedule_Create_Scheduled.json MIT; preserve source notices.

More in AI & research