Skip to main content

Categorize support emails with AI and create tasks in Dart

Workflow preview

Workflow preview
100%
Categorize support emails with AI and create tasks in Dart preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Automatically turn incoming support emails into categorized, prioritized tasks in Dart—complete with AI generated summaries, tags, and sender context. What It Does This workflow captures emails fro...

Best for

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

Tools used

n8n-nodes-dart.dart, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.stickynote, n8n-nodes-base.gmailtrigger, @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 Dart.

Original n8n.io source

1.1 Workflow description

Title
Categorize support emails with AI and create tasks in Dart
Workflow name
Categorize support emails with AI and create tasks in Dart

Automatically turn incoming support emails into categorized, prioritized tasks in Dart—complete with AI-generated summaries, tags, and sender context.

What It Does

This workflow captures emails from Gmail, uses an AI model to classify them into one of seven categories (e.g., Bug Report, Billing, Feature Request), and creates a structured task in Dart. Each task includes:

  • Title: The email subject
  • Tag: Based on the detected category
  • Priority: Set by the AI based on content analysis
  • Description: Includes confidence level, rationale, summary, and the cleaned full email body
  • Comment: Automatically adds the sender’s name and email for easy reference

The workflow also parses and cleans the raw HTML email content, ensuring all data is readable and workflow-ready.

Who's It For

This template is built for support and operations teams using Dart who want to streamline how incoming emails are sorted and turned into actionable tasks. It’s ideal for organizations managing multiple types of requests and updates from clients, partners, or systems.

How to Set Up

  1. Import the workflow into n8n
  2. Connect your Gmail and Dart accounts
  3. Replace the dummy Dartboard ID with your actual board ID
  4. Choose your preferred AI model (results may vary depending on model quality)
  5. If your target email address is in a google group, use the Filter: "Sender" in the Gmail trigger

Requirements

  • n8n account
  • Connected Gmail and Dart account

How to Customize the Workflow

  • Modify the category list to match your team’s taxonomy
  • Adjust the AI classification prompt to fine-tune tagging and prioritization
  • Choose your preferred AI model

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 - Retrieve an existing dartboard

Type / Role
n8n-nodes-dart.dart - dart
Config choices
Version 1

Block 2 - Create a new task

Type / Role
n8n-nodes-dart.dart - dart
Config choices
Version 1

Block 3 - Create a new comment

Type / Role
n8n-nodes-dart.dart - dart
Config choices
Version 1

Block 4 - Cleaning up full text of email

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

Block 5 - Email triage assistant logic

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

Block 6 - Parsing stage for logic result

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

Block 7 - Sticky Note2

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

Block 8 - Launch workflow on email receive

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

Block 9 - Sticky Note4

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

Block 10 - OpenAI Chat Model

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

Block 11 - Sticky Note

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

Block 12 - Sticky Note1

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

Block 13 - Sticky Note3

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

Block 14 - Sticky Note5

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

3. Summary Table

Workflow Categorize support emails with AI and create tasks in Dart
Complexity intermediate
Nodes 14
Categories Ticket Management, AI Summarization
Author Dart
Published 13 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9581/9581.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 Categorize support emails with AI and create tasks in Dart do?

Automatically turn incoming support emails into categorized, prioritized tasks in Dart—complete with AI generated summaries, tags, and sender context. What It Does This workflow captures emails fro...

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.