AI Agents

Intelligent Phone Agent for Automated Request Processing

36 nodes 304 148 Webhook
Download

Workflow Description

An AI phone agent receives requests via webhook, processes them using OpenAI's advanced models, searches a vector database for relevant information, and automatically responds via Telegram or schedules events in Google Calendar, eliminating manual handling delays.

How it works

  1. 1.Receive and validate incoming request through webhook endpoint
  2. 2.Split and vectorize text content using OpenAI embeddings
  3. 3.Query Qdrant vector database for contextually relevant information
  4. 4.Execute AI agent logic to determine appropriate response action
  5. 5.Deliver response via Telegram message or Google Calendar event

Use cases

  • Customer support assistant that autonomously answers frequent inquiries without agent involvement
  • Appointment scheduling system that creates calendar events based on incoming voice or text requests

Requirements

  • OpenAI API key with access to GPT models and embedding capabilities
  • Pre-configured Qdrant vector database populated with company knowledge documents
  • Telegram bot token and active Google Workspace account

Service Value

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

Apps Used

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

Details

Trigger Webhook
Nodes 36
Apps 10
Views 304
Downloads 148

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 (36)

/

Filter

Filter

#1

OpenAI Chat Model

OpenAI

#2

Structured Output Parser

Output Parser Structured

#3

n8n_rag_function

Webhook

#4

Retrive Qdrant Vector Store

Vector Store Qdrant

#5

Embeddings OpenAI2

OpenAI

#6

RAG

Tool Vector Store

#7

OpenAI Chat Model2

OpenAI

#8

Respond to Webhook

Webhook

#9

OpenAI Chat Model1

OpenAI

#10

Telegram

Set

#11

Google Calendar

Google Calendar

#12

OpenAI Chat Model3

OpenAI

#13

Structured Output Parser1

Output Parser Structured

#14

n8n_call

Webhook

#15

Sticky Note

Sticky Note

#16

Sticky Note1

Sticky Note

#17

n8n_check_available

Webhook

#18

When clicking ‘Test workflow’

Manual Trigger

#19

Qdrant Vector Store

Vector Store Qdrant

#20

Create collection

HTTP Request

#21

Refresh collection

HTTP Request

#22

Get folder

Google Drive

#23

Download Files

Google Drive

#24

Embeddings OpenAI

OpenAI

#25

Default Data Loader

Document Default Data Loader

#26

Token Splitter

Text Splitter Token Splitter

#27

Sticky Note3

Sticky Note

#28

Sticky Note4

Sticky Note

#29

Set call fields

Set

#30

Extract key points

LLM Chain

#31

Concert start date

LLM Chain

#32

Sticky Note2

Sticky Note

#33

Sticky Note5

Sticky Note

#34

Retrive Agent

Agent

#35

Sticky Note6

Sticky Note

#36