Skip to main content

Sentiment analysis tracking on support issues with Linear and Slack

Workflow preview

Workflow preview
100%
Sentiment analysis tracking on support issues with Linear and Slack preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This n8n template monitors active support issues in Linear.app to track the mood of their ongoing conversation between reporter and assignee using Sentiment Analysis. When sentiment dips into the n...

Best for

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

Tools used

n8n-nodes-base.splitout, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.informationextractor, n8n-nodes-base.splitinbatches, n8n-nodes-base.airtable, n8n-nodes-base.airtabletrigger, n8n-nodes-base.switch

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Sentiment analysis tracking on support issues with Linear and Slack
Workflow name
Sentiment analysis tracking on support issues with Linear and Slack

This n8n template monitors active support issues in Linear.app to track the mood of their ongoing conversation between reporter and assignee using Sentiment Analysis. When sentiment dips into the negative, a notification is sent via Slack to alert the team.

How it works

  • A scheduled trigger is used to fetch recently updated issues in Linear using the GraphQL node.
  • Each issue's comments thread is passed into a simple Information Extractor node to identify the overall sentiment.
  • The resulting sentiment analysis combined with the some issue details are uploaded to Airtable for review.
  • When the template is re-run at a later date, each issue is re-analysed for sentiment
  • Each issue's new sentiment state is saved to the airtable whilst its previous state is moved to the "previous sentiment" column.
  • An Airtable trigger is used to watch for recently updated rows
  • Each matching Airtable row is filtered to check if it has a previous non-negative state but now has a negative state in its current sentiment.
  • The results are sent via notification to a team slack channel for priority.

Check out the sample Airtable here: https://airtable.com/appViDaeaFw4qv9La/shrq6HgeYzpW6uwXL

How to use

  • Modify the GraphQL filter to fetch issues to a relevant issue type, team or person.
  • Update the Slack channel to ensure messages are sent to the correct location or persons.
  • The Airtable also serves to give a snapshot of Sentiment across support tickets for a given period. It's possible to use this to assess the daily operations.

Requirements

  • Linear for issue tracking (but feel free to use another system if preferred)
  • Airtable for Database
  • OpenAI for LLM and Sentiment Analysis

Customising the workflow

  • Add more granular levels of sentiment to reduce the number of alerts.
  • Explore different types of sentiment based on issue types and customer types. This may help prioritise alerts and response.
  • Run across teams or categories of issues to get an overview of sentiment across the support organisation.

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 - Issues to List

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

Block 2 - OpenAI Chat Model

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

Block 3 - Combine Sentiment Analysis

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

Block 4 - Sentiment over Issue Comments

Type / Role
@n8n/n8n-nodes-langchain.informationExtractor - informationExtractor
Config choices
Version 1

Block 5 - Copy of Issue

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

Block 6 - For Each Issue...

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 7 - Get Existing Sentiment

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

Block 8 - Update Row

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

Block 9 - Airtable Trigger

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

Block 10 - Sentiment Transition

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

Block 11 - Fetch Active Linear Issues

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

Block 12 - Schedule Trigger

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

Block 13 - Deduplicate Notifications

Type / Role
n8n-nodes-base.removeDuplicates - removeDuplicates
Config choices
Version 2

Block 14 - Report Issue Negative Transition

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 15 - Sticky Note

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

Block 16 - Sticky Note1

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

Block 17 - Sticky Note2

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

Block 18 - Sticky Note3

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

Block 19 - Sticky Note4

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

3. Summary Table

Workflow Sentiment analysis tracking on support issues with Linear and Slack
Complexity advanced
Nodes 19
Categories Ticket Management, AI Summarization
Author Jimleuk
Published 17 Dec 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2647/2647.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 Sentiment analysis tracking on support issues with Linear and Slack do?

This n8n template monitors active support issues in Linear.app to track the mood of their ongoing conversation between reporter and assignee using Sentiment Analysis. When sentiment dips into the n...

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 Ticket Management, AI Summarization use case.