# Convert any file type into PDF and extract text: n8n workflow

> Started by someone submitting a form, and works across Google Drive and Google Sheets. It hands the judgement calls to Gemini and OpenAI.

Source: https://millionrounds.com/workflow/convert-any-file-type-into-pdf-and-extract-text (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Hiring](https://millionrounds.com/workflows?category=Hiring#library)

# Convert any file type into PDF and extract text

Started by someone submitting a form, and works across Google Drive and Google Sheets. It hands the judgement calls to Gemini and OpenAI. 17 steps, 1 branch: a working afternoon to understand properly.

Medium Calls a model: Gemini, OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fconvert-any-file-type-into-pdf-and-extract-text)

**17 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 4 Logic 4 Service 8

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

- 1 **On form submission** Form trigger *Starts it*
- 2 **Structured Output Parser** Output Parser Structured *Model*
- 3 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 4 **Google Gemini Chat Model** Lm Chat Google Gemini *Model*
- 5 **Code in JavaScript** Code *Logic*
- 6 **Upload file** Google Drive *Service*
- 7 **AI Agent** Agent *Model*
- 8 **Switch** Switch *Logic*
- 9 **Merge** Merge *Logic*
- 10 **Extract from PDF2** Extract From File *Service*
- 11 **Docx to Pdf** Http Request *Service*
- 12 **Doc to Pdf** Http Request *Service*
- 13 **HTTP Request** Http Request *Service*
- 14 **Append or update row in sheet** Google Sheets *Service*
- 15 **Edit Fields** Set *Logic*
- 16 **Extract from PDF** Extract From File *Service*
- 17 **Extract from PDF1** Extract From File *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 17, with 1 branch
- **Size:** Medium: a working afternoon
- **Connects to:** Google Drive, Google Sheets
- **Model:** Gemini, OpenAI

## Questions

What does it need to run?

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

What starts it?

It starts on someone submitting a form.

Does it use AI?

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

How long does it take to set up?

Plan an afternoon. 17 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 17 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%2Fconvert-any-file-type-into-pdf-and-extract-text)
- **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.

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

## Workflows like it

Also hiring, with the same services where possible, closest in size first.

- [**AI resume screening & evaluation for HR with OpenAI** 17 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/ai-resume-screening-and-evaluation-for-hr-with-openai)
- [**Automate job applicant screening with OpenAI and Gmail** 17 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/automate-job-applicant-screening-with-openai-and-gmail)
- [**Log new hiring leads from Apify to Sheets with OpenAI** 17 steps · calls a model · Apify, Google Sheets](https://millionrounds.com/workflow/log-new-hiring-leads-from-apify-to-sheets-with-openai)
- [**Screen candidates and send take-home assignments** 17 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/screen-candidates-and-send-take-home-assignments)
- [**CV pre-screening system with Google Sheets** 17 steps · Email, Google Sheets](https://millionrounds.com/workflow/cv-screening-system-cv-on-eleme-sistemi-with-google-sheets)
- [**Screen and score resumes from Gmail with PDF and HubSpot** 17 steps · Gmail, Google Drive](https://millionrounds.com/workflow/screen-and-score-resumes-from-gmail-with-pdf-and-hubspot)
