π¬ Automate Zendesk Support replies with GPT-4o-mini, Google Sheets & Gmail
β‘ 89 views Β· π¬ Support Chatbots
Description
Description
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 answer; otherwise, it drafts a polite, professional custom response. Finally, the workflow formats and sends the reply via Gmail, ensuring customers always receive quick and reliable support.
What This Template Does (Step-by-Step)
π« Fetch Latest Zendesk Ticket Retrieves and filters tickets, keeping only the most recent one. π Load FAQ Knowledge Base (Google Sheets) Provides predefined answers for common support queries. π Merge Ticket + FAQs Combines ticket details and FAQ list into one clean dataset. π§Ή Prepare Data for AI Restructures merged data into JSON with two sections: ticket + faqs. π€ Generate Support Reply (Azure OpenAI GPT-4o-mini)
- If ticket matches FAQ β sends exact predefined answer.
- If no match β crafts a polite AI-generated reply. π§ Fetch Requester Email (Zendesk) Resolves requester_id into a usable customer email. π Merge Reply + User Info Joins AI reply with customerβs email into one dataset. π Format for Gmail Creates a ready-to-send JSON: to, subject, body. π¨ Send Auto-Reply (Gmail) Delivers the response directly to the customerβs inbox.
Prerequisites
- Zendesk account & API credentials
- Google Sheet with FAQ list (questions + answers)
- n8n instance (cloud or self-hosted)
- Azure OpenAI API key (GPT-4o-mini)
- Gmail API credentials (for reply delivery) 1
Step-by-Step Setup
- Connect Zendesk API β Pull latest tickets.
- Configure Google Sheets β Load FAQ dataset.
- Merge both streams (ticket + FAQs) β Prepare JSON.
- Use LLM (Azure OpenAI GPT-4o-mini) β Match against FAQ or generate AI response.
- Fetch Requester Email from Zendesk.
- Merge AI reply + email address.
- Format structured JSON for Gmail.
- Send final email via Gmail OAuth2.
Customization Ideas
β‘ Add Slack/Teams notification for each reply sent. π Log all ticket + AI replies into Airtable/Notion for tracking. π¨ Personalize tone of AI responses (friendly, formal, technical). π Add auto-tagging in Zendesk (e.g., βAI handledβ vs βFAQ matchβ). π Extend workflow to escalate unresolved queries to human agents.
Key Benefits
β Always-on support replies β no waiting time β Accurate FAQ answers + fallback to AI-generated responses β Seamless Gmail integration for customer communication β Reduces manual ticket load on agents β Fully customizable for tone, logging, and escalation
Perfect For
π― Customer support teams handling repetitive queries π Growing startups needing scalable support π€ Businesses wanting AI + FAQ hybrid support π© Any company using Zendesk + Gmail for customer service
π Nodes Used
Google Sheets, Zendesk, Gmail, Basic LLM Chain, Azure OpenAI Chat Model
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File