AI Agents

Gmail automation

15 nodes 222 124 Automatic trigger
Download

Workflow Description

An intelligent email automation template using AI agents powered by Google Gemini and Groq language models to automatically classify messages and extract critical information from Gmail threads.

How it works

  1. 1.Trigger workflow when new email arrives in Gmail inbox
  2. 2.Process message content through an AI agent powered by Gemini model
  3. 3.Classify email content and analyze sentiment using Groq LLM
  4. 4.Extract and store structured data with sticky notes for tracking

Use cases

  • Automatically prioritize and respond to critical business emails
  • Classify customer inquiries and route them to appropriate support teams
  • Extract order details from customer emails and generate follow-up tasks

Requirements

  • Active Gmail account with API access enabled
  • API keys for Google Gemini and Groq language models
  • Full read and write permissions on email messages

Service Value

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

Apps Used

Gmail Gemini AI Agent Lm Chat Groq If

Details

Trigger Automatic trigger
Nodes 15
Apps 5
Views 222
Downloads 124

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 (15)

/

Gmail Trigger

Gmail

#1

Google Gemini Chat Model

Gemini Model

#2

AI Agent

Agent

#3

Groq Chat Model

Lm Chat Groq

#4

Gmail3

Gmail

#5

Classification Agent

If

#6

Sticky Note

Sticky Note

#7

Sticky Note1

Sticky Note

#8

Sticky Note2

Sticky Note

#9

Sticky Note3

Sticky Note

#10

Add Label Promotion

Gmail

#11

Add Label (KS Work Related)

Gmail

#12

Add Label (High Priority)

Gmail

#13

Sticky Note4

Sticky Note

#14

Sticky Note5

Sticky Note

#15