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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Rename an attachment f...
Power Automate
Unanswered

Rename an attachment file received by email before saving it

(0) ShareShare
ReportReport
Posted on by 6

Hi everyone,

 

I tried to make a flow with Dropbox : "save email attachments to a dropbox folder"

The standard flow is working great but, if I have the same name of the file attached, it is overwriting on the dropbox folder...

Could you please tell me how to remane an attachment file (with the date/time added for example) ?

 

Thanks

Fred

Categories:
I have the same question (0)
  • Verified answer
    telu Profile Picture
    Microsoft Employee on at

    Hi frdrcjrdn,

     

    I think you can use subject+attachmentName or any other name combination as the dropbox file name to resolve the name conflict. Hope it works

     

    Thanks

  • frdrcjrdn Profile Picture
    6 on at

    I can't put the object + the attachment name.

    It told me (in red) that it is impossible because of the foreaech instruction...

     

    So I put the "subject".pdf and I get my attachment renamed with the email subject plus the PDF extension.

    But my problem, now, is when I have two attachments in the email, I get an error with the flow because, of course, there is a problem of overwriting files...

     

    I get stucked !

     

    I even try to put a condition on the content-type of the attachment (equal to ".pdf") but I get an error of the flow...

     

    Did someone has a flow which is working to save only a PDF attachment of an email recevied into a dropbox foler ?

     

    Thanks

    Fred

  • krizz Profile Picture
    2 on at

    Hi, same issue here... adding a timestamp to the filename would be a solution, but as far as I now it's not possible for the moment. 

     

    Cheers 

    Kris

  • v-micsh-msft Profile Picture
    on at

    Hi @frdrcjrdn and @krizz,

     

    Please take a look at the thread below, see if the workaround works for your situation:

    Modify Dynamic Content Before Use in Flow

    If you have any further questions, please post back.

    Regards

     

  • Dutch77 Profile Picture
    2 on at

    Hi,

     

    I'm looking for the same solution... i have many bills coming in via email for different properties. In the body of the email it has supply address, and ideally i would like this captured somewhere so i can either name the file this way, or store it in the correct folder commencing with email date YYYY-MM-DD Supply address 1 - Elec

     

    It will save me lots of time... and manual filing of these bills... seriously... if someone could create this archive box for all bills etc, they would be trillionaire...

     

    Cheers

     

     

  • h173802 Profile Picture
    2 on at

    @Dutch77 Did you get a solution? I am trying something similar.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard