AI Agents

Connect Google Drive with Google Sheets

19 nodes 222 123 Automatic trigger
Download

Workflow Description

An automation that retrieves files from Google Drive, processes them using an intelligent AI agent powered by OpenAI, and saves structured results to Google Sheets in organized batches.

How it works

  1. 1.Trigger the automation manually and extract file contents from Google Drive
  2. 2.Process extracted data through an AI agent enhanced by OpenAI's language models
  3. 3.Divide results into batches and apply filtering based on defined criteria
  4. 4.Store processed data in Google Sheets in a structured, organized manner

Use cases

  • Extract data from multiple documents in Google Drive and process them automatically
  • Organize AI-processed results directly in Google Sheets for review and analysis

Requirements

  • Google Cloud account connected to Google Drive and Google Sheets
  • Valid OpenAI API key for accessing language models

Service Value

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

Apps Used

OpenAI Google Drive Split In Batches AI Agent Google Sheets

Details

Trigger Automatic trigger
Nodes 19
Apps 5
Views 222
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 (19)

/

When clicking ‘Test workflow’

Manual Trigger

#1

Extract from File

Extract From File

#2

If is archived is false

If

#3

OpenAI Chat Model

OpenAI

#4

If extension is json

Filter

#5

Sticky Note

Sticky Note

#6

Search in "Keep" folder

Google Drive

#7

Loop every 10 items

Split In Batches

#8

Download the files

Google Drive

#9

Put some AI treatment here if you need it

Agent

#10

Set the fields for export

Set

#11

Add to google sheet

Google Sheets

#12

Filter

If

#13

Sticky Note1

Sticky Note

#14

Sticky Note2

Sticky Note

#15

Sticky Note3

Sticky Note

#16

Sticky Note4

Sticky Note

#17

Sticky Note5

Sticky Note

#18

Sticky Note6

Sticky Note

#19