n8n

How to Capture Slack Bugs into Linear Issues?

Turn quick bug notes in Slack into real tickets in Linear. Teams log issues with a simple slash command and get instant feedback, so nothing gets lost.

A webhook catches the slash command and reads the text and the user who sent it. A setup step stores the correct team and labels for routing. An authenticated request to Linear creates a new issue through its GraphQL API, using the Slack text as the title while cleaning quotes to avoid errors. After the ticket is created, a private message is posted back to Slack using the response URL to confirm and ask for more details. Helper calls can list your Linear teams and labels so you can copy the right IDs during setup.

You will need a Slack app with a slash command that points to the n8n webhook URL, plus a Linear account with access to your workspace. Expect bug capture time to drop from minutes to seconds and fewer lost reports across channels. Useful for product squads, QA groups, and support leads who report issues from chat without switching tools.

What are the key features?

  • Webhook trigger captures Slack slash command text and user id.
  • Config Set node stores teamId and labelIds so issues land in the right place.
  • Linear GraphQL request creates the issue with OAuth2 and returns id, title, and url.
  • Quote cleaning in the title prevents bad payloads when users type double quotes.
  • Slack response message sends a private confirmation and asks for more context.
  • Helper requests list Linear teams and labels so you can copy the correct IDs.

What are the benefits?

  • Reduce manual work from 5 minutes to 30 seconds per bug
  • Automate 80% of repetitive ticket entry
  • Improve data quality by 50% with standard team and labels
  • Connect Slack and Linear seamlessly for one place to track bugs
  • Handle 3 times more bug reports without extra staffing

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 and Linear. See the Tools Required section above for links to create accounts with these services.
  3. In Slack, create a workspace app. Add the chat:write scope under OAuth and Permissions, then create a slash command such as /bug.
  4. Open the Webhook node in n8n and copy the Test URL. Paste it into the Slack slash command Request URL. Install the Slack app to your workspace.
  5. In n8n, double click the Create linear issue node. In the Credential to connect with dropdown, click Create new credential, choose Linear OAuth2, then follow the on screen steps to connect your Linear account.
  6. Run the helper nodes Get all linear teams and Get linear labels for a team to list available IDs. Copy the correct team id and label ids.
  7. Open the Set me up node and paste your teamId and labelIds so new issues are routed to the right team with the right tags.
  8. Execute the workflow in test mode. In Slack, type /bug followed by a short title. Check that a new issue appears in Linear and that Slack shows a private confirmation message.
  9. Switch the Slack slash command Request URL from the Webhook Test URL to the Webhook Production URL in n8n before you activate the workflow.
  10. If no issue is created, confirm your Linear credential is connected and that the teamId and labelIds exist in your Linear workspace.
  11. If Slack shows no confirmation, make sure the slash command points to the current webhook URL and that the workspace allows custom apps.
  12. Activate the workflow in n8n and notify your team to use the slash command for all new bug reports.

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)

Slack

Sign up

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

Credits:
Nik

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.