Currently if I use PDF - extract attachments it returns the attachments as an array in alphabetical order.
Unlike a standard PDF with attachments where the UI auto sorts the attachments into alphabetical order; a portfolio PDF indexes the attachments in the order they were added and ideally when they are extracted the action should recognise it is a portfolio PDF and return the files in the indexed order.
For this specific usecase only the first file in the array is important so if the above is not possible is it possible to return the first file in the array as part of PDF - extract metadata