Transform support tickets into AI documentation with GPT-4, PDFs and Google Drive
UnknownUnknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.
Community nodes
These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
n8n-nodes-htmlcsstopdf(HTML to PDF)
Nodes used (10)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi - If
n8n-nodes-base.if - Google Drive
n8n-nodes-base.googleDrive - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack - Htmlcsstopdf
n8n-nodes-htmlcsstopdf.htmlcsstopdf - HTTP Request
n8n-nodes-base.httpRequest
What it does
Customer Support Ticket Documentation Automation Automatically transform resolved support tickets into professional, AI-powered PDF documentation with complete tracking and team notifications. --- Overview This workflow automates the entire process of documenting resolved support tickets — from receiving ticket data to generating professional PDF case studies, storing them in Google Drive, tracking in spreadsheets, and notifying your team. Powered by AI, it creates consistent, high-quality documentation that can be reused for knowledge base articles, training materials, and compliance records. --- What This Workflow Does 1. Receives resolved support tickets via webhook from your support platform 2. Extracts and normalizes ticket data (works with Zendesk, Freshdesk, and custom formats) 3. Generates AI-powered summaries using OpenAI GPT-4, creating structured case studies with: Problem description Troubleshooting steps taken Final resolution Key takeaways and prevention tips 4. Creates professional PDF documents with branded HTML templates 5. Uploads PDFs to organized Google Drive folders 6. Tracks all tickets in a Google Sheets database for reporting and analytics 7. Sends Slack notifications to your team with links to completed documentation 8. Handles errors gracefully with automatic alerts when issues occur --- Key Features Fully Automated: Zero manual intervention after setup AI-Powered Documentation: Intelligent summaries that extract insights from raw ticket data Professional Output: Branded, print-ready PDFs with modern styling Multi-Platform Support: Works with any support tool that can send webhooks Centralized Tracking: All tickets logged in Google Sheets for easy reporting Error Handling: Built-in failure detection with Slack alerts Customizable: Easy to brand with your company colors, logo, and styling Scalable: Handles hundreds of tickets per day --- Use Cases Knowledge Base Building: Automatically create searchable documentation from real support cases Team Training: Build a library of resolved issues for onboarding new support agents Compliance & Audit: Maintain complete records of all customer interactions Performance Analytics: Track resolution times, common issues, and agent performance Customer Success: Share professional case studies with stakeholders Process Improvement: Identify recurring issues and optimize workflows --- Prerequisites Required Services & Accounts n8n (self-hosted or cloud) OpenAI Account with API access PDFMunk Account (for HTML → PDF conversion) Google Workspace (for Drive & Sheets) Slack Workspace (optional but recommended) Support Platform that can send webhooks (Zendesk, Freshdesk, Intercom, etc.) Required Credentials OpenAI API Key PDFMunk API Key Google Drive OAuth2 credentials Google Sheets OAuth2 credentials Slack Bot Token (OAuth2) --- Setup Instructions 1. Import the Workflow 1. Copy the workflow JSON. 2. In n8n, click “Import from File” or “Import from Clipboard.” 3. Paste and import. --- 2. Configure Credentials OpenAI API Get API key from OpenAI Add in n8n: Credentials → OpenAI API → Paste key PDFMunk API Sign up at pdfmunk.com Copy API key → Add in Credentials → HtmlcsstopdfApi Google Drive OAuth2 1. Create project at Google Cloud Console 2. Enable Drive API 3. Create OAuth 2.0 credentials 4. Add in n8n: Credentials → Google Drive OAuth2 → Connect Google Sheets OAuth2 1. Enable Google Sheets API in the same project 2. Add in n8n: Credentials → Google Sheets OAuth2 → Connect Slack OAuth2 1. Create app at Slack API 2. Add scopes: chat:write, chat:write.public 3. Install to workspace 4. Add bot token in Credentials → Slack OAuth2 API --- 3. Configure Node Settings Google Drive Folder ID 1. Create a folder in Drive for PDFs 2. Copy folder ID from the URL → https://drive.google.com/drive/folders/FOLDERIDHERE 3. Paste in the “Upload to Google Drive” node Google Sheets Configuration 1. Create a new sheet titled “Support Ticket Documentation Log.” 2. Add these headers in Row 1: | Ti