Getting a specific uploaded file through the Event

Hey all,
Im trying to get the last file from the file upload component but the moment i try to get the one like event?.value?.(0) which should bring me the first file i get nothing.
I will appreciate any help.

Hi Tomerer :waving_hand:

It seems to me like you are trying to get the uploaded items directly from the “On change event” which doesn’t return anything.

You should be getting the files from 2 possible places:

1- From the file upload input directly:

2- Or if you are running a workflow inside the file uploader you can also fetch the files here:

Ps- Remember to upload a couple of files in preview mode so it’s easier to find them in the workflow editor.

Hope this helps.