AI Agents

Analyze Gmail messages and auto-create Google Calendar events with AI

21 nodes 300 127 Automatic trigger
Download

Workflow Description

Intelligent automation monitors incoming Gmail messages, analyzes content using OpenAI's language model, extracts key meeting details, and automatically creates corresponding events in Google Calendar while logging results and sharing summaries.

How it works

  1. 1.Monitor new incoming messages in Gmail account
  2. 2.Process email content with OpenAI language model to extract event details
  3. 3.Create events in Google Calendar with extracted information
  4. 4.Apply filters to identify relevant and important messages
  5. 5.Share automation results on social media platforms

Use cases

  • Convert meeting invitations from email to calendar events instantly
  • Organize appointments and projects extracted from client and team emails
  • Automatically schedule follow-ups and tasks based on message content

Requirements

  • Active Gmail account with API access enabled
  • Connected and functional Google Calendar account
  • Valid OpenAI API key with appropriate permissions

Service Value

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

Apps Used

Gmail OpenAI Tool Google Calendar Twitter/X LLM Chain Output Parser AI Agent

Details

Trigger Automatic trigger
Nodes 21
Apps 8
Views 300
Downloads 127

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

/

Gmail Trigger

Gmail

#1

Chat OpenAI

OpenAI

#2

Workflow Tool

Tool Workflow

#3

Chat OpenAI1

OpenAI

#4

Sticky Note

Sticky Note

#5

Sticky Note1

Sticky Note

#6

Google Calendar

Google Calendar

#7

Execute Workflow Trigger

Execute Workflow Trigger

#8

Format response

Item Lists

#9

Stringify Response

Set

#10

Extract start, end and name

Set

#11

Filter only confirmed and with set time

Filter

#12

Is appointment request

If

#13

Classify appointment

LLM Chain

#14

Structured Output Parser

Output Parser Structured

#15

Sticky Note2

Sticky Note

#16

Sticky Note3

Sticky Note

#17

Sort

Item Lists

#18

Mark as read

Gmail

#19

Send Reply

Gmail

#20

Agent

Agent

#21