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 / Get folder names to re...
Power Automate
Unanswered

Get folder names to re-create them when moving files in SharePoint after approval

(0) ShareShare
ReportReport
Posted on by 10

Hello,

 

I have 2 flows setup.

 

1) adds files to SharePoint from a file upload field in a Cognito form.

2) triggers a document approval, upon approval it moves the file to another folder.

 

The 1st one creates folders/sub folders based off of fields from the Cognito form.

ie. Pre-Approved-->Department Name -->Provider Name -->Annual_Sales_Report_2021-11-04.pdf

 

Currently when I am moving the documents after approval it is moving them to a single folder

ie. Approved-->Annual_Sales_Report_2021-11-04.pdf

 

How do I go about re-creating the same document structure in the Approved folder that is created in the Pre-Approved folder?

 

The create file and folder structure created from the Cognito Forms:

cchung_0-1636058185237.png

 

 The move file after "yes" approval:

cchung_1-1636058308410.png

 

Categories:
I have the same question (0)

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 273 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 135 Most Valuable Professional

Last 30 days Overall leaderboard