AI Agents

Search Google Drive files and deliver AI responses via WhatsApp

28 nodes 320 123 Webhook
Download

Workflow Description

An intelligent automation that receives requests through webhooks, searches Google Drive documents using OpenAI, and sends answers directly to WhatsApp. It uses vector storage and conversation memory to provide contextual, accurate responses based on your document library.

How it works

  1. 1.Receive incoming request via webhook and activate AI agent
  2. 2.Load and split Google Drive files, then store embeddings in vector database
  3. 3.Search documents and generate response using OpenAI with conversation context
  4. 4.Send final answer to WhatsApp contact

Use cases

  • Provide instant customer support answers from your company's document repository
  • Enable self-service technical assistance powered by dynamic knowledge base

Requirements

  • Google Drive account containing documents for search
  • Active OpenAI account with valid API key
  • WhatsApp Business account and required app permissions

Service Value

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

Apps Used

AI Agent OpenAI Vector Store Google Drive Document Default Data Loader Text Splitter WhatsApp Memory

Details

Trigger Webhook
Nodes 28
Apps 8
Views 320
Downloads 123

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

/

Respond to Webhook

Webhook

#1

AI Agent

Agent

#2

Sticky Note

Sticky Note

#3

OpenAI Chat Model

OpenAI

#4

When clicking ‘Test workflow’

Manual Trigger

#5

Qdrant Vector Store

Vector Store Qdrant

#6

Create collection

HTTP Request

#7

Refresh collection

HTTP Request

#8

Get folder

Google Drive

#9

Download Files

Google Drive

#10

Embeddings OpenAI

OpenAI

#11

Default Data Loader

Document Default Data Loader

#12

Token Splitter

Text Splitter Token Splitter

#13

Sticky Note2

Sticky Note

#14

Sticky Note1

Sticky Note

#15

Verify

Webhook

#16

Respond

Webhook

#17

is Message?

If

#18

Only message

Whats App

#19

Send

Whats App

#20

Window Buffer Memory

Memory Buffer Window

#21

Sticky Note3

Sticky Note

#22

Sticky Note4

Sticky Note

#23

Sticky Note5

Sticky Note

#24

OpenAI Chat Model1

OpenAI

#25

Retrive Qdrant Vector Store

Vector Store Qdrant

#26

Embeddings OpenAI2

OpenAI

#27

RAG

Tool Vector Store

#28