AI Agents

Classify Gmail messages and auto-reply with Gemini

16 nodes 280 174 Automatic trigger
Download

Workflow Description

An intelligent automation that monitors incoming Gmail messages, classifies them by content using Gemini, and sends customized replies automatically via Gmail or SendInBlue based on message type.

How it works

  1. 1.Trigger on new Gmail messages automatically
  2. 2.Analyze message content and classify with Gemini
  3. 3.Route message based on classification using conditions
  4. 4.Send tailored reply via Gmail or SendInBlue

Use cases

  • Sort customer inquiries and sales leads automatically
  • Reply to frequent questions without manual intervention
  • Categorize complaints and suggestions for team routing

Requirements

  • Active Gmail account with API access enabled
  • Gemini API key from Google Cloud
  • SendInBlue account (optional) for additional mail delivery

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Gmail If Gemini Email Send Send In Blue

Details

Trigger Automatic trigger
Nodes 16
Apps 5
Views 280
Downloads 174

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (16)

/

Gmail Trigger

Gmail

#1

Text Classifier

If

#2

Google Gemini Chat Model

Gemini Model

#3

GuestPost Inquiry

Email Send

#4

Youtube Video Inquiry

Email Send

#5

Send Email

Email Send

#6

Mark as Read

Gmail

#7

Apply Label

Gmail

#8

Create Contact in Brevo

Send In Blue

#9

Emails from Existing Contracts

If

#10

Reply

If

#11

Sticky Note11

Sticky Note

#12

Sticky Note

Sticky Note

#13

Sticky Note1

Sticky Note

#14

Sticky Note2

Sticky Note

#15

Sticky Note3

Sticky Note

#16