How to handle multiple files from N8N form?

I’ve a N8N form in my workflow, I want to allow mutliple files to upload but not sure how to extract content from multiple files and then combine the content.

Here is a reference link for my workflow, where single file can be handle How to fill up google doc template with AI agent? - #4 by jabbson

@jabbson Please can you guide here about multiple files?

Hey @raowaqar sure thing.

You would start with allowing multiple files in the form to be uploaded.
Then you would split the form’s output by attachments and go over them in a ‘loop over items’ node doing exactly the same thing.

Hi @jabbson I tried to follow your instrcutions but did not get success. If possible please can you show me an example workflow to handle multiple files?

Hey @raowaqar hope all is good!
I assume splitting the form files is what the challenge is?

Here is how you can split binary into multiple items