Process Multiple PDF Files from Google Drive Sequentially

Hello everyone,

I’m new to n8n and I’m reaching out for some help with a workflow I’m working on.

My goal is to retrieve multiple PDF files stored in a Google Drive folder and process them one by one. However, my current workflow only handles a single file, even though the folder contains multiple PDFs.

How can I set up my workflow to loop through each file and process them sequentially? What would be the best approach to achieve this?

Thank you in advance for your help and advice!

Version n8n : 1.82.1 (WEB with souscription)

hello @Abdel_UNK13

File trigger will be fired for each file as a separate execution. If you want to process multiple files in one execution, you should set up a trigger to listen for folder changes. Once a folder event occurs, you should get the files from that folder and process them however you want.

1 Like

@barn4k thanks for your answer, The problem is that the files are uploaded in bulk, not one by one.

that’s why you need to look for the folder changes

1 Like

@barn4k Thanks, it’s ok now

Do you mind sharing the solution and what was the root cause of the issue?
This might help other people who stumble upon the same problem.

Hi, i, just had a node loop over items.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.