AI Agents

Intelligent Assistant with Calendar and Email Integration

14 nodes 274 144 Webhook
Download

Workflow Description

An AI-powered agent using OpenAI to answer queries with direct access to Google Calendar and Gmail data, plus Wikipedia information retrieval. Maintains conversation context through rolling memory for coherent multi-turn interactions.

How it works

  1. 1.Receive request via webhook and route to the AI agent
  2. 2.Agent processes query using OpenAI model and determines required tools
  3. 3.Access calendar, email, and Wikipedia information as needed
  4. 4.Store conversation context in memory for subsequent interactions
  5. 5.Send generated response back to user

Use cases

  • Answer questions requiring calendar or email data verification
  • Search Wikipedia and correlate findings with calendar and email events
  • Manage tasks and meetings through a unified conversational interface

Requirements

  • OpenAI API key configured
  • Google account with Calendar and Gmail access
  • Webhook endpoint for incoming requests
  • Sufficient storage for conversation context

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 274
Downloads 144

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