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 / Power automate flow to...
Power Automate
Answered

Power automate flow to check folder color

(2) ShareShare
ReportReport
Posted on by

Hi, i am currently using a flow in order to create planner task whenever a file is added to the Documents library.

i am checking if the file is folder and then o procced creating the planner item.

i am trying to add one more roe to my condition in order to check folder color and i will also set priorities to the planner task depending on folder's color.

 

i am able to identify throu rest api that if for exampe a folder is blue ther is an expanded property of "

<d:vti_x005f_colorhex>5</d:vti_x005f_colorhex>

 i have also confirm it through powershell that this is the correct attribute as you can see on the screenshot but i am not able to extract that info using power automate

geostylianou_0-1700923435273.png

Any ideas?

 

Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @geostylianou 

     

    I don't think color of folder is found as property of any sharepoint API response, based on information which i have received.

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • geostylianou Profile Picture
    on at

    hi, thank you for your answer but considering i can create folder and give it custom (see attachment) color using http request from power automate, i believe i can also get that property

    geostylianou_0-1700929922471.png

     

  • geostylianou Profile Picture
    on at

    Hi all,

     

    is it possible to set a variable using the http response body?

    i am able to see the required attribute on the http response body.

    geostylianou_0-1701003973075.png

     

  • geostylianou Profile Picture
    on at

    *Update*

    found the solution thnx all.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @geostylianou 

     

    Could you share how to do that 

     

    If you can share that would be great as I was also researching on this but did not get any leads for this 

     

    Also this would help if any one comes for looking same query in future 

     

    Just share solution and mark it as solution which helps !

     

     

  • geostylianou Profile Picture
    on at

    Hi, @Nived_Nambiar ,

     

    first you need to get expanded item properties using the http request as follows:

    geostylianou_0-1701036535409.png

    next  you initialize a variable fetching data from the http response.

    my response was this:

    geostylianou_1-1701036827597.png

    so i used the following dynamic content to set the variable

    geostylianou_2-1701036973300.png

     

     

  • geostylianou Profile Picture
    on at

    Hi @Nived_Nambiar ,

    it seems that my variable is not correct.

    do you know how can select the string i want after i parse the json response from http to my condition?

  • Verified answer
    geostylianou Profile Picture
    on at

    *new update*

    Using compose action i managed to parse the required property to a new variable.

    I am elaborating:

    using compose action with the following query to navigate to the required property inside the json

    geostylianou_1-1701112180575.png

     

     

    then use the action initialize a variable and pass the output from the compose action

    geostylianou_2-1701112225895.png

    to make sure the variable has the correct value i sent an email passing the variable to the mail body

    geostylianou_3-1701112297286.png

     

    and this is the mail i received after creating a blue folder 

    geostylianou_4-1701112368383.pnggeostylianou_5-1701112436536.png

     

    color/code panel

    geostylianou_6-1701112454905.png

     

     

     

     

     

     

  • LE-15101539-0 Profile Picture
    2 on at
     - I am not able to see most of the images on these posts. I am encountering this issue now - I would like to be able to see the color of folders in SharePoint using Power Automate.  Any chance you could get me the screen shots?  Thanks!
  • CU23021713-0 Profile Picture
    3 on at
    any update on the screenshots?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard