Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

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

  1. Schedule Trigger
  2. OpenAI Chat Model
  3. Structured Output Parser
  4. Markdown
  5. Mark as Seen
  6. Generate Issue From Support Request
  7. Get Recent Messages
  8. Create Issue in Linear.App

Similar automations