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 / Assigning Planer Label...
Power Automate
Unanswered

Assigning Planer Labels through Power Automate

(4) ShareShare
ReportReport
Posted on by 69

Hi everyone! First-time poster here.

 

I am using Power Automate in order to set up Teams -> Planners. I'm using these as task workflows. I set up all of the tasks in an Excel spreadsheet and then feed it into Sharepoint for the population of data in Planner.

Everything is working great except for one thing. After it finishes populating in Planner, I have to go through each task and manually add the Label. The labels are used to differentiate roles... ie. Marketing vs Operations.

The Labels are defined in the spreadsheet I am using. Is there a way to modify the Flow to allow Labels to be assigned through this task population, automation?


I can post pieces of my setup if it will help. Thanks!

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

    no @pfarley  friend unfortunally is not possible this change needs to be manual

  • pmadley Profile Picture
    35 on at

    Heh @pfarley  Somehow, I made it work. Newbie luck 😎

    if(equals(item()?['CategoryColour'],'Pink'), True, False)

    Hi there, I found this to work. I suppose you can then go into Planner and change the label name from 'Pink' to 'Name' once your flow has completed. Obviously I made a new column in the Excel table called 'Category Colour'. Unfortunately, Flow can't do the new colours, such as 'Bronze'.

     
    bronze.pngcolours.png

     

  • pmadley Profile Picture
    35 on at

    Success:

    1. I went into Planner and set up the 6 possible labels
    2. I added a new column 'Label' to the Excel table
    3. For 'Pink' I did: if(equals(item()?['Label'],'Moderate'), True, False)
      (Red = 'Critical or Serious', Yellow = 'Minor' etc...)

    labels correct.png

  • pfarley Profile Picture
    69 on at

    @pmadley Thanks! Below is the general makeup of my flow.

    pfarley_0-1620651516146.png


    Where would you recommend placing the conditions? My excel sheet that is inserted into Sharepoint only has values in it. 

    Would it be best to place the conditions here? If so, how?

    pfarley_1-1620651599174.png

     

  • Zubaid Profile Picture
    2 on at

    @pmadley If I already have labels created ie. each label is created for a specific team how do i assign my flow to that label without having to add the label manually to the team. I tried the above, but this does not add the label.

  • Raj6 Profile Picture
    2 on at

    I tried this but somehow I cannot see the desired result like yours on the right hand side. It's blank for me 😞

  • claus8402 Profile Picture
    6 on at

    Any chance someone was able to get this working?  I tried the above, but I can't get it to create labels on the new task

  • pmadley Profile Picture
    35 on at

    Woah it feels like an eternity since I did this.

    I recall that I had to set up the labels beforehand, then have a column in my excel file that had the label name (instead of colour). At the time it was restricted to the initial 6 colours Planner initially provided.

    I'm currently doing a massive piece of ElasticSearch work so I can't commit to help atm I'm afraid.

    Also... DISCLAIMER: I am not a 365 or Flow or Planner expert. I was just playing around. Don't rely on anything I say!

  • claus8402 Profile Picture
    6 on at

    Thanks for the reply.  It sounds like the integration between power automate and planner is still relatively new/underdevelopment.  

  • AllyWard Profile Picture
    22 on at

    I've got this working - though I only setup up coloured labels - doesn't change the name of them. But you only have to do that once, when the planner is complete.

    I use excel as a source with boolean columns for each label I want to create. 

    Planner labels.png

    I initialise boolean variables first

    planner initialise variable.png

    then create conditions looking at the columns in my excel spreadsheet for whether each of the labels conditions is true or false and setting my variable true or false accordingly

    Note that you need to look for True (not true or TRUE) in order for it to check it properly but set the variables with lower case

    Conditions to set variablesConditions to set variables

     

    then finally when I create the task I use the variable

    Add the task using the variables for the labelsAdd the task using the variables for the labels

     

     

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard