What can you do?

How does it work?

Power Automate uses API requests to control SharePoint behind the scenes. You’ll create a flow that,

  1. Sends a request to SharePoint with the color you want (like blue or green).
  2. Let you create or rename folders too, all in one click.

What You’ll Need,

How to Do It?

  1. Open Power Automate and create an Instant Cloud Flow.
  2. Add "Send an HTTP request to SharePoint" action.
  3. Fill in your site, method (POST), and the API URL for color or folder creation.
  4. Add the folder name and color code in the body.
  5. Save and run the flow to see changes live in SharePoint.
    Sharepoint

Pro Tips

Different Examples

{
    "coloringInformation": {
        "ColorHex": "3"
    }
}

Stamp Color: Change the existing folder's coloring information
_api/foldercoloring/stampcolor(DecodeUrl='/sites/{siteName}/{libraryName}/{folderName})

Example: 
_api/foldercoloring/stampcolor(DecodeUrl='/sites/TheVillage/Employee Details/MyEmployeeData)

Create a Folder: create a new folder with selected color
_api/foldercoloring/CreateFolder(DecodeUrl='/sites/{siteName}/{libraryName}/{folderName}, Overwrite={true/false})

Example: 
_api/foldercoloring/CreateFolder(DecodeUrl='/sites/TheVillage/Employee Details/MyEmployeeData, Overwrite=true)

Rename a Folder: rename a folder and change the color to selected color
_api/foldercoloring/RenameFolder(DecodeUrl='/sites/{siteName}/{libraryName}/{folderName}, newName='newFolderName')

Example: 
_api/foldercoloring/RenameFolder(DecodeUrl='/sites/TheVillage/Employee Details/MyEmployeeData, newName='EmployeeData')

In Short. Power Automate lets you color-code and create folders in SharePoint easily—something you can’t do quickly through Teams or SharePoint alone. Set it up once, and enjoy a cleaner, more colorful workspace.