Skip to main content

Route and prioritize Gmail support tickets to Notion with Gemini AI and Slack alerts

Workflow preview

Workflow preview
100%
Route and prioritize Gmail support tickets to Notion with Gemini AI and Slack alerts preview
Open on n8n.io

1. Workflow Overview

Who is this for Customer support teams and operations managers who receive support requests via email and need automated triage. Works well for small to mid size teams using Notion as their ticket ...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.gmailtrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.code, n8n-nodes-base.notion, n8n-nodes-base.if

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oka Hironobu.

Original n8n.io source

1.1 Workflow description

Title
Route and prioritize Gmail support tickets to Notion with Gemini AI and Slack alerts
Workflow name
Route and prioritize Gmail support tickets to Notion with Gemini AI and Slack alerts

Who is this for

Customer support teams and operations managers who receive support requests via email and need automated triage. Works well for small to mid-size teams using Notion as their ticket tracker.

What this workflow does

This workflow watches a Gmail inbox for incoming support emails. Each email is analyzed by Gemini AI to determine its category (billing, technical, feature request, or general), priority level, and a suggested response draft. A new page is created in a Notion database with all classified fields. Critical tickets trigger an immediate Slack alert to the on-call team, while all tickets get a summary notification.

Setup

  1. Add a Gmail OAuth2 credential and configure label or address filters.
  2. Add a Google Gemini API credential for email classification.
  3. Add a Notion API credential and create a database with columns: Title, Category, Priority, Status, Summary.
  4. Add a Slack OAuth2 credential and set your alerts channel.

Requirements

  • Gmail account with OAuth2 access
  • Google Gemini API key
  • Notion workspace with API integration enabled
  • Slack workspace with OAuth2 app

How to customize

  • Edit the AI prompt in "Classify ticket with AI" to add more categories or adjust priority rules.
  • Change the critical priority condition in "Is critical priority" to include high-priority tickets.
  • Replace Notion with Airtable or Google Sheets for a different ticket backend.

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 - Workflow Overview

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

Block 2 - Intake section note

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

Block 3 - AI section note

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

Block 4 - Route section note

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

Block 5 - Watch for support emails

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

Block 6 - Extract email fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - Classify ticket with AI

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.4

Block 8 - Google Gemini

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 9 - Parse AI classification

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

Block 10 - Create ticket in Notion

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2.2

Block 11 - Is critical priority

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 12 - Alert team on Slack

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

Block 13 - Post ticket summary to Slack

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

3. Summary Table

Workflow Route and prioritize Gmail support tickets to Notion with Gemini AI and Slack alerts
Complexity intermediate
Nodes 13
Categories Ticket Management, AI Summarization
Author Oka Hironobu
Published 28 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13770/13770.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 Route and prioritize Gmail support tickets to Notion with Gemini AI and Slack alerts do?

Who is this for Customer support teams and operations managers who receive support requests via email and need automated triage. Works well for small to mid size teams using Notion as their ticket ...

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.