Invoices, documents and PDFs

Google Drive Keep note filtering and OpenAI extraction to Sheets

Short answer

This AI-assisted n8n workflow searches a Google Drive Keep folder and processes note files in batches of ten. It reads JSON payloads, filters out archived records and isolates notes containing target keywords. An OpenAI agent extracts structured monetary figures cleanly and updates rows in Google Sheets.

Catalogue ID
#0849
Functional nodes
12
Connections
12
Trigger
manualTrigger
AI layer
AI-assisted
Business problem solved

Business problem solved

Google Takeout exports produce hundreds of individual Keep note files mixed with archived items. Manually opening files to find active notes and copy recorded amounts into tracking sheets takes hours.

Trigger

A manual trigger starts batch extraction; live deployments schedule periodic folder scans automatically.

Connected systems

Connected systems

  • Google Drive
  • File data extractor
  • OpenAI
  • Google Sheets
  • Self-hosted n8n

Every workflow is deployed on your own server with documentation, a run log and an error queue.

Workflow architecture

Workflow architecture

  1. 1. When clicking Test workflow (Trigger) (connects to Search in Keep folder)
  2. 2. Extract from File (Service and data) (connects to Filter)
  3. 3. If is archived is false (Logic and routing) (connects to Put some AI treatment here…)
  4. 4. OpenAI Chat Model (AI layer) (connects to Put some AI treatment here…)
  5. 5. If extension is json (Logic and routing) (connects to Download the files)
  6. 6. Search in Keep folder (Service and data) (connects to Loop every 10 items)
  7. 7. Loop every 10 items (Logic and routing) (connects to If extension is json)
  8. 8. Download the files (Service and data) (connects to Extract from File)
  9. 9. Put some AI treatment here… (AI layer) (connects to Set the fields for export)
  10. 10. Set the fields for export (Service and data) (connects to Add to google sheet)
  11. 11. Add to google sheet (Service and data) (connects to Loop every 10 items)
  12. 12. Filter (Logic and routing) (connects to If is archived is false)
  • Trigger
  • AI layer
  • Logic and routing
  • Service and data

Node positions and directed links are generated from the verified catalogue record.

Workflow steps

Workflow steps

  1. 01

    Drive folder search and batch loop

    The workflow scans your Keep Drive folder, loops ten items at a time and keeps structured note files.

  2. 02

    Active and keyword note filtering

    File extraction parses note attributes while filters keep non-archived records matching your content keyword.

  3. 03

    OpenAI agent figure extraction

    An OpenAI chat agent reads unstructured note text and outputs clean structured amounts or target values.

  4. 04

    Field mapping and Google Sheets upsert

    Export fields format cleanly and append or update matching entries inside your Google Sheets log.

Error queue and human approval

Error queue and human approval

Built-in state in the catalogue workflow

The verified catalogue workflow contains zero node-level error flags across its 12 functional nodes and 12 connections.

Production layer added by ALTAI

During live deployment, ALTAI adds scheduled runs, malformed-file error queues, duplicate note-ID locks and numeric format validation.

Frequently asked

Google Keep note export extraction to Sheets Frequently asked questions

Yes. The conditional node verifies that the archived flag is false before sending any note to OpenAI.

Yes. The extraction prompt adapts cleanly to pull project tags, dates, categories or contact notes.

The Google Sheets step runs in append-or-update mode using a matching key to update existing rows.

Mert Can Gundogdu
The founder takes the call, not a sales team
Next step

We write the proposal after we have found the problem together

In a thirty-minute call we listen to how you work and talk through where time and customers are slipping away. If you do not need a digital fix, we will tell you that too.

30 minutes · no preparation needed

The call and the week of discovery are both free.Read the terms

Chat on WhatsApp