AI Agents

Assistant with Google Calendar and Gmail integration

14 nodes 200 111 Webhook
Download

Workflow Description

An intelligent agent that receives requests via webhook, uses OpenAI to understand and respond to user queries, and can access Google Calendar, Gmail, and Wikipedia to provide comprehensive information and execute tasks seamlessly.

How it works

  1. 1.Receive user request through webhook and store in memory buffer
  2. 2.Process request using OpenAI language model for natural language understanding
  3. 3.Determine the appropriate tool based on request type using conditional logic
  4. 4.Execute the task with Google Calendar, Gmail, or Wikipedia API calls
  5. 5.Generate and deliver intelligent response to the user

Use cases

  • Schedule meetings or events by natural language request
  • Search for information and send results via email

Requirements

  • OpenAI API key configured
  • Google account credentials for Calendar and Gmail access

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 200
Downloads 111

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