# Update Excel from PDF files with OpenAI and Google Drive: n8n workflow

> Started by an event in a connected app, and works across Excel and Google Drive. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/update-excel-from-pdf-files-with-openai-and-google-drive (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Documents and files](https://millionrounds.com/workflows?category=Documents+and+files#library)

# 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.

Medium Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fupdate-excel-from-pdf-files-with-openai-and-google-drive)

**15 steps** Medium: a working afternoon

**0** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 1 Logic 6 Service 7

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

- 1 **Google Drive Trigger** Google Drive trigger *Starts it*
- 2 **Download file** Google Drive *Service*
- 3 **Get sheets from updated table** Microsoft Excel *Service*
- 4 **Covert from PDF to JPG. PDFco Api** PDFco Api *Service*
- 5 **Code sheets[name]** Code *Logic*
- 6 **Extraction url. Split Out** Split Out *Logic*
- 7 **Merge** Merge *Logic*
- 8 **Rename. Edit Fields** Set *Logic*
- 9 **Code** Code *Logic*
- 10 **Analytics. Get metrics from image JPG** Open Ai *Model*
- 11 **Update sheet form OptiOffice** Microsoft Excel *Service*
- 12 **Convert data to File** Convert To File *Service*
- 13 **For check. Get rows from sheet** Microsoft Excel *Service*
- 14 **Extract from File to Text** Extract From File *Service*
- 15 **Convert text to JSON** Code *Logic*

## 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fupdate-excel-from-pdf-files-with-openai-and-google-drive)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Excel](https://millionrounds.com/workflows?service=Excel#library)[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)

## Workflows like it

Also documents and files, with the same services where possible, closest in size first.

- [**AI-powered auto-translate Google Slides presentation** 15 steps · calls a model · Google Drive, Google Slides](https://millionrounds.com/workflow/ai-powered-auto-translate-google-slides-presentation)
- [**Benchmark LLM performance on legal documents** 15 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/benchmark-llm-performance-on-legal-documents)
- [**Build a RAG system for PDF documents with Google Drive** 15 steps · calls a model · Google Drive, Pinecone](https://millionrounds.com/workflow/build-a-rag-system-for-pdf-documents-with-google-drive)
- [**Build enterprise RAG system with Gemini** 15 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/build-enterprise-rag-system-with-gemini)
- [**RAG chatbot for company documents with Google Drive and Gemini** 15 steps · calls a model · Google Drive, Pinecone](https://millionrounds.com/workflow/rag-chatbot-for-company-documents-with-google-drive-and-gemi)
- [**RAG chatbot for company documents with Google Drive and Gemini** 15 steps · calls a model · Google Drive, Pinecone](https://millionrounds.com/workflow/rag-chatbot-for-company-documents-with-google-drive-and-gemi-2)
