Skip to content

Get Calendar Events By Email ​

Retrieves calendar events for a specified Microsoft 365 email account using a service account and a configurable date filter.

Purpose ​

Use this task when a workflow needs to read calendar events from a mailbox other than the currently authenticated user, such as checking a colleague's availability, auditing scheduled activity for a shared account, or building reports across multiple users' calendars. The date filter mode controls how the time window is defined, and additional options allow results to be narrowed by event type, availability status, and calendar name.

Inputs ​

FieldTypeRequiredDescription
Date Filter TypeDropdownYesDetermines how the date range is defined. Options: Between Dates, Last X Days, Before Date, After Date, All.
Email AccountTextYesThe email address of the calendar to retrieve events from.
Start DateDate / TimeNoThe start of the date range. Required when Date Filter Type is Between Dates or After Date.
End DateDate / TimeNoThe end of the date range. Required when Date Filter Type is Between Dates or Before Date.
DaysTextNoNumber of days back from the current date and time. Required when Date Filter Type is Last X Days.
Calendar NameTextNoThe name of the calendar to query. Leave blank to use the primary calendar.
Include Recurring EventsCheckboxNoWhen checked, individual instances of recurring events are included in the results.
Only All-Day EventsCheckboxNoWhen checked, only all-day events are returned.
Show-As FilterDropdownNoFilters events by the user's availability status. Options: Any, Busy, Free, Tentative. Defaults to Any.
Max ResultsTextNoThe maximum number of events to return. Defaults to 100.
Sort OrderDropdownNoThe order in which events are returned. Options: Start Asc, Start Desc, Subject Asc, Subject Desc. Defaults to Start Asc.

Visibility Rules ​

Start Date is visible when Date Filter Type is Between Dates or After Date. End Date is visible when Date Filter Type is Between Dates or Before Date. Days is visible when Date Filter Type is Last X Days. Email Account and Date Filter Type are always visible.

Outputs ​

NameDescription
Calendar EventsA list of calendar event objects matching the specified filters. Each object includes event metadata such as subject, start and end times, all-day status, and availability. Downstream tasks can iterate over this list or inspect individual events.

Tentech