AutomationMart
Home/Browse/Automatic email categorization & labeling in Zoho Mail with GPT-4o-mini
n8n

Automatic email categorization & labeling in Zoho Mail with GPT-4o-mini

n8nn8n15 modulesv1.0
codeemailReadImaphttpRequestlmChatOpenRoutermergenoOpsettextClassifier

AI-Powered Email Categorization & Labeling in Zoho Mail This n8n template demonstrates how to use AI text classification to automatically categorize incoming emails in Zoho Mail and apply the correct label (e.g., Support, Billing, HR). It saves time by keeping your inbox structured and ensures emails are routed to the right category. Use cases include: - Routing customer support requests to the correct team. - Organizing billing and finance communications separately. - Streamlining HR and recrui

At a glance

Automatic email categorization & labeling in Zoho Mail with GPT-4o-mini is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects code, emailReadImap, httpRequest, lmChatOpenRouter. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
code, emailReadImap, httpRequest, lmChatOpenRouter, merge, noOp
Modules
15
Price
Free
Version
v1.0
Automatic email categorization & labeling in Zoho Mail with GPT-4o-mini workflow diagram

About this workflow

AI-Powered Email Categorization & Labeling in Zoho Mail This n8n template demonstrates how to use AI text classification to automatically categorize incoming emails in Zoho Mail and apply the correct label (e.g., Support, Billing, HR). It saves time by keeping your inbox structured and ensures emails are routed to the right category. Use cases include: - Routing customer support requests to the correct team. - Organizing billing and finance communications separately. - Streamlining HR and recruitment email handling. - Reducing inbox clutter and ensuring no important message is missed. --- ℹ️ Good to know - You’ll need to configure Zoho OAuth credentials — see Self Client Overview, Authorization Code Flow, and Zoho Mail OAuth Guide. - The labels must already exist in Zoho Mail (e.g., Support, Billing, HR). The workflow fetches these labels and applies them automatically. - The Zoho Mail API domain changes depending on your account region: - .com → Global accounts ( - .eu → EU accounts ( - .in → India accounts ( Example: For an EU account, the endpoint would be: - The AI model used for text classification may incur costs depending on your provider (e.g., OpenRouter). - Start by testing with a small set of emails before enabling for your full inbox. --- 🔄 How it works 1. A new email in Zoho Mail triggers the workflow. 2. OAuth authentication retrieves access to Zoho Mail’s API. 3. All available labels are fetched, and a label map (display name → ID) is created. 4. The AI model analyzes the subject and body to predict the correct category. 5. The workflow routes the email to the right category branch. 6. The matching Zoho Mail label is applied (final node is deactivated by default). --- 🛠️ How to use - Create the required labels (e.g., Support, Billing, HR, etc.) in your Zoho Mail account before running the workflow. - Replace the Zoho Mail Account ID in the Set Account ID node. - Configure your Zoho OAuth credentials in the Get Access Token node. - Update the API base URL to match your Zoho account’s region (.com, .eu, .in, etc.). - Activate the Apply Label to Email node once ready for production. - Optionally, adjust categories in the AI classifier prompt to fit your organization’s needs. --- 📋 Requirements - Zoho Mail account with API access enabled. - Labels created in Zoho Mail for each category you want to classify. - OAuth credentials set up in n8n. - Correct Zoho Mail API domain (.com, .eu, .in) based on your account region. - An AI model (via OpenRouter or other provider) for text classification. --- 🎨 Customising this workflow This workflow can be adapted to many inbox management scenarios. Examples include: - Auto-routing customer inquiries to specific departments. - Prioritizing VIP client emails with special labels. - Filtering job applications directly into an HR-managed folder. ---

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Lightroom cloud to Instagram auto poster (AI captions)

Automatically publish Lightroom photos to Instagram with short, human-sounding AI captions. This workflow pulls the next item from your Data Table queue, generates an on-brand caption from alt text + metadata, uploads via Instagram Graph API, and marks it posted. Use it together with “Lightroom Cloud → Photos Queue (AI Alt Text)” and “Lightroom Image Webhook (Direct JPEG for Instagram).” What it’s for Hands-free Lightroom-to-Instagram posting: schedule, caption with AI, and publish consistently

Free

Course recommendation system for surveys with data tables and GPT-4.1-Mini

Use the n8n Data Tables feature to store, retrieve, and analyze survey results — then let OpenAI automatically recommend the most relevant course for each respondent. --- 🧠 What this workflow does This workflow demonstrates how to use n8n’s built-in Data Tables to create an internal recommendation system powered by AI. It: - Collects survey responses through a Form Trigger - Saves responses to a Data Table called Survey Responses - Fetches a list of available courses

Free

Extract and structure Thai documents to Google Sheets using Typhoon OCR and Llama 3.1

Note: This template requires a community node and works only on self-hosted n8n installations. It uses the Typhoon OCR Python package and custom command execution. Make sure to install required dependencies locally. --- Who is this for? This template is for developers, operations teams, and automation builders in Thailand (or any Thai-speaking environment) who regularly process PDFs or scanned documents in Thai and want to extract structured text into a Google Sheet. It is ideal for: Local gove

Free

Real-time registration form tracking with Google Sheets and Gmail notifications

Title: Gracewell Automated Registration Tracker Suite version: 1.0 tags: [education, automation, google-sheets, gmail, dashboard, form-tracking, workflow-suite] category: Academic Automation --- Description: - Automate the real-time tracking of Google Form submissions using Google Sheets and n8n. - This 3-workflow suite includes a live dashboard with submission statistics and two companion workflows - To send acknowledgement and reminder emails to students — all seamlessly connected through n

Free

Automatic email unsubscribe handler: Outlook to BigQuery integration

Email Unsubscribe Handler for Outlook Description This n8n workflow automatically scans recent email replies from your Outlook inbox and identifies unsubscribe requests. If a contact replies with any variation of "unsubscribe" within the past 7 days, the system performs two key actions: Saves the contact’s email address in a BigQuery unsubscribes table (for compliance and tracking). Deletes that contact from the active leads table in BigQuery (to stop future outreach). This flow can be triggere

Free

Monitor server uptime & get email alerts with Google Sheets

Web Server Monitor & Alert System This automation pings web servers at regular intervals, logs their status, and sends email alerts if a server goes down. It’s perfect for maintaining visibility over server uptime — without complex monitoring tools. 🧠 How It Works This workflow performs minute-by-minute checks on all listed servers in a Google Sheet and: ✅ Logs all reachable servers in an “Alive” log. 🔻 Sends an email alert if a server is unreachable. 📄 Logs failed servers in a “Down” sheet w

Free

Analyze WooCommerce category sales over time with Airtable and Slack

WooCommerce Product Category Sales Performance Report This workflow automatically analyzes sales data by product category, compares performance across time periods (daily, weekly or monthly), stores structured results in Airtable and sends a clear summary to Slack for quick decision-making. This workflow pulls order data for two time periods (current and previous), groups sales by product category and calculates key metrics like revenue, units sold and share of total sales. Each category is then

Free

Extract Linkedin company data with Airtop

Automating LinkedIn Company Data Extraction Use Case This automation extracts detailed company insights from a LinkedIn company page, including identity, scale, classification, and funding data. Ideal for investors, sales teams, and market researchers. What This Automation Does This automation accepts the following inputs: - Company's LinkedIn URL: The public LinkedIn page URL of the company. - Airtop Profile (connected to LinkedIn): Your Airtop Profile authenticated on LinkedIn. It then extract

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free