AI Agents

Extract Gmail events and create them in Google Calendar automatically

21 nodes 285 180 Automatic trigger
Download

Workflow Description

Intelligent automation monitors incoming Gmail messages, analyzes them with OpenAI to extract event details, and automatically creates them in Google Calendar with optional posting to X. Filters ensure only relevant emails are processed.

How it works

  1. 1.Monitor new incoming Gmail messages with trigger
  2. 2.Analyze email content using AI agent powered by OpenAI
  3. 3.Extract event data including date, time, title, and description
  4. 4.Filter messages based on custom conditions and criteria
  5. 5.Create events automatically in Google Calendar
  6. 6.Post event summaries to X platform optionally

Use cases

  • Convert meeting invitations from email to organized calendar automatically
  • Build dynamic schedules from client and team communications without manual entry
  • Document commitments and appointments mentioned in emails effortlessly

Requirements

  • Active Gmail account with message access permissions
  • Connected and enabled Google Calendar account
  • OpenAI API key or supported language model access
  • Optional X/Twitter account for posting summaries

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 285
Downloads 180

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