Library / Customer Support & Helpdesk
Customer Support & Helpdesk
Create Linear Issues from Gmail Support Emails with OpenAI
On a schedule, new support emails in Gmail are read, OpenAI turns each into a structured issue, and a Linear issue is created.
What it does
## Try It Out! ### This n8n template watches a Gmail inbox for support messages and creates an equivalent issue item in Linear. ### How it works * A scheduled trigger fetches recent Gmail messages from the inbox which collects support requests. * These support requests are filtered to ensure they are only processed once and their HTML body is converted to markdown for easier parsing. * Each support request is then triaged via an AI Agent which adds appropriate labels, assesses priority and summarises a title and description of the original request. * Finally, the AI generated values are used to create an issue in Linear to be actioned. ### How to use * Ensure the messages fetched are solely support requests otherwise you'll need to classify messages before processing them. * Specify the labels and priorities to use in the system prompt of the AI agent. ### Requirements * Gmail for incoming support messages * OpenAI for LLM * Linear for issue management ### Customising this workflow * Consider automating more steps after the issue is created such as attempting issue resolution or capacity planning. ### Need Help? Join the Discord or ask in the Forum! Happy Hacking!
The steps
- Schedule Trigger
- OpenAI Chat Model
- Structured Output Parser
- Markdown
- Mark as Seen
- Generate Issue From Support Request
- Get Recent Messages
- Create Issue in Linear.App
Similar automations
Customer Support & HelpdeskTurn Gmail Support Requests into Linear Issues with OpenAI10 stepsTasks & Project ManagementSync Linear Issues to Todoist Tasks Automatically26 stepsCustomer Support & HelpdeskTurn Slack Support Requests into Linear Tickets with OpenAI12 stepsCustomer Support & HelpdeskTrack Linear Support Sentiment with OpenAI and Slack14 steps