Templates / Calculate stock replenishment from Excel reports with Google Drive and GPT-4.1 mini

Calculate stock replenishment from Excel reports with Google Drive and GPT-4.1 mini

Ready for 3.0

by Kuzey Aras Sakınç ✓ · 5 views · created 2026-10-06 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 12 nodes and runs on Google Drive events (file created). Along the way it connects Google Drive and OpenAI.

How it runs

Trigger: On Google Drive events (file created).

  1. Download XLSX (Google Drive): download
  2. Extract from XLSX (Extract from File): extracts data from a file (xlsx)
  3. Code: runs custom JavaScript code
  4. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Code: runs custom JavaScript code
  6. Code: runs custom JavaScript code
  7. Convert to XLSX (Convert to File): converts data to a file (xlsx)
  8. Message a model (OpenAI): uses OpenAI
  9. Update Sheet (Google Drive): update
  10. Code: runs custom JavaScript code

…plus 1 more step. See the full node list below.

Services it uses

Google DriveOpenAI

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

Quick overview This workflow watches a Google Drive folder for newly uploaded XLSX inventory reports, uses OpenAI (GPT-4.1 mini) to calculate per-product replenishment needs, writes the results back into the spreadsheet as new columns, and then updates and…

Excerpt from Kuzey Aras Sakınç's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.