AI Agents

Search Google Drive documents and answer via WhatsApp with AI

24 nodes 316 177 Webhook
Download

Workflow Description

An automation that receives inquiries through webhooks, searches Google Drive files using an AI-powered agent backed by OpenAI, and sends tailored answers directly to WhatsApp while maintaining conversation history.

How it works

  1. 1.Receive and validate the inquiry via webhook
  2. 2.Load Drive files, split them into chunks, and convert to searchable vectors
  3. 3.Run an intelligent agent to retrieve and generate answers
  4. 4.Send the response to the inquirer via WhatsApp

Use cases

  • Enable instant answers to employee questions about stored documents
  • Provide self-service customer support through WhatsApp messaging

Requirements

  • Google Drive account with file access permissions
  • WhatsApp Business account connected to n8n
  • OpenAI API key for language model operations

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 24
Apps 8
Views 316
Downloads 177

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

/

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