Automation library · Documents and files

Update Excel from PDF files with OpenAI and Google Drive

Started by an event in a connected app, and works across Excel and Google Drive. It hands the judgement calls to OpenAI. 15 steps: a working afternoon to understand properly.

MediumCalls a model: OpenAI

15 stepsMedium: a working afternoon
0Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 1Logic 6Service 7

The steps in the order they run, from what starts it.

  1. 1Google Drive TriggerGoogle Drive triggerStarts it
  2. 2Download fileGoogle DriveService
  3. 3Get sheets from updated tableMicrosoft ExcelService
  4. 4Covert from PDF to JPG. PDFco ApiPDFco ApiService
  5. 5Code sheets[name]CodeLogic
  6. 6Extraction url. Split OutSplit OutLogic
  7. 7MergeMergeLogic
  8. 8Rename. Edit FieldsSetLogic
  9. 9CodeCodeLogic
  10. 10Analytics. Get metrics from image JPGOpen AiModel
  11. 11Update sheet form OptiOfficeMicrosoft ExcelService
  12. 12Convert data to FileConvert To FileService
  13. 13For check. Get rows from sheetMicrosoft ExcelService
  14. 14Extract from File to TextExtract From FileService
  15. 15Convert text to JSONCodeLogic

How it's built

Starts on
An event in a connected app
Steps
15
Size
Medium: a working afternoon
Connects to
Excel, Google Drive
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Excel and Google Drive accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 15 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 15 steps before you point it at anything that matters.