Automated Ticket Generation from Slack
detail.loadingPreview
Automatically generate support tickets in Linear from Slack messages based on AI analysis.
About This Workflow
This workflow monitors a specified Slack channel for messages tagged with the ticket emoji (🎫). For each new, unticketed message, it leverages OpenAI's GPT model to extract key information, generate a descriptive title, summarize the issue, determine priority, and suggest potential solutions. Finally, it creates a new ticket in Linear with this enriched information.
Key Features
- Slack Channel Monitoring: Actively scans a designated Slack channel for relevant messages.
- Ticket Emoji Trigger: Processes only messages explicitly tagged with the ticket emoji.
- Duplicate Prevention: Checks Linear to avoid creating duplicate tickets for the same message.
- AI-Powered Content Generation: Utilizes OpenAI to generate ticket titles, summaries, priorities, and debugging suggestions.
- Structured Metadata: Creates structured data for each ticket, including user details, message content, and timestamps.
- Linear Ticket Creation: Automatically creates new tickets in Linear with detailed information.
- Customizable Prompts: The AI prompt can be adjusted for different output requirements.
How To Use
- Configure Schedule Trigger: Set up the
Schedule Triggerto run the workflow at desired intervals (e.g., every minute). - Connect Slack: Authenticate the
Slacknode with your Slack workspace and configure the search query to target the desired channel and emoji (e.g.,in:#n8n-tickets has::ticket:). - Map Message Data: The
Get Valuesnode extracts and structures relevant data from incoming Slack messages. - Integrate with Linear: Authenticate the
Linearnodes (Get Existing IssuesandCreate Ticket) with your Linear account. - Check for Duplicates: The workflow fetches existing tickets from Linear (
Get Existing Issues) and compares them to incoming messages to prevent duplicates. TheCollect DescriptionsandGet Hashes Onlynodes extract unique identifiers for this purpose. - AI Ticket Generation: The
Generate Ticket Using ChatGPTnode (powered byOpenAI Chat ModelandStructured Output Parser) takes the Slack message as input and generates a title, summary, suggestions, and priority based on the defined prompt. - Create Linear Ticket: The
Create Ticketnode uses the AI-generated output and original message data to create a new ticket in Linear. EnsureteamIdandstateIdare correctly configured in the node's parameters.
Apps Used
Workflow JSON
{
"id": "49c41a18-b340-4689-b22d-6fc55c71b869",
"name": "Automated Ticket Generation from Slack",
"nodes": 16,
"category": "Support 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: 49c41a18-b340...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Related Workflows
Discover more workflows you might like
Automated Outlook to Jira Ticket Generation
Automatically process support emails from Outlook and create Jira issues.