This workflow corresponds to n8n.io template #9529 — we link there as the canonical source.
This workflow follows the Gmail → Google Sheets recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"nodes": [
{
"id": "484cfe93-bc7f-4aef-92ed-13275520e410",
"name": "When clicking \u2018Execute workflow\u2019",
"type": "n8n-nodes-base.manualTrigger",
"position": [
592,
-192
],
"parameters": {},
"typeVersion": 1
},
{
"id": "05255861-8c56-414e-b049-cf9461573bf3",
"name": "Get row(s) in sheet",
"type": "n8n-nodes-base.googleSheets",
"position": [
816,
-192
],
"parameters": {},
"typeVersion": 4.7
},
{
"id": "ad0f26e5-1e80-4bfc-8618-75193f20cfd5",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
384,
-432
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "03007af0-3d99-4bf1-ba61-0e6dbcbc2ed7",
"name": "Send a message",
"type": "n8n-nodes-base.gmail",
"position": [
1040,
-192
],
"parameters": {},
"typeVersion": 2.1
},
{
"id": "6a87ced3-7db5-45ec-a8fe-28e4d5410e17",
"name": "Microsoft Outlook Trigger",
"type": "n8n-nodes-base.microsoftOutlookTrigger",
"position": [
608,
608
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d68f2907-5ceb-4927-9256-04c25c309636",
"name": "Email_Classifier_Agent",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
1216,
608
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "13ba46a8-c430-4aa3-bc3c-746b5a68b1c1",
"name": "Create_High_Priority_Response",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
2320,
320
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "36aee599-c322-460a-a1a7-835ae32bf9aa",
"name": "Create a draft",
"type": "n8n-nodes-base.microsoftOutlook",
"position": [
2832,
320
],
"parameters": {},
"typeVersion": 2
},
{
"id": "9e57a1fe-2649-46d8-9f73-612d359e7e12",
"name": "Send a text message",
"type": "n8n-nodes-base.telegram",
"position": [
3056,
320
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "d2e43f52-4ce0-4627-bc3f-baeaba48197b",
"name": "Move_To_Customer_Support",
"type": "n8n-nodes-base.microsoftOutlook",
"position": [
2096,
512
],
"parameters": {},
"typeVersion": 2
},
{
"id": "d8a492d5-7f59-477c-ba76-4b8b86a13dab",
"name": "Creating Support Email",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
2320,
512
],
"parameters": {},
"typeVersion": 1.5
},
{
"id": "52a34302-9147-471d-8e17-0d181fff05c2",
"name": "Notify_Support_Team",
"type": "n8n-nodes-base.telegram",
"position": [
3056,
512
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "5cad1c92-9413-4325-8402-06b3533dcde2",
"name": "Routing",
"type": "n8n-nodes-base.switch",
"position": [
1824,
576
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "e9ed1052-c362-44d0-ad5e-72208546abb5",
"name": "Move to High Priority",
"type": "n8n-nodes-base.microsoftOutlook",
"position": [
2096,
320
],
"parameters": {},
"typeVersion": 2
},
{
"id": "ca851d32-51e5-42aa-a3d0-11d8cee9e5ac",
"name": "Send Cust Support Response",
"type": "n8n-nodes-base.microsoftOutlook",
"position": [
2832,
512
],
"parameters": {},
"typeVersion": 2
},
{
"id": "5f3fec9a-da87-4023-830a-f035140731e6",
"name": "Summary & Rec",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
2320,
704
],
"parameters": {},
"typeVersion": 1.5
},
{
"id": "8b5e9fb1-ccac-49eb-99a4-2387f75e185e",
"name": "Move_To_Promotions",
"type": "n8n-nodes-base.microsoftOutlook",
"position": [
2096,
704
],
"parameters": {},
"typeVersion": 2
},
{
"id": "193b1547-e4c8-4cf0-9a1e-048dd3ce5b2f",
"name": "Notify_Support_Team1",
"type": "n8n-nodes-base.telegram",
"position": [
2832,
704
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "60b7deef-2b1d-4a9b-a2f6-53b2150e7985",
"name": "Summary for Finance Dept",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
2320,
896
],
"parameters": {},
"typeVersion": 1.5
},
{
"id": "dc73ceed-b872-4ff1-ab85-f0548f668605",
"name": "Move_To_Finance/Billing",
"type": "n8n-nodes-base.microsoftOutlook",
"position": [
2096,
896
],
"parameters": {},
"typeVersion": 2
},
{
"id": "9fcec220-6980-427a-915c-7818b9ab5198",
"name": "Send to Finance DL",
"type": "n8n-nodes-base.microsoftOutlook",
"position": [
2832,
896
],
"parameters": {},
"typeVersion": 2
},
{
"id": "408577b2-7191-4c99-833d-937c9cd91a5c",
"name": "Notify_Finance_Head",
"type": "n8n-nodes-base.telegram",
"position": [
3056,
896
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "1d566b97-89ba-4184-9811-13eb2ccf120e",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-592,
288
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3e606506-5a4b-47b7-88e5-41eda38ad70c",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1024,
448
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ffcb813a-e29c-47a5-bb2d-b6321f194894",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1744,
96
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "fac6f0ab-ee5e-42f7-abd2-4d62bc564bdc",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
464,
448
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "5e6fbda7-8813-430c-aa97-51e84609ddc9",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
2256,
96
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "45ec49c6-6f3e-4cc1-ad20-2bd0e91c9f81",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
2976,
96
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"connections": {
"Routing": {
"main": [
[
{
"node": "Move to High Priority",
"type": "main",
"index": 0
}
],
[
{
"node": "Move_To_Customer_Support",
"type": "main",
"index": 0
}
],
[
{
"node": "Move_To_Promotions",
"type": "main",
"index": 0
}
],
[
{
"node": "Move_To_Finance/Billing",
"type": "main",
"index": 0
}
]
]
},
"Summary & Rec": {
"main": [
[
{
"node": "Notify_Support_Team1",
"type": "main",
"index": 0
}
]
]
},
"Create a draft": {
"main": [
[
{
"node": "Send a text message",
"type": "main",
"index": 0
}
]
]
},
"Move_To_Promotions": {
"main": [
[
{
"node": "Summary & Rec",
"type": "main",
"index": 0
}
]
]
},
"Send to Finance DL": {
"main": [
[
{
"node": "Notify_Finance_Head",
"type": "main",
"index": 0
}
]
]
},
"Get row(s) in sheet": {
"main": [
[
{
"node": "Send a message",
"type": "main",
"index": 0
}
]
]
},
"Move to High Priority": {
"main": [
[
{
"node": "Create_High_Priority_Response",
"type": "main",
"index": 0
}
]
]
},
"Creating Support Email": {
"main": [
[
{
"node": "Send Cust Support Response",
"type": "main",
"index": 0
}
]
]
},
"Email_Classifier_Agent": {
"main": [
[
{
"node": "Routing",
"type": "main",
"index": 0
}
]
]
},
"Move_To_Finance/Billing": {
"main": [
[
{
"node": "Summary for Finance Dept",
"type": "main",
"index": 0
}
]
]
},
"Move_To_Customer_Support": {
"main": [
[
{
"node": "Creating Support Email",
"type": "main",
"index": 0
}
]
]
},
"Summary for Finance Dept": {
"main": [
[
{
"node": "Send to Finance DL",
"type": "main",
"index": 0
}
]
]
},
"Microsoft Outlook Trigger": {
"main": [
[
{
"node": "Email_Classifier_Agent",
"type": "main",
"index": 0
}
]
]
},
"Send Cust Support Response": {
"main": [
[
{
"node": "Notify_Support_Team",
"type": "main",
"index": 0
}
]
]
},
"Create_High_Priority_Response": {
"main": [
[
{
"node": "Create a draft",
"type": "main",
"index": 0
}
]
]
},
"When clicking \u2018Execute workflow\u2019": {
"main": [
[
{
"node": "Get row(s) in sheet",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This workflow automatically classifies and routes incoming Outlook emails into smart categories using n8n + OpenAI GPT-4.1-mini. It helps professionals and teams stay organized by intelligently sorting and responding to high-priority messages, customer support emails,…
Source: https://n8n.io/workflows/9529/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Transform your Google Form into an intelligent customer support system that automatically analyzes, prioritizes, and responds to every inquiry with AI-powered personalization.
Stay ahead in your trading game with this powerful n8n automation workflow. Designed for real-time efficiency, this setup continuously scans your Gmail inbox for trading alerts from TradingView and en
This workflow sends an instant email alert when a task in a Google Sheet is marked as Urgent, and then sends a Telegram reminder notification after 2 hours if the task still hasn’t been updated. Then
Create viral TikTok videos effortlessly — no editing skills required!
This workflow intelligently scans your inbox, detects whether an email is marketing or genuine, and takes the right action automatically.