Hello,
I try to setup the meeting scheduler for MS 365 calendar. My flow as follow: read calendar events, iterate-aggregate to filter out unnecessary items, apply OpenAI model to provide available time slots based on working hours, lunch hours and busy events.
It works in general but I have one problem.
After reading the existing events in the calendar I get them as UTC timezone which differs from my local zone. My Open AI model is not able to process the busy slots if their times are given as UTC but it works fine if times are given in the local time. So I try to convert the times to my local time applying addHours(2h) function during iterate-aggregate process. But here I have the issue. After testing and feeding with the webhook I can see Operation 1: input and output times are correct (2 hours are added) but output budle still shows the initial times. As the result the aggregation also outputs the original times and my model proposes incorrect meeting times.
Has anyone done it before to convert bundle with Start/end dateTime objects from UTC to local time zone?
Thank you in advance for any suggestion. I can share blueprint and screenshots if needed.
BR, Jerry