Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Customer Support & Helpdesk

Customer Support & Helpdesk

Track Support Issue Sentiment in Linear with OpenAI and Slack

When Linear issues change or on a schedule, OpenAI scores the sentiment of issue comments, stores it in Airtable and alerts Slack about negative trends.

What it does

## Try It Out! ### This n8n template performs continous monitoring on Linear Issue conversations performing sentiment analysis and alerting when the sentiment becomes negative. This is helpful to quickly identify difficult customer support situations early and prioritising them before they get out of hand. ## 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. ### Need Help? Join the Discord or ask in the Forum! Happy Hacking!

The steps

  1. Issues to List
  2. OpenAI Chat Model
  3. Combine Sentiment Analysis
  4. Sentiment over Issue Comments
  5. Copy of Issue
  6. For Each Issue...
  7. Get Existing Sentiment
  8. Update Row
  9. Airtable Trigger
  10. Sentiment Transition
  11. Fetch Active Linear Issues
  12. Schedule Trigger
  13. Deduplicate Notifications
  14. Report Issue Negative Transition

Similar automations