Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Monitoring, Ops & Incidents

Monitoring, Ops & Incidents

Monitor Linear issue comments for negative sentiment and alert Slack

Runs on a schedule, fetches recently updated Linear issues via GraphQL, scores each comment thread for sentiment, and posts a Slack alert when sentiment turns negative.

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: {{ $env.WEBHOOK_URL }} ## 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]({{ $env.WEBHOOK_URL }} or ask in the [Forum]({{ $env.WEBHOOK_URL }} 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

15 steps in total.

Similar automations