AI Agents

Create a voice agent and phone agent using Google Calendar and RAG

34 nodes 233 113 Webhook
Download

Workflow Description

Advanced automation template creating intelligent voice and phone agents by integrating Google Calendar with Retrieval-Augmented Generation (RAG) and language model chains. Enables organizations to automate voice inquiries and deliver smart, context-aware responses from calendar data and knowledge bases.

How it works

  1. 1.Receive incoming voice request via webhook and validate the query format
  2. 2.Fetch calendar events and availability from Google Calendar account
  3. 3.Process the voice input through OpenAI language model with RAG context
  4. 4.Search Vector Store (Qdrant) for semantically relevant information
  5. 5.Generate contextual response using structured output parser
  6. 6.Return voice response to caller via webhook endpoint

Use cases

  • Automated scheduling assistant answering availability and meeting time inquiries via phone
  • Customer support voice agent providing instant answers from company calendar and knowledge base
  • HR inquiry system automating responses about meeting schedules, time off, and availability

Requirements

  • Active Google Calendar account with API credentials configured
  • OpenAI API keys with access to chat models and embeddings
  • Qdrant instance for vector similarity search over document database

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 233
Downloads 113

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