Support tickets: AI reply or escalate

Support tickets get an AI email reply or go to Slack. This repository holds an n8n workflow export for support tickets. A ticket arrives through a webhook, the workflow searches a knowledge base and checks order history, and a GPT-4o-mini agent drafts a response. The page says replies can be sent by SMTP, activity is logged to Google Sheets and Slack, and tickets that cannot be resolved are escalated to the right team in Slack with the draft and internal notes. Billing and account tickets are always escalated.

n8nRead on 2026-11-169 steps

Steps

  1. Trigger: Webhook receives a support ticket
    /support endpoint.
  2. Parse the ticket
  3. Search the knowledge base
  4. Fetch order history
  5. Merge context (KB and orders)
  6. AI support agent (GPT-4o-mini)OpenAI
  7. Output: Log to Google SheetsGoogle Sheets
  8. Output: Email reply if the AI can resolveEmail (SMTP)
  9. Output: Slack confirmation, or escalate to humansSlack

Limits

  • Input is a ticket webhook, not a mailbox trigger.
  • Billing and account tickets are always escalated.

What it does well

  • Escalations include the draft and internal notes.

Before you import

You need: OpenAI API key, SMTP credentials, Google Sheets API access and a Slack workspace with a bot token.

Similar templates