Automated Ticket Generation from Slack Messages
detail.loadingPreview
Automatically creates support tickets in Linear based on messages in a Slack channel, leveraging AI for content generation.
About This Workflow
This workflow automates the process of converting relevant Slack messages into actionable support tickets within Linear. It monitors a specified Slack channel for messages tagged with the ticket emoji, checks for existing tickets to avoid duplicates, and then uses OpenAI's GPT model to generate a concise title, a detailed summary, and a priority level for the new ticket. Finally, it creates the ticket in Linear with all the generated information and a link to the original Slack message.
Key Features
- Slack Integration: Monitors a designated Slack channel for incoming messages.
- Ticket Emoji Trigger: Processes only messages that include the ticket emoji (🎫).
- Duplicate Prevention: Checks Linear for existing tickets associated with a message to prevent duplicates.
- AI-Powered Content Generation: Utilizes OpenAI's GPT model to generate ticket titles, summaries, and priority levels.
- Structured Metadata: Extracts and formats key information from Slack messages into structured ticket fields.
- Linear Integration: Creates new support tickets in Linear with relevant details.
- Configurable Scheduling: The workflow can be triggered at regular intervals using a schedule trigger.
How To Use
- Configure Schedule Trigger: Set the
Schedule Triggernode to define how often the workflow should run (e.g., every 5 minutes). - Connect Slack: Ensure the
Slacknode is configured with your Slack credentials and the correct channel (#n8n-ticketsin the example) and search query. - Process Slack Messages: The
Get Valuesnode extracts relevant information from incoming Slack messages. - Check for Duplicates: The
Get Existing Issuesnode fetches existing Linear tickets. TheCollect Descriptions,Get Hashes Only, andCreate New Ticket?nodes work together to determine if a ticket for the current message already exists. - Generate Ticket Content with AI: If a new ticket needs to be created, the
Generate Ticket Using ChatGPTnode sends the message content to OpenAI to generate a title, summary, suggestions, and priority.- Ensure the
OpenAI Chat ModelandStructured Output Parsernodes are correctly set up and connected. - The
OpenAI Chat Modelshould be configured with your OpenAI API key. - The
Structured Output Parsershould have a JSON schema defined to structure the AI's output.
- Ensure the
- Create Linear Ticket: The
Create Ticketnode uses the AI-generated content to create a new ticket in your Linear project. Configure theteamIdandstateIdas per your Linear setup.
Apps Used
Workflow JSON
{
"id": "6451cb34-6455-48a9-9635-0a1e298fd3fc",
"name": "Automated Ticket Generation from Slack Messages",
"nodes": 19,
"category": "Workflow Automation",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 6451cb34-6455...
About the Author
SaaS_Connector
Integration Guru
Connecting CRM, Notion, and Slack to automate your life.
Statistics
Related Workflows
Discover more workflows you might like
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Automate Local Business Outreach with AI-Powered Yelp Scraper
This workflow automates the process of scraping local business details from Yelp using AI, then leverages that data to send personalized partnership proposals via Gmail. It's perfect for sales and marketing teams looking to streamline lead generation and outreach campaigns.
Automate Getty Images Editorial Search & CMS Integration
This n8n workflow automates searching for editorial images on Getty Images, extracts key details and embed codes, and prepares them for seamless integration into your Content Management System (CMS), streamlining your content creation process.