Hi , @Salv
According to your description, you want to pass the ID to the flow and send the links of the files to the email.
This is my Ids pass to flow in Power Apps:
[{"ID":3},{"ID":4},{"ID":5},{"ID":6},{"ID":9},{"ID":12},{"ID":15},{"ID":16}]
I use the Json() funtion to convert the Ids to the string to pass to the flow:

This is my flow:

(1)The trigger and the initial variable action:

(2)The Apply to each action:

json(triggerBody()['text'])
(3)The Last two actions:

item()?['fileName']
concat('<a href="',item()?['Link'],'" >',item()?['Link'],'</a>')
replace(replace(replace(body('Create_HTML_table'),'<','<') , '>','>'),'"','"')
The result is as follows:

Best Regards,
Yueyun Zhang