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
- Issues to List
- OpenAI Chat Model
- Combine Sentiment Analysis
- Sentiment over Issue Comments
- Copy of Issue
- For Each Issue...
- Get Existing Sentiment
- Update Row
- Airtable Trigger
- Sentiment Transition
- Fetch Active Linear Issues
- Schedule Trigger
- Deduplicate Notifications
- Report Issue Negative Transition
15 steps in total.
Similar automations
Customer Support & HelpdeskTrack Linear Support Sentiment with OpenAI and Slack14 stepsCustomer Support & HelpdeskTrack Support Issue Sentiment in Linear with OpenAI and Slack14 stepsMonitoring, Ops & IncidentsMonitor Linear Issue Sentiment with OpenAI and Alert Slack17 stepsMonitoring, Ops & IncidentsMonitor Linear Issue Sentiment with OpenAI and Alert Slack17 steps