Forum Discussion
Emails with attachments getting numbers add to the attachment
My company has reports that get sent out daily. We would like to move those reports from getting sent to various users that need to report and want them to get sent to a teams channel. I set up a channel and did some test and when the report comes out it goes to the channel. I was wondering if there is a way for the attachment in the report not to get this weird strand of numbers listed in the image below but if it could just auto add the date to that attachment instead. This will make tracking the report easier for us under the files tab of the channel.
- Instead of utilizing the email function to Teams, I would setup a Power Automate Flow that has a trigger that monitors an inbox, and a step that posts / uploads the file in it's place. Then you can name the file on the step you use to upload the file from the inbox trigger to the Team and utilize a date expression in the save to sharepoint (team) step..
- sjdruryCopper Contributor
Richard_Maltese
I am wondering why Teams adds the numbers in the first place. It would be great if it added nothing or maybe a timestamp (YYYYMMDDHHMMSS), instead of what looks like a meaningless string of digits. - Instead of utilizing the email function to Teams, I would setup a Power Automate Flow that has a trigger that monitors an inbox, and a step that posts / uploads the file in it's place. Then you can name the file on the step you use to upload the file from the inbox trigger to the Team and utilize a date expression in the save to sharepoint (team) step..
- Richard_MalteseCopper Contributor
ChrisWebbTech Thank you for the reply. That is an option however we are trying to remove mailboxes and email distributions as much as possible. Its something we might test though. Thank you again!
Richard_Maltese here is the cap of the SharePoint http call action you can use to rename files.