{"product_id":"n8n-workflow-triage-gmail-feedback-to-deduped-linear-issues","title":"n8n Workflow: Triage Gmail Feedback to Deduped Linear Issues","description":"\u003ch3\u003eTurn unread Gmail feedback into deduplicated Linear issues—automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow watches your \u003cstrong\u003eGmail inbox\u003c\/strong\u003e for unread customer feedback, uses \u003cstrong\u003eOpenAI\u003c\/strong\u003e to triage and \u003cstrong\u003ededuplicate\u003c\/strong\u003e against your existing \u003cstrong\u003eLinear\u003c\/strong\u003e issues, then creates a new issue or updates the right one—without double-triaging.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns continuously and on schedule:\u003c\/strong\u003e triggers every minute for new unread Gmail messages, and also runs every Monday morning.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCleans incoming emails:\u003c\/strong\u003e removes replies\/quotes and ignores auto-replies, newsletters, mailing lists, plus configured sender\/subject patterns (and skips the workflow’s own outgoing messages).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLoads Linear context:\u003c\/strong\u003e retrieves the team’s open Linear issues (including comments) and avoids reprocessing if the email was already filed using a stored message marker.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses OpenAI for triage + deduping:\u003c\/strong\u003e applies an OpenAI chat model with a structured output schema and a Linear search tool to classify each email as: a new issue, a match to an existing open issue, or unclear.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates the decision:\u003c\/strong\u003e checks confidence thresholds and only then performs the selected action.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHandles the outcome:\u003c\/strong\u003e creates a new Linear issue, adds a comment to a matched issue, or asks the customer for clarification when the email is unclear. It embeds the email marker for future deduplication.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCloses the loop via Gmail:\u003c\/strong\u003e sends a thank-you or follow-up question, and marks emails as read after handling. If triage is held due to Linear\/API or AI issues, it emails the team.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWeekly ranking report:\u003c\/strong\u003e on Mondays, ranks open Linear issues by the number of customer-request markers they contain and emails the top results to the team.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eConvert customer feature requests and bug reports from Gmail into accurate, deduplicated Linear issues.\u003c\/li\u003e\n  \u003cli\u003ePrevent duplicate issues by matching new feedback to existing open items and commenting instead of creating duplicates.\u003c\/li\u003e\n  \u003cli\u003eGet a weekly view of which Linear issues are being requested most by customers.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\/nodes:\u003c\/strong\u003e \u003ccode\u003egmail\u003c\/code\u003e, \u003ccode\u003elinear\u003c\/code\u003e, \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003eswitch\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAI triage:\u003c\/strong\u003e OpenAI chat model with structured output schema and Linear search for classification and matching.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDeduplication:\u003c\/strong\u003e stored message markers to skip already-filed emails.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46157919223987,"sku":"N8N-20369","price":23.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/hxRN3NMAWL6cHXfyx8_PJ_EO5ZK2V8.png?v=1791018271","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-triage-gmail-feedback-to-deduped-linear-issues","provider":"N8N Commerce","version":"1.0","type":"link"}