Hi,
I have created a flow that triggers every day once. I need to send this data which is currently in a CSV table to someone by email in an excel format.

The problem I keep running into is, the filename needs to be unique and every time I try to create a unique file name it creates a for each loop which basically sends each item as a separate file in an email.
How can i send it in just one email and with a unique identifier for a file name? I am currently using rand but i dont know how reliable it is, ideally, id prefer to use current date.