AutomationFlowsAI & RAG › Automate Zendesk Support Replies with Gpt-4o-mini, Google Sheets & Gmail

Automate Zendesk Support Replies with Gpt-4o-mini, Google Sheets & Gmail

ByRahul Joshi @rahul08 on n8n.io

This workflow automates Zendesk ticket handling with AI-powered auto-replies. It pulls in new support tickets, checks against a Google Sheets FAQ database, and generates accurate responses using GPT-4o-mini. If the question matches an FAQ, the system replies with the predefined…

Event trigger★★★★☆ complexityAI-powered24 nodesLm Chat Azure Open AiZendeskGoogle SheetsChain LlmGmail
AI & RAG Trigger: Event Nodes: 24 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #8744 — we link there as the canonical source.

This workflow follows the Chainllm → 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 →

Download .json
{
  "id": "BRgkmSQneVUhy8wp",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Auto-Reply for Common Issues",
  "tags": [],
  "nodes": [
    {
      "id": "71026cd4-3934-4d46-8973-6957efcd7b3b",
      "name": "Azure OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        240,
        496
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "74860740-46f4-4b61-ab6c-d62e731eb2db",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        640,
        -192
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "942716da-a80f-4325-a82f-a9e957eec70e",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -896,
        -224
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ce13f7f0-559d-4e2d-85b1-5116c65f4f6b",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -608,
        -224
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "43c13706-805a-42d1-9ac1-c8cffddb4fbd",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        -176
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "17e84305-5cb6-445e-87e1-c1deb7745b05",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        448
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "78451223-0353-405e-a292-45f64cd2ff68",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        208,
        656
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b93bd350-9144-4bb0-a4a5-6caac01ab6ad",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -96,
        432
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d1ffa1ff-388f-4a72-a4e5-267a8caefb1d",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -816,
        528
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "466683f5-27e2-43ed-ba2e-06a62bbe835d",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1232,
        -80
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9a25381f-eb0c-430d-bd40-0acb86bba767",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        928,
        -352
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "741a240b-d9ff-4a3c-900b-bb7285e2a001",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1136,
        256
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ff5eb39c-1723-4848-a5f2-a282fe4eca61",
      "name": "Test Start",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1152,
        208
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f46c4e96-a867-4cf4-b6ad-1d1614bd751a",
      "name": "Fetch Zendesk Tickets",
      "type": "n8n-nodes-base.zendesk",
      "position": [
        -800,
        80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d8c77905-afb5-4e4b-8a26-8ac86c916b47",
      "name": "Select Latest Ticket",
      "type": "n8n-nodes-base.code",
      "position": [
        -592,
        80
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "c6968872-def1-4fe7-8ae9-e12021ee0856",
      "name": "Load FAQ List",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -752,
        368
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "f614b225-1bf6-4083-9616-31c1c79ebde7",
      "name": "Merge Ticket & FAQs",
      "type": "n8n-nodes-base.merge",
      "position": [
        -320,
        288
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "8cf61891-1a33-4c6d-a7de-cc17f439ac12",
      "name": "Prepare Data for AI",
      "type": "n8n-nodes-base.code",
      "position": [
        -32,
        288
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "cb088ef8-a35a-4f4a-aedb-194c6a8fac2f",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        496,
        416
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e0d53a95-4a97-4212-8b18-0f8ee53549f0",
      "name": "Generate Support Reply",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        304,
        288
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "3b061fd5-694b-4036-b02f-7a8fb2887120",
      "name": "Fetch Requester Email",
      "type": "n8n-nodes-base.zendesk",
      "position": [
        -160,
        80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1c0a0c80-4012-40f1-9d21-4b9281470555",
      "name": "Merge Reply & User Info",
      "type": "n8n-nodes-base.merge",
      "position": [
        752,
        96
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "a9c2d8a1-7bec-4c1b-b1f5-68019cb9e605",
      "name": "Format Email for Gmail",
      "type": "n8n-nodes-base.code",
      "position": [
        976,
        96
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "652fe821-13e6-4246-a4c1-5c3132a84371",
      "name": "Send Auto-Reply",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1184,
        96
      ],
      "parameters": {},
      "typeVersion": 2.1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "67032823-3003-4298-afd4-60ca6d3f205b",
  "connections": {
    "Test Start": {
      "main": [
        [
          {
            "node": "Fetch Zendesk Tickets",
            "type": "main",
            "index": 0
          },
          {
            "node": "Load FAQ List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Load FAQ List": {
      "main": [
        [
          {
            "node": "Merge Ticket & FAQs",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Merge Ticket & FAQs": {
      "main": [
        [
          {
            "node": "Prepare Data for AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Data for AI": {
      "main": [
        [
          {
            "node": "Generate Support Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Select Latest Ticket": {
      "main": [
        [
          {
            "node": "Merge Ticket & FAQs",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Requester Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Requester Email": {
      "main": [
        [
          {
            "node": "Merge Reply & User Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Zendesk Tickets": {
      "main": [
        [
          {
            "node": "Select Latest Ticket",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Email for Gmail": {
      "main": [
        [
          {
            "node": "Send Auto-Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Support Reply": {
      "main": [
        [
          {
            "node": "Merge Reply & User Info",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Azure OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Support Reply",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Merge Reply & User Info": {
      "main": [
        [
          {
            "node": "Format Email for Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

This workflow automates Zendesk ticket handling with AI-powered auto-replies. It pulls in new support tickets, checks against a Google Sheets FAQ database, and generates accurate responses using GPT-4o-mini. If the question matches an FAQ, the system replies with the predefined…

Source: https://n8n.io/workflows/8744/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This workflow automates the candidate rejection process after interviews. It retrieves interview feedback from Google Sheets, uses AI to structure and score candidate data, applies a scoring threshold

Google Sheets, ClickUp, Chain Llm +2
AI & RAG

This workflow automates personalized candidate communication for both shortlisted and rejected applicants. It fetches candidate details, processes resumes, checks for errors, and uses GPT-4o to genera

Google Sheets, Google Drive, Lm Chat Azure Open Ai +2
AI & RAG

This workflow automates employee retention analytics by combining candidate performance data with trait-level retention statistics. It scores candidates, validates data, and generates a polished Reten

Google Sheets, Chain Llm, Lm Chat Azure Open Ai +1
AI & RAG

Streamline interview feedback handling with this rejection-focused workflow. It processes raw interview feedback, applies an AI-powered scoring model, checks against a threshold, and automatically sen

Gmail, Google Sheets, ClickUp +2
AI & RAG

This workflow automates the creation of comprehensive interviewer brief packs by extracting candidate resume data and generating professional HTML interview preparation materials. It saves recruiters

Gmail, Google Sheets, Chain Llm +2