Skip to main content

Triage customer support tickets from Gmail and forms with OpenAI, Slack and Sheets

Workflow preview

Workflow preview
100%
Triage customer support tickets from Gmail and forms with OpenAI, Slack and Sheets preview
Open on n8n.io

1. Workflow Overview

How it works Listens for new support requests from Gmail and a web form simultaneously, normalizing both into a single ticket schema Routes each ticket through an OpenAI powered triage agent that c...

Best for

  • Ticket Management automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.gmailtrigger, n8n-nodes-base.formtrigger, n8n-nodes-base.code, n8n-nodes-base.slack, n8n-nodes-base.gmail, @n8n/n8n-nodes-langchain.lmchatopenai

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Redowan Ahmed Farhan.

Original n8n.io source

1.1 Workflow description

Title
Triage customer support tickets from Gmail and forms with OpenAI, Slack and Sheets
Workflow name
Triage customer support tickets from Gmail and forms with OpenAI, Slack and Sheets

How it works

Listens for new support requests from Gmail and a web form simultaneously, normalizing both into a single ticket schema Routes each ticket through an OpenAI powered triage agent that classifies priority, category, and sentiment Fans the result to three parallel outputs: a Slack alert to the support team, a row logged in Google Sheets, and an auto reply to the customer

Set up steps

Connect Gmail, Slack, and Google Sheets credentials, then authorize OpenAI (~10 minutes total) Keep full setup details, node by node instructions, and prompt tuning tips in the sticky notes inside the workflow

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Records

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 2 - AI Agent – Triage

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 3 - Gmail Trigger

Type / Role
n8n-nodes-base.gmailTrigger - gmailTrigger
Config choices
Version 1.4

Block 4 - Form Trigger

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.5

Block 5 - Normalize Channel Inputs

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Parse AI + Merge Ticket

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Slack – Notify Team

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2

Block 8 - Gmail – Auto-Reply

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2

Block 9 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 10 - Main Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Section 1 Intake

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Section 2 AI Triage

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Section 3 Parse Merge

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Section 4 Output

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Triage customer support tickets from Gmail and forms with OpenAI, Slack and Sheets
Complexity intermediate
Nodes 14
Categories Ticket Management, AI Summarization
Author Redowan Ahmed Farhan
Published 20 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15835/15835.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Triage customer support tickets from Gmail and forms with OpenAI, Slack and Sheets do?

How it works Listens for new support requests from Gmail and a web form simultaneously, normalizing both into a single ticket schema Routes each ticket through an OpenAI powered triage agent that c...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Ticket Management, AI Summarization use case.