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.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,952)