Create a voice agent and phone agent using Google Calendar and RAG
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.Receive incoming voice request via webhook and validate the query format
- 2.Fetch calendar events and availability from Google Calendar account
- 3.Process the voice input through OpenAI language model with RAG context
- 4.Search Vector Store (Qdrant) for semantically relevant information
- 5.Generate contextual response using structured output parser
- 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
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (34)
n8n_order
Webhook
Google Calendar
Google Calendar
OpenAI Chat Model3
OpenAI
Concert start date
LLM Chain
n8n_appointment
Webhook
Retrive Qdrant Vector Store
Vector Store Qdrant
Embeddings OpenAI2
OpenAI
RAG
Tool Vector Store
OpenAI Chat Model2
OpenAI
OpenAI Chat Model1
OpenAI
Retrive Agent
Agent
n8n_rag
Webhook
Tracking response
Set
Calendar response
Set
Webhook tracking response
Webhook
API URL Tracking
HTTP Request
Webhook calendar response
Webhook
Structured Output Parser
Output Parser Structured
Webhook RAG response
Webhook
Sticky Note
Sticky Note
When clicking ‘Test workflow’
Manual Trigger
Qdrant Vector Store
Vector Store Qdrant
Create collection
HTTP Request
Refresh collection
HTTP Request
Get folder
Google Drive
Download Files
Google Drive
Embeddings OpenAI
OpenAI
Default Data Loader
Document Default Data Loader
Token Splitter
Text Splitter Token Splitter
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Sticky Note6
Sticky Note
Sticky Note7
Sticky Note