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 / Need to create a Flow ...
Power Automate
Answered

Need to create a Flow to save file to one drive from incoming email to Office 365

(0) ShareShare
ReportReport
Posted on by

Hello Team,

 

I am receiving an email from an external user with same file name, and I want to save the excel file in one drive automatically when the email arrives, but I also want the attachment to be renamed which includes  "File name + receiving time stamp" so that existing file is not replaced.

 

Kindly help.

 

Thanks & Regards,
Abhishek Kumar

Categories:
  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @abhishek7 ,

     

    Is the excel file attachment of email?

    If so, please try this.

    In classic designer.

    vmengmlimsft_0-1710423623855.png

    concat(first(split(outputs('Get_Attachment_(V2)')?['body/name'],'.')),' ',formatDateTime(utcNow(), 'MMMM dd, yyyy, HH:mm'),'.xlsx')

     

     

     

    Best regards,

    Rimmon

  • abhishek7 Profile Picture
    on at

    Thanks Rimmon for a prompt support.

     

    Just wanted to check if we can save the same attachment to AWS S3 bucket rather than One drive for Business.

    If yes, what all things will be required.

     

    Thanks & Regards,
    Abhishek Kumar

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @abhishek7 ,

     

    I don't use AWS S3 bucket very often, so I suggest you post this question to the forum and maybe someone else will have a useful idea.

     

    Best regards,

    Rimmon

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard