AI Agents

Connect Gmail with Google Calendar

21 nodes 206 158 Automatic trigger
Download

Workflow Description

An intelligent automation that monitors incoming Gmail messages and automatically extracts event details using artificial intelligence, then creates them in Google Calendar with the ability to share them on Twitter/X in real time.

How it works

  1. 1.Monitor new incoming emails in Gmail using a dedicated trigger
  2. 2.Analyze email content using OpenAI model to extract event information
  3. 3.Create the event in Google Calendar with extracted details
  4. 4.Filter events according to specified criteria
  5. 5.Automatically post event summary to Twitter/X

Use cases

  • Schedule meetings and appointments automatically from emails without manual data entry
  • Organize work schedule efficiently and keep team members aligned on shared dates
  • Post important event updates to social media instantly

Requirements

  • Active Gmail account with necessary permissions
  • Connected Google Calendar account
  • Valid OpenAI API key
  • Twitter/X account for automatic posting

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 206
Downloads 158

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