Get Outlook Calendar Events

Hello all,
Need help with a challenge. I need to get my Outlook Calendar Events for a day and check if there are atleast 4 hours available in my calendar on a given day and I need to schedule a Training meeting for 4 hours ( doesn’t have to be consecutive hours) . It could be split as well.
I should NOT use O365 Classic/Modern to achieve this.

Basically, I need to find 4 hours of free time from my Outlook Calendar and book a training meeting.
I do not see any Get Calendar/get Events activity under UiPath.Mail.Activities (1.24.2). I see an activity to Send Calendar Invite though. I am working in Windows.

Can someone help me on this

@besakkiappan46

Without using O365 I dont think you have any option

cheers

Hi @besakkiappan46,

Since O365 activities are not allowed, you need to use Outlook desktop automation. UiPath does not have a direct Get Calendar Events activity, but you can use Get Outlook Mail Messages with MailFolder set to Calendar to read appointment items. From each item, read the start and end time, calculate busy hours for the day, and check if the total free time adds up to at least 4 hours (it can be split). Once available time is confirmed, use Send Calendar Invite to schedule the training.

Thanks & Happy Automation