This workflow corresponds to n8n.io template #8752 — we link there as the canonical source.
This workflow follows the Agent → Gmail 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 →
{
"id": "ZzWlgWAG5h1tp4Zy",
"name": "Customer Feedback & Sentiment Analysis System",
"tags": [],
"nodes": [
{
"id": "3e6598ca-2275-44aa-9615-49eb2e2a0a61",
"name": "Fetch Support Tickets",
"type": "n8n-nodes-base.googleSheets",
"position": [
-352,
1616
],
"parameters": {},
"typeVersion": 4.6
},
{
"id": "0703b3e9-c517-4684-acc6-436332a653c2",
"name": "Filter Closed Tickets",
"type": "n8n-nodes-base.if",
"position": [
-128,
1616
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "d8e362ce-ebec-46b9-92ec-a5209a9c42be",
"name": "Calculate Ticket Metrics",
"type": "n8n-nodes-base.code",
"position": [
96,
1616
],
"parameters": {},
"typeVersion": 2
},
{
"id": "4a63c13d-777f-4f0b-8cb0-2cc0e9d53b73",
"name": "AI Ticket Analysis",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
320,
1616
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "53c2ee78-a622-467f-bf8d-e3c1af6f2a0f",
"name": "Azure OpenAI",
"type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
"position": [
392,
1840
],
"parameters": {},
"typeVersion": 1
},
{
"id": "2f662712-4b54-4bae-93da-fd93034fc306",
"name": "Parse AI Insights",
"type": "n8n-nodes-base.code",
"position": [
672,
1616
],
"parameters": {},
"typeVersion": 2
},
{
"id": "ad84c4c4-b4b9-4a93-b452-9c2880805d18",
"name": "Route by Customer Tier",
"type": "n8n-nodes-base.switch",
"position": [
896,
1616
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "1d682089-e1f2-448c-9600-7e1c80fbceb9",
"name": "Send VIP Email (Gold/Silver)",
"type": "n8n-nodes-base.gmail",
"position": [
1120,
1616
],
"parameters": {},
"typeVersion": 2.1
},
{
"id": "f7edd99f-e567-4b6e-a71e-8e460b124a73",
"name": "Send Standard Email (Bronze)",
"type": "n8n-nodes-base.gmail",
"position": [
1120,
1808
],
"parameters": {},
"typeVersion": 2.1
},
{
"id": "c2594027-0047-4464-8b2c-eeb5b84e3ffc",
"name": "Log to Feedback Tracker",
"type": "n8n-nodes-base.googleSheets",
"position": [
1344,
1712
],
"parameters": {},
"typeVersion": 4.6
},
{
"id": "73b7b8ed-5f5f-4aec-a261-dfa19bd12412",
"name": "Check Alert Conditions",
"type": "n8n-nodes-base.if",
"position": [
1568,
1712
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "d2ae3cec-ca1b-491f-a7fe-5f28a8e9ceba",
"name": "Send Slack Alert",
"type": "n8n-nodes-base.slack",
"position": [
1792,
1712
],
"parameters": {},
"typeVersion": 1
},
{
"id": "85e4cb40-d4b8-4a9f-8922-35d2fa45ddc3",
"name": "Overview Sticky",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1088,
1488
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "caf29a96-b07e-4388-81dd-da34fdfebc53",
"name": "Data Collection",
"type": "n8n-nodes-base.stickyNote",
"position": [
-336,
1456
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8eb8c243-0679-4772-b03c-e8ac7446973d",
"name": "AI Analysis",
"type": "n8n-nodes-base.stickyNote",
"position": [
176,
1456
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b04a0163-0dda-48db-aeb1-6ab4aa108948",
"name": "Email Delivery",
"type": "n8n-nodes-base.stickyNote",
"position": [
720,
1440
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "6d629cb8-bec2-4773-a09a-99c1a79c6b45",
"name": "Tracking & Alerts",
"type": "n8n-nodes-base.stickyNote",
"position": [
1312,
1504
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "75eb2281-de65-43f3-bb44-ed23af196088",
"name": "When clicking \u2018Execute workflow\u2019",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-560,
1616
],
"parameters": {},
"typeVersion": 1
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "b67f4501-b66f-4cf7-a7e3-4f7adb703c38",
"connections": {
"Azure OpenAI": {
"ai_languageModel": [
[
{
"node": "AI Ticket Analysis",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Parse AI Insights": {
"main": [
[
{
"node": "Route by Customer Tier",
"type": "main",
"index": 0
}
]
]
},
"AI Ticket Analysis": {
"main": [
[
{
"node": "Parse AI Insights",
"type": "main",
"index": 0
}
]
]
},
"Fetch Support Tickets": {
"main": [
[
{
"node": "Filter Closed Tickets",
"type": "main",
"index": 0
}
]
]
},
"Filter Closed Tickets": {
"main": [
[
{
"node": "Calculate Ticket Metrics",
"type": "main",
"index": 0
}
]
]
},
"Check Alert Conditions": {
"main": [
[
{
"node": "Send Slack Alert",
"type": "main",
"index": 0
}
]
]
},
"Route by Customer Tier": {
"main": [
[
{
"node": "Send VIP Email (Gold/Silver)",
"type": "main",
"index": 0
}
]
]
},
"Log to Feedback Tracker": {
"main": [
[
{
"node": "Check Alert Conditions",
"type": "main",
"index": 0
}
]
]
},
"Calculate Ticket Metrics": {
"main": [
[
{
"node": "AI Ticket Analysis",
"type": "main",
"index": 0
}
]
]
},
"Send Standard Email (Bronze)": {
"main": [
[
{
"node": "Log to Feedback Tracker",
"type": "main",
"index": 0
}
]
]
},
"Send VIP Email (Gold/Silver)": {
"main": [
[
{
"node": "Log to Feedback Tracker",
"type": "main",
"index": 0
}
]
]
},
"When clicking \u2018Execute workflow\u2019": {
"main": [
[
{
"node": "Fetch Support Tickets",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Automatically send personalized customer feedback requests once a support ticket is marked as closed and centralize responses for service quality tracking. Uses Google Sheets as the ticket source, filters only resolved tickets, and delivers tailored survey invitations via Gmail.…
Source: https://n8n.io/workflows/8752/ — 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.
This workflow automates end-to-end validation, assessment, and reporting of n8n workflow JSON templates using Google Drive, Azure OpenAI GPT-4o, Gmail, and Slack. It retrieves workflows from a Drive f
Automatically capture customer onboarding help requests from Typeform, log them in Google Sheets, validate email addresses, and send a professional HTML welcome email via Gmail. Ensures smooth onboard
Automate your weekly social media analytics with this end-to-end AI reporting workflow. 📊🤖 This system collects real-time Twitter (X) and Facebook metrics, merges and validates data, formats it with J
This end-to-end automation transforms developer support emails into actionable FAQs and sentiment insights using Azure OpenAI GPT-4o, Gmail, Notion, Slack, and Google Sheets. It not only classifies an
This automation streamlines client review collection and sentiment summarization for Techdome using HighLevel CRM, Azure OpenAI GPT-4o, Gmail, Slack, and Google Sheets. It starts by pulling recently w