Hi @DEJ ,
It seems you want to send the corresponding excel file to the person based on the file name.
I assume you have saved all the attachments(excel files) in a SharePoint library.
I have made a flow for your scenario, please check it for a reference.


Best Regards,
Community Support Team _ Zhongys
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.