Automate Linear Issue Sentiment Tracking with n8n & Airtable

This n8n workflow automates sentiment analysis on Linear issue comments, tracks transitions in sentiment in Airtable, and notifies your team via Slack if sentiment turns negative. It helps identify and prioritize challenging customer support problems early.
scheduleTrigger
graphql
informationExtractor
+9
Workflow Identifier: 2274
NODES in Use: Schedule Trigger, GraphQL, SplitOut, Information Extractor, Set, SplitInBatches, Airtable, Airtable Trigger, Switch, Remove Duplicates, Slack, OpenAI Chat Model

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Workflow Does

This workflow looks for changes in comments on Linear issues every 30 minutes.
It checks how people feel by using AI to read the comments.
When the mood turns bad, it saves the data in Airtable and sends a message to Slack.
This helps the team find problems early and fix issues before they get worse.


Tools and Services Used

  • Linear.app: Provides issue data via GraphQL API.
  • OpenAI API: Analyzes comment sentiment.
  • Airtable: Stores sentiment and issue data for tracking.
  • Slack: Sends notifications about negative sentiment.
  • n8n Automation: Connects all pieces and runs the workflow.

Inputs, Processing Steps, and Output

Inputs

  • Linear issues updated within last 30 minutes.
  • Comments on those issues.
  • Existing sentiment data from Airtable.

Processing Steps

  • Fetch updated issues from Linear using GraphQL query.
  • Split issues to handle one at a time.
  • Concatenate comments and analyze sentiment with OpenAI.
  • Combine sentiment data with issue details.
  • Use Airtable to find past sentiment entries for each issue.
  • Update or insert new sentiment records in Airtable.
  • Watch Airtable for sentiment changes to detect transitions to negative.
  • Remove duplicate alerts based on Issue ID and update time.
  • Send Slack messages when issue sentiment turns negative.

Output

  • Sentiment records in Airtable showing current and previous moods.
  • Slack alerts for issues with newly negative sentiment.

Who Should Use This Workflow

Any support or product team that tracks issue tickets in Linear and wants to react early to customer moods.
It is good for teams that spend time reading comments and want to save hours.

The workflow helps by giving fast alerts about problem tickets needing attention.
Teams can catch customer frustration before it grows and slows down fixing bugs.


Beginner Step-by-Step: How to Use This Workflow in n8n

Step 1: Download and Import

  1. Use the Download button on this page to get the workflow file.
  2. Open your n8n editor.
  3. Choose Import from File and select the downloaded file.

Step 2: Configure Credentials and Settings

  1. Add API Keys in n8n for Linear, OpenAI, Airtable, and Slack.
  2. Check the Airtable base and table names match the workflow settings.
  3. Update Slack channel ID if you want notifications in a different place.
  4. Confirm the query dates or filter formats if you change frequency.

Step 3: Test the Workflow

  1. Run the workflow manually once from n8n.
  2. Check the results in Airtable and Slack message output.
  3. Look for errors in execution logs and fix any credential problems.

Step 4: Activate for Production

  1. Turn on the workflow so it runs automatically every 30 minutes.
  2. Watch for Slack alerts to begin coming through as issues update.
  3. Optional: Set up error handler nodes or logging to catch failures in live use.
  4. For stable self-hosting, check this self-host n8n resource.

Common Troubles and Solutions

  • Problem: No issues found in GraphQL node.
    Cause: Wrong date filter or bad Linear API Key.
    Fix: Make sure date is in ISO format and API Key is correct.
  • Problem: OpenAI sentiment node fails.
    Cause: Missing API Key or over quota.
    Fix: Check OpenAI API credentials and limits.
  • Problem: Airtable not updating records.
    Cause: Filter formula or Issue ID match is wrong.
    Fix: Confirm Airtable columns and filter formula use correct ID.
  • Problem: Slack messages not sent.
    Cause: Slack token missing or wrong channel ID.
    Fix: Verify Slack token and channel in n8n node settings.

Customization Ideas

  1. Change the GraphQL filter to only check issues from certain teams or with tags.
  2. Add more sentiment types in OpenAI node like “urgent” or “needs help.”
  3. Modify Slack message format to include priority level or assignee contact.
  4. Set batch size in SplitInBatches node to match API rate limits.
  5. Add email or Microsoft Teams notifications after sending Slack alerts.

Summary

✓ Automatically checks Linear comments every 30 minutes.
✓ Uses AI to find when issue mood turns negative.
✓ Saves sentiment history in Airtable for tracking.
✓ Sends Slack messages only when mood worsens.
✓ Avoids repeated alerts to keep notifications clear.
✓ Saves support teams time and helps fix problems faster.

Frequently Asked Questions

The workflow uses OpenAI API to analyze the text of comments and classify the overall mood as positive, neutral, or negative.
Slack notifications are sent only when an issue’s sentiment changes from non-negative to negative, indicating a worsening mood that needs attention.
Airtable stores current and previous sentiment values per issue, enabling the workflow to detect changes and keep historical records.
Yes, the workflow can run on self-hosted n8n setups. Users should configure credentials and environment properly and can find additional help at buldrr.com/hosting.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free