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 Automate
Answered

Error in List Folders

(1) ShareShare
ReportReport
Posted on by 340

Hi, 

 

Objective - Create a year folder if there is no year folder & drop a file in it. If a year folder exists, get into the folder & add the file in it.

 

I created a flow & ran into an error - adding the screenshot for your reference 

mithushalk_0-1720781707947.png


Thanks in advance!

Categories:
I have the same question (0)
  • Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @mithushalk 

     

    The same can be done easily by providing dynamic path in 'Folder path' parameter in "Create file" action. It will create a folder if does not exist else create file in the existing folder.

     

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • mithushalk Profile Picture
    340 on at

    Can you please a demo for me to executive?

  • Verified answer
    Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @mithushalk 

     

    Here is the example which I had shared for the same use case:

    Solved: to store attachments when email arrives based on t... - Power Platform Community (microsoft.com)

     

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

     

  • mithushalk Profile Picture
    340 on at

    Hi @ManishSolanki ,

     

    Thanks for the reply!

    I went through the link & it shows to create file in a folder. 
    I need to create folders for the Year followed by Month & then add the file in it. If the folders are already created then just get into the folders & create the file.

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
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard