AI Agents

Build a voice and phone agent with Google Calendar and semantic search

34 nodes 323 145 Webhook
Download

Workflow Description

An intelligent application that integrates Google Calendar with OpenAI models to create a voice and phone agent capable of answering calendar and document queries using advanced retrieval-augmented generation and natural language processing.

How it works

  1. 1.Receive voice or phone request through webhook endpoint
  2. 2.Extract Google Calendar events and documents from Google Drive
  3. 3.Process text, split it into chunks, and convert to embeddings via OpenAI
  4. 4.Search Qdrant vector store to retrieve relevant information
  5. 5.Generate response using language model with retrieved context
  6. 6.Send voice or text response back to user

Use cases

  • Virtual assistant answering employee inquiries about meetings and schedules
  • Intelligent customer support system handling phone inquiries based on organization knowledge base
  • Self-service assistant helping with meeting planning and scheduling based on calendar availability

Requirements

  • Google account with access permissions to Calendar and Drive
  • Valid OpenAI API keys for language models and embeddings
  • Configured Qdrant Vector Store for semantic similarity search

Service Value

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

Apps Used

Google Calendar OpenAI LLM Chain Vector Store AI Agent Output Parser Google Drive Document Default Data Loader Text Splitter

Details

Trigger Webhook
Nodes 34
Apps 9
Views 323
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 (34)

/

n8n_order

Webhook

#1

Google Calendar

Google Calendar

#2

OpenAI Chat Model3

OpenAI

#3

Concert start date

LLM Chain

#4

n8n_appointment

Webhook

#5

Retrive Qdrant Vector Store

Vector Store Qdrant

#6

Embeddings OpenAI2

OpenAI

#7

RAG

Tool Vector Store

#8

OpenAI Chat Model2

OpenAI

#9

OpenAI Chat Model1

OpenAI

#10

Retrive Agent

Agent

#11

n8n_rag

Webhook

#12

Tracking response

Set

#13

Calendar response

Set

#14

Webhook tracking response

Webhook

#15

API URL Tracking

HTTP Request

#16

Webhook calendar response

Webhook

#17

Structured Output Parser

Output Parser Structured

#18

Webhook RAG response

Webhook

#19

Sticky Note

Sticky Note

#20

When clicking ‘Test workflow’

Manual Trigger

#21

Qdrant Vector Store

Vector Store Qdrant

#22

Create collection

HTTP Request

#23

Refresh collection

HTTP Request

#24

Get folder

Google Drive

#25

Download Files

Google Drive

#26

Embeddings OpenAI

OpenAI

#27

Default Data Loader

Document Default Data Loader

#28

Token Splitter

Text Splitter Token Splitter

#29

Sticky Note3

Sticky Note

#30

Sticky Note4

Sticky Note

#31

Sticky Note5

Sticky Note

#32

Sticky Note6

Sticky Note

#33

Sticky Note7

Sticky Note

#34