AI Agents

Intelligent Assistant Connected to Calendar and Email

14 nodes 229 145 Webhook
Download

Workflow Description

A smart agent powered by OpenAI receives requests via webhook, maintains organized conversation history, and interacts with Google Calendar and Gmail to manage appointments and messages based on natural language instructions.

How it works

  1. 1.Receive request via webhook and store it in conversation memory
  2. 2.Process text using OpenAI model with context from previous conversations
  3. 3.Select appropriate action: search Wikipedia, interact with Calendar, or manage Email
  4. 4.Execute operations on Google Calendar and Gmail based on model response
  5. 5.Send final reply to the user

Use cases

  • Schedule meetings and events through voice or text commands
  • Search information and send results automatically via email
  • Retrieve upcoming events and respond to calendar inquiries

Requirements

  • API keys for OpenAI, Google Calendar, and Gmail
  • Active webhook URL
  • Login credentials with permissions for Google services

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 229
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