n8n

How to Automate Slack to Linear Ticket Management?

Turn Slack help requests into clean tickets in your tracking tool. The flow scans a channel for messages with a ticket emoji and sends them into Linear with clear titles and summaries. It fits support teams that work in Slack but track work in Linear.

A scheduled check searches Slack for recent messages in the chosen channel. The flow pulls the message id, user, channel, and text, then looks up existing issues in Linear. It aggregates descriptions and hashes them to compare against the Slack message id, which helps stop duplicates. If no match is found, OpenAI writes a title, a short summary, a list of ideas, and a priority using a structured parser for consistent fields. The result is a new Linear ticket with ready to use details so the team can act fast.

Set the Slack query and the Linear team in the template. Connect OpenAI and pick a model. Expect faster intake, fewer duplicates, and clearer tickets for internal IT desks, customer success, and product triage that run in Slack.

What are the key features?

  • Scheduled polling searches Slack for messages with a ticket emoji in a specific channel.
  • Message details are extracted, including a stable message id from the Slack permalink.
  • Linear issues are fetched and descriptions are aggregated and hashed to prevent duplicates.
  • If no existing match is found, OpenAI generates title, summary, ideas, and priority with a structured parser.
  • New Linear tickets are created with the generated fields and mapped team.
  • Configurable Slack query and item limit to control volume and cost.

What are the benefits?

  • Reduce manual triage from 20 minutes to 2 minutes per request
  • Automate up to 80% of ticket intake work from Slack
  • Cut duplicate tickets by 90% using message id checks
  • Improve first response quality with AI generated summaries and ideas
  • Connect Slack, OpenAI, and Linear without manual copy and paste

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Slack, Linear and OpenAI. See the Tools Required section above for links to create accounts with these services.
  3. Connect Slack: Double click the Slack node, open the 'Credential to connect with' dropdown, click 'Create new credential', then follow the on screen steps. Make sure the Slack app is invited to the target channel and has permission to read messages and use search.
  4. Configure Slack search: In the Slack node, set the query to your channel and emoji, for example in:#support has::ticket:. Adjust the limit if you want to scan more than 10 messages.
  5. Connect Linear: Double click the Linear nodes (Get Existing Issues and Create Ticket). In the credential dropdown, click 'Create new credential'. If using an API key, generate it in your Linear settings and paste it into n8n. Save and test the connection.
  6. Set the Linear team: Open the Create Ticket node and set the Team name or ID to where you want tickets created. Run the Get Existing Issues node once to verify you can read from that workspace.
  7. Connect OpenAI: Double click the OpenAI Chat Model node, create a new credential, and paste your OpenAI API key from the OpenAI dashboard. Choose the model you prefer and keep temperature low for consistent output.
  8. Review AI output fields: Open the Generate Ticket Using ChatGPT node and confirm title, summary, ideas, and priority are produced by the structured parser. Keep these fields mapped to the Create Ticket node.
  9. Configure schedule: Open the Schedule Trigger and set how often the scan should run, for example every 5 minutes. Save the workflow.
  10. Validate end to end: Post a test message in the Slack channel with the ticket emoji. Execute the workflow and confirm a new Linear ticket is created with AI generated details.
  11. Check duplicate prevention: Run the workflow again with the same Slack message. Verify no new ticket is created and the If node routes the item to the skip path. If duplicates appear, confirm the channel and team settings and ensure the message id is included in the description logic.
  12. Troubleshooting: If Slack returns no results, confirm the app is in the channel and the query syntax is correct. If Linear fails, check the API key and team mapping. If OpenAI errors, verify your API key and usage limits.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Linear

Sign up

Free: $0 / mo, includes API access (2 teams, 250 issues)

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Slack

Sign up

Free plan: $0 / mo; limited to 10 apps (third-party or custom) and usable via Slack API

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.