cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gv213-498
Regular Visitor

Check/Create planner bucket then add task

I need to do the following:

  1. Email comes in with info (done)
  2. email triggers flow, convert to text, parse json, separate info (all done)
  3. i need to lookup a bucket in planner based on a value from the email (they'll match), if there isnt one, create one.
  4. then create a task in the bucket based on the info from above (this part i can do as well)

 

its that 3rd step I cant figure out. Creating a bucket is easy, but getting the flow to check for a bucket based on a value is where i'm stuck

1 ACCEPTED SOLUTION

Accepted Solutions
v-LilyW-msft
Community Support
Community Support

Hi @gv213-498 

You can add List buckets action to list all buckets.

vLilyWmsft_0-1632712975737.png

Then add Filter array action.

vLilyWmsft_1-1632713145741.png

Add Condition action to check whether this bucket exists.

vLilyWmsft_2-1632713282626.png

If yes means that the bucket exists, if no means the bucket does not exist.

vLilyWmsft_3-1632713498822.png

Hope the content above may help you.

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-LilyW-msft
Community Support
Community Support

Hi @gv213-498 

You can add List buckets action to list all buckets.

vLilyWmsft_0-1632712975737.png

Then add Filter array action.

vLilyWmsft_1-1632713145741.png

Add Condition action to check whether this bucket exists.

vLilyWmsft_2-1632713282626.png

If yes means that the bucket exists, if no means the bucket does not exist.

vLilyWmsft_3-1632713498822.png

Hope the content above may help you.

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,887)