BLOG
Using Flows in SharePoint for Seamless Page Management
Discover the solution to a missing key feature in SharePoint Pages Library.
July 17, 2023
: 8 min
Business Process & Collaboration

The question is, what is the solution here? How can you create a good experience for people when it is so difficult to perform this simple action? The answer lies in building Flows, which are automatic workflows, in order to create a seamless user experience for the people who will be using your SharePoint site.
The plan
The process will involve creating three flows and an additional SharePoint list called "PageFolders" with three fields: Title, FolderPath, and FolderID. The flows mentioned are: "Folder Management: Create/Modify," "Folder Management: Deletion," and "Site Pages: Move to Chosen Folder."The following blog post will provide step-by-step instructions for setting up the flows and the PageFolders list. It covers the following:
- Obtaining Site Pages library GUID
- Checking folder creation or modification conditions
- Managing PageFolders list based on folder IDs
- Removing items from the list when folders are deleted
- Enabling folder selection in PageFolders list for editing page details
1. Obtaining Site Pages library GUID
First, start with the folder management Flows to populate and manage your PageFolders list items according to folders created in the Site Pages library.

2. Checking folder creation or modification conditions
Next, we’ll add a condition to check if the item created/modified is a folder. You could also add this to your trigger properties as a filter.

3. Managing PageFolders list based on folder IDs
We will then check if anything was returned. If there has been anything returned, there will be a folder represented with the same ID. If not, we’ll create the new item in the PageFolders list.


4. Removing items from the list when folders are deleted
You’ll need to follow the same process to add the Site Pages library GUID to the trigger for this one as above.



5. Enabling folder selection in PageFolders list for editing page details
First, we have to make sure that the PageFolders list shows a field for users to pick their folder from the page itself. To do this, we’ll go to the Site Pages library settings and add a new lookup column that pulls the Title from the PageFolders list.


The trigger will be when a file is created or modified in the Site Pages library again as before we’ll need that GUID to make this connection.




concat(outputs('Get_item_-_Page_Folder_item')?['body/FolderPath'],'/')

-1500w.webp)
Latest Blogs

| Digital Experience Strategy
Welcome to High Monkey's new website!
High Monkey has a brand-new website! See why we redesigned it, how we built it, and what’s new in our smarter, more intuitive digital home.
March 24, 2025
Reading time: 5 min

| Business Process & Collab.
Elevate your productivity with this OneNote Kanban Board strategy
Boost your efficiency with our OneNote Kanban Board strategy. Perfect for anyone looking to streamline their task management and enhance productivity with practical, easy-to-implement tips.
March 23, 2025
Reading time: 7 min

| DIgital Experience Strategy
Discussing Stupid gets a fresh new look for Episode 11
Discover how Discussing Stupid leveled up with a fresh new look in Episode 11—new colors, a refined intro, and a branding update to enhance the experience.
March 18, 2025
Reading time: 5 min