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 / Try to display "Bucket...
Power Automate
Unanswered

Try to display "Bucket Name" from a task assigned in Planner to an email using a cloud flow

(0) ShareShare
ReportReport
Posted on by 2

Good Morning,

 

I am trying to create a flow that will email a user when a new task is assigned in MS Planner. I can get this to work along with the task title, but I also want to include the 'Bucket Name' from planner. There is no pre-made option for this, the only thing I can find if 'Bucket id', but that doesn't display the name.

 

Can anyone advise, please? (image of current flow attached)

 

MS Flow.png

Categories:
I have the same question (0)
  • Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @Trevstonbury 

     

    Pls add "List buckets" action after Get user profile (V2) and choose the Group & Plan Id:

    ManishSolanki_0-1692616022386.png

     

    Next, add a filter action that will filter the bucket records based on the ID. Choose array 'value' from the Dynamic content:

    ManishSolanki_1-1692616153648.png

    Click "Edit in advanced mode" link and enter the below expression in the textbox:

    @equals(item()?['id'], triggerOutputs()?['body/bucketId']) 

     

    Finally, pass the name of the bucket to the email action as shown below:

    ManishSolanki_2-1692616369457.png

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • Expiscornovus Profile Picture
    33,851 Most Valuable Professional on at

    Hi @ManishSolanki,

     

    A task can be assigned from any group which has a planner plan. How would you know which group it is? That part also needs to be dynamic 😀

     

    Below is an example which uses the Graph API to retrieve the name of the bucket (independent of the group it is connected to it).

    https://learn.microsoft.com/en-us/graph/api/plannerbucket-get?view=graph-rest-1.0&tabs=http

     

     

    body('HTTP')['name']

     

     

    bucketname_retrieval.png

  • Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @TrevstonburyApologies 😞

     

    Thanks @Expiscornovus...new learning for me 👍

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 862

#2
Valantis Profile Picture

Valantis 738

#3
Haque Profile Picture

Haque 553

Last 30 days Overall leaderboard