AI Agents

Classify Gmail messages and automatically schedule meetings

10 nodes 278 144 Automatic trigger
Download

Workflow Description

An automation that monitors incoming emails, classifies them intelligently using AI, and automatically schedules meetings in Google Calendar based on message content and context.

How it works

  1. 1.Trigger on new Gmail messages received
  2. 2.Extract and analyze message content using text classification
  3. 3.Process classified messages through an AI Agent powered by OpenAI
  4. 4.Evaluate message requirements using conditional logic
  5. 5.Create events in Google Calendar for detected meetings

Use cases

  • Automatically separate meeting requests and action items from regular emails
  • Reduce manual email processing time and scheduling overhead
  • Keep calendar synchronized with incoming meeting requests without manual intervention

Requirements

  • Gmail account with API access enabled
  • OpenAI API key configured
  • Google Calendar with proper integration permissions
  • Custom instructions defined for the AI Agent behavior

Service Value

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

Apps Used

OpenAI Gmail If AI Agent Google Calendar

Details

Trigger Automatic trigger
Nodes 10
Apps 5
Views 278
Downloads 144

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

Sticky Note

Sticky Note

#1

Sticky Note1

Sticky Note

#2

OpenAI Chat Model

OpenAI

#3

OpenAI Chat Model1

OpenAI

#4

Send reply

Gmail

#5

Gmail Trigger

Gmail

#6

Classify appointment

If

#7

Agent

Agent

#8

Google Calendar

Google Calendar Tool

#9

Mark as read

Gmail

#10