Handling multiple files including docx and excel

Hi,

in my chatbot, users can upload multiple files including docx and excel.

for docx and excel, i extract the data with libraries.

for the other types i use inlineData.

When i get multiple files for example:

for example:

‘architecture.xlsx’ (a list of components)

‘architecture.docx’ (a document that describes architecture)

‘architecture.jpeg’ (a picture of a diagram)

‘contacts.xlsx’ (a list of contacts).

what is the best way to handle these files?

How to build the request correctly?

Thanks