Create Jira tickets from Gmail and Outlook support emails with OpenAI and Slack
Ready for 3.0What this workflow does
This AI workflow has 48 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail, Microsoft Outlook, OpenAI Chat Model and Jira Software and 2 more.
How it runs
Trigger: On Gmail events (plus 1 other trigger).
- Normalize Gmail Email (Code): runs custom JavaScript code
- Normalize Outlook Email (Code): runs custom JavaScript code
- Set Workflow Configuration (Edit Fields (Set)): sets 22 fields: internalDomains, ignoreSenderPatterns, minConfidence…
- Prepare Step for Classification (Edit Fields (Set)): sets 1 field: step
- Execute Email Classification (Execute Sub-workflow): calls another n8n workflow
- Route by Classification Outcome (Switch): routes items into 2 branches
- Prepare Step for Escalation (Edit Fields (Set)): sets 1 field: step
- Prepare Step for Review (Edit Fields (Set)): sets 1 field: step
- Prepare Step for Logging (Edit Fields (Set)): sets 1 field: step
- Execute Escalation Workflow (Execute Sub-workflow): calls another n8n workflow
…plus 34 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (When Email Received in Gmail).
Nodes used (16)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Microsoft Outlook Trigger
n8n-nodes-base.microsoftOutlookTrigger - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Switch
n8n-nodes-base.switch - If
n8n-nodes-base.if - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Jira Software
n8n-nodes-base.jira - HTTP Request
n8n-nodes-base.httpRequest - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - Microsoft Outlook
n8n-nodes-base.microsoftOutlook - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview This workflow monitors Gmail and Microsoft Outlook for new support emails, uses OpenAI to classify and prioritize them, creates or updates Jira issues, notifies the right Slack channels (optionally Microsoft Teams), and logs every processed…