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
Automate sentiment tracking with n8n and Airtable

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

Learn how to Build this Workflow with AI:

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.

Automate sentiment tracking with n8n and Airtable

Visit through Desktop to Interact with the Workflow.

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.
Author
Written By
Vikash Kumar
Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.