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 / Create a file when ema...
Power Automate
Suggested Answer

Create a file when email arrive

(1) ShareShare
ReportReport
Posted on by 26
Hi all,
 
I build a flow that Create a File when an email with specific subject and has attachment arrive.
The File content is attachment content. Flow as below. The "For each" is automatically appear.
Then round 1, the flow run ok. The File created.
Then round 2, the flow will inform that fail because there is the file created.
Finally, my flow always has the result Unsuccess even I got the result I want (The file is created based on attachment)
Please help me to make my flow to be Success.
 
Thanks
 
Categories:
I have the same question (0)
  • Manish Solanki Profile Picture
    15,167 Moderator on at
    Please share the error details with screenshot. Thanks
  • Suggested answer
    Gopala_Krishna Profile Picture
    1,495 on at
    I think in the create file action you are passing the file name as a static value which is why after the 1st run the flow is trying to throw an error.
    concat(<filename>,utcNow(),<fileextension>)
     
    If the file name is static then you can change it to a dynamic value by using the following expression
     
    Kindly like the response if you find it useful or it helps you with the solution
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 641

#2
Vish WR Profile Picture

Vish WR 640

#3
Haque Profile Picture

Haque 495

Last 30 days Overall leaderboard