web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Built a flow that copi...
Power Automate
Answered

Built a flow that copies email attachments to Sharepoint, is it possible to add the email timestamp to Attachment Name?

(0) ShareShare
ReportReport
Posted on by 20

As per title, I built a flow that copies email attachments with a specific subject to a specified Sharepoint folder. The problem is that the email attachment is a weekly email that has the same title each week, so the attachment would be overridden each week it is sent.

Is there a way to add a custom timestamp based on the date the email was sent, appended to the end of the email title?

Categories:
I have the same question (0)
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @GooseHelpful199  In Add attachment action you can add utcnow() in file name.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • GooseHelpful199 Profile Picture
    20 on at

    Thanks, do you know how I would incorporate this if I wanted something like "TITLE-DATE".xls for an excel file attachment?

    GooseHelpful199_0-1673559907999.png

     

  • Verified answer
    Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @GooseHelpful199 Do not type utcnow() directly rather type in expression window and click ok

    Hardesh15_0-1673560383170.png

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

     

  • GooseHelpful199 Profile Picture
    20 on at

    Thanks! And what if I were to just want it simplified as a shorter format (no timestamp, just date)?

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @GooseHelpful199 use utcnow('yyyy/MM/dd'). pls mind uppercase.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard