AI Agents

Assistant with Google Calendar and Gmail integration

14 nodes 228 145 Webhook
Download

Workflow Description

An AI agent powered by OpenAI integrates with Google Calendar and Gmail, receives requests via webhook, maintains conversation context, and automatically schedules meetings or sends emails based on natural language instructions.

How it works

  1. 1.Receive request via webhook and pass it to the AI agent
  2. 2.Process the request using OpenAI language model with conversation memory
  3. 3.Route the request to the appropriate tool using a switch node
  4. 4.Execute the selected action via Google Calendar, Gmail, or Wikipedia search tools

Use cases

  • Create calendar events from voice or text requests without manual entry
  • Send automated emails with meeting summaries and attendee notifications
  • Answer general questions while retrieving and integrating calendar and email data

Requirements

  • Valid OpenAI API key with appropriate permissions
  • Google account credentials for Calendar and Gmail access
  • Active webhook endpoint to receive incoming requests

Service Value

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

Apps Used

AI Agent Memory OpenAI Tool Google Calendar Gmail

Details

Trigger Webhook
Nodes 14
Apps 6
Views 228
Downloads 145

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

/

AI Agent

Agent

#1

Window Buffer Memory

Memory Buffer Window

#2

OpenAI Chat Model

OpenAI

#3

Wikipedia

Tool Wikipedia

#4

OpenAI

OpenAI

#5

Switch Between Text and Others

Switch

#6

Line Receiving

Webhook

#7

Error Handling from AI Response

Switch

#8

Text Cleansing

Set

#9

Line Answering (Error Case)

HTTP Request

#10

Line Answering (Ordinary Case)

HTTP Request

#11

Google Calendar Create

Google Calendar Tool

#12

Google Calendar Read

Google Calendar Tool

#13

Gmail Read

Gmail

#14