Showing results for 
Search instead for 
Did you mean: 
Helper IV
Helper IV

Assistance in simplifying flow

Hi there. Need help to simplify my flow.

General idea is that someone uses a power app from where he selects an O365 calendar and a date range and then these events need to be sent via email.




I get data from a power app. This data's ParseJSON_Content gives something like this:

"content": "[{\"CalendarName\":\"Calendar\"},{\"CalendarDateRange\":\"January-2022\"},{\"Attendees\":[],\"Body\":{\"Content\":\"\",\"ContentType\":\"HTML\"},\"BodyPreview\":\"\",\"Categories\":.......



In the flow I have 3 objects:




Then I initiate a few variables:

-JSONbody (array with value the body of the Parse JSON)

-CalendarName, CalendarDateRange, CalendarItems (object)

-CalendarFinalItems (array)


Then I get an apply to each with the Jsonbody variable and check if the item in the loop contains CalendarName then I update the related variable with the outputs of the compose and then I compose with input:



And the condition checks for:





So I get my results just fine but in CalendarItems I have lots of items (its actual O365 calendar events) and I need to get specific properties (Start Datetime, End datetime and subject) per item in this object and use it inside an array or something to be sent via email.


It feels that I am doing much work and that this could be done in a better way so any feedback is much appreciated!


Screen Shot 2022-02-10 at 14.35.35.png

Helper IV
Helper IV

Any ideas on this one?

Helpful resources

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.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (2,827)