Files & Documents

Extract and Analyze Google Drive Documents with AI

17 nodes 290 129 Automatic trigger
Download

Workflow Description

Automate loading files from Google Drive, split them into chunks, and store embeddings in a vector database. Enable intelligent search and question-answering on document content using OpenAI's language models.

How it works

  1. 1.Receive files from Google Drive or upload manually via chat interface
  2. 2.Split document content into logical text chunks for processing
  3. 3.Convert chunks to embeddings and store in Qdrant vector database

Use cases

  • Answer questions about company documentation and knowledge bases
  • Search for specific information across multiple PDF and document files

Requirements

  • Active Google Drive connection with file access permissions
  • Valid OpenAI API key for embeddings and language model access

Service Value

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

Apps Used

OpenAI Manual Chat Trigger LLM Chain Vector Store Google Drive Document Binary Input Loader Text Splitter

Details

Trigger Automatic trigger
Nodes 17
Apps 7
Views 290
Downloads 129

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

/

Embeddings OpenAI1

OpenAI

#1

On new manual Chat Message

Manual Chat Trigger

#2

Sticky Note1

Sticky Note

#3

Retrieval QA Chain

Chain Retrieval Qa

#4

Respond to Webhook

Webhook

#5

Vector Store Retriever

Retriever Vector Store

#6

Webhook1

Webhook

#7

When clicking "Execute Workflow"

Manual Trigger

#8

Google Drive

Google Drive

#9

Binary to Document

Document Binary Input Loader

#10

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#11

Embeddings OpenAI

OpenAI

#12

Sticky Note

Sticky Note

#13

Qdrant Vector Store

Vector Store Qdrant

#14

Qdrant Vector Store1

Vector Store Qdrant

#15

OpenAI Chat Model

OpenAI

#16

Sticky Note2

Sticky Note

#17