How to get file name from output variable in the Save Email Attachments Activity?

Hi Guys,

I would like to save email attachments by the filter “*.xlsx” only and rename it but emails have multiple attachment files and extensions.

I have tried to get the attachment name by Assign activity but result is other extension file (*.png)

Therefore, I think that can get file name from attachment that has been saved to rename it or Can I save it with assigned file name to attachment?

But I don’t know how to use it.

Could you please help me to advise about this?


@Aeklikit.r

To start with does the mail contain excel attachments…can you try to use mail.attachments.count to check if there is only png…and no excel

Cheers

Sorry, I don’t understand function of your suggestion.

Could you please share an example screenshot or file for me?

Thank you very much.