Add a bug to Linear via Slack command
Use Case When building a product it's important to discover and eliminate bugs as quickly as possible. Since we're using our product at n8n a lot, we wanted ...
🔌 Nodes & Integrations Used (1)
📖 Implementation & Setup Guide
Use Case When building a product it's important to discover and eliminate bugs as quickly as possible. Since we're using our product at n8n a lot, we wanted to make it as easy as possible for everyone to add bugs with the needed level of detail. That's why we built this workflow that allows everyone to add bugs to our Linear account easily directly from Slack ## What this workflow does This workflow waits for a webhook call within Slack, that gets fired when users use the `/bug` command on a bot that you will create as part of this template. It then adds the bug to Linear using a pre-defined description and a defined label. It then notifies the user about the newly added bug as you can see below:
How to create your Slack bot 1. Visit https://api.slack.com/apps, click on New App and choose a name and workspace. 2. Click on OAuth & Permissions and scroll down to Scopes -> Bot token Scopes 3. Add the `chat:write` scope 4. Head over to `Slash Commands` and click on `Create New Command` 5. Use `/bug` as the command 6. Copy the test URL from the **Webhook** node into `Request URL` 7. Add whatever feels best to the description and usage hint 8. Go to `Install app` and click install
Setup 1. Configure your Slack bot using the sticky to the left 2. Fill the `Set me up` node. You can find the IDs easily using the Helper nodes section 3. Make sure to exchange the `Request URL` in your Slack with the Prod URL of the Webhook node before activating this workflow
How to adjust it to your needs - Add zero, one, two or many labels when creating the new ticket - Change the Slack message according to your needs - Change the default description for a new bug ticket - Rename the Slack command as it works best for you
How to enhance this workflow At n8n we use this workflow in combination with some others. E.g. we have the following things on top: - We're using AI to classify the bugs and move them to the right team as soon as they get added to Linear (see [this template](https://n8n.io/workflows/2154-classify-new-bugs-in-linear-with-openais-gpt-4-and-move-them-to-the-right-team)) - We also added other commands like `/pain` and `/idea` that allow us to submit other things to Notion. You can see the workflow for that here.
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Add a bug to Linear via Slack command.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related Messaging & Chat Workflows
View All in Messaging & Chat →AI Children s Storytelling on Telegram
Production-ready n8n automation template for AI Children s Storytelling on Telegram built by AhiXLight. Seamlessly connects Lm Chat Open Ai, Chain Summarization, Text Splitter Recursive Character Text Splitter with 14 configured nodes.
AI Event Banner Generator with BannerBear
Production-ready n8n automation template for AI Event Banner Generator with BannerBear built by AhiXLight. Seamlessly connects Form Trigger, HTTP Request, Bannerbear with 16 configured nodes.
AI Event Banner Generator with n8n
Production-ready n8n automation template for AI Event Banner Generator with n8n built by AhiXLight. Seamlessly connects Form Trigger, HTTP Request, Bannerbear with 16 configured nodes.
AI Topic Monitoring with RSS, OpenAI, Slack
Production-ready n8n automation template for AI Topic Monitoring with RSS, OpenAI, Slack built by AhiXLight. Seamlessly connects Lm Chat Open Ai, Chain Llm, Rss Feed Read with 31 configured nodes.