
Announcements
Hi @creativeopinion , I am currently using the 'List Bucket's feature to return the Bucket ID from a plan. I can manually run this each time for each plan, however I have 94 groups, each with 5 plans, and each plan there is a specific bucket I am looking for that I have called 'Enquiry'. I am the owner to all groups/plans.
The above flow requires me to enter the Group ID and the Plan ID each time. Is there a way to have the List Bucket feature to accept dynamic values so i can run 1 query and return all bucket IDs and export into a spreadsheet. I only require the one Bucket ID for each of the 470 plans (the bucket called 'Enquiry') which is consistent in all groups/plans.
Thanks
Benjamin
@Leschkeb You can use the List groups that I own and belong to action. With an Apply to Each action, loop through each group returned.
Next, add a List plans for a group action:
Add another Apply to Each action to loop through each plan for each group. Insert the Value dynamic content from the List plans for a group action.
Add a List buckets action and insert the appropriate dynamic content.
To filter out the bucket by name, use a Filter Array action.
To learn more about how to use the Filter Array action, please refer to this YT Tutorial: Are you using the Microsoft Power Automate Filter Array Action wrong?
In this video tutorial I’ll show you 3 practical ways to use the Filter Array action and how to use it properly.
1️⃣ Cross-Referencing Data
2️⃣ Filtering by Key
3️⃣ Substring Matching
Did you know that the Condition action has a limit of 10 conditions? Although it might look like the Filter Array action can only accept one condition—this is not true. By using the advanced mode you can enter multiple conditions into a Filter Array action with an expression.
IN THIS VIDEO:
✅ 3 Ways to Use the Filter Array Action
✅ How to use the Scope Action to Group Actions
✅ How to Check the Number of Items returned from a Filter Array Action
✅ How to Cross-Reference Data in Excel with a SharePoint List
✅ How the Filter Array Action Works
✅ How to Access the Dynamic Content from a Filter Array Action
✅ How to Filter Items by a Key
✅ How to Filter Items by Matching a Substring
✅ How to Use Multiple Conditions in a Filter Array Action