Skip to content

Get Calendar Events

The Get Calendar Events node allows you to retrieve Microsoft Outlook calendar events using a variety of date filtering options. This node connects to the Microsoft Graph API via a service account and supports recurring events, all-day event filters, and custom sorting.


🧩 Node Type

TaskType: Get Calendar Events
Category: Azure
Icon: (Not specified — consider adding one in the front-end JSON config.)


📝 Description

Use this node to retrieve calendar events from a specified Microsoft Outlook calendar. The node supports several date filtering modes such as "Between Dates", "Last X Days", "Before Date", "After Date", or "All", and allows customization of the result set including recurrence inclusion, event visibility, and sorting preferences.


⚙️ Input Fields

LabelTypeDescriptionRequiredVisible When
Date Filter TypepicklistFilter strategy for retrieving events. Options: Between Dates, Last X Days, Before Date, After Date, All.✅ YesAlways
Start DatedateTimeStart date for event filtering.✅*Between Dates, After Date
End DatedateTimeEnd date for event filtering.✅*Between Dates, Before Date
DaystextNumber of past days to include (e.g., 7).✅*Last X Days
Calendar NametextName of the calendar to query. Leave blank for default.NoAlways
Email AccounttextEmail address of the user’s mailbox to search.NoAlways
Include Recurring EventscheckboxWhether to include recurring events.NoAlways
Only All-Day EventscheckboxFilter only all-day events.NoAlways
Show-As FilterpicklistFilter by availability. Options include: Any, Busy, Free, etc.NoAlways
Max ResultstextMaximum number of events to return. Default is 100.NoAlways
Sort OrderpicklistSorting of events. Options: Start Asc, Start Desc, etc.NoAlways
Microsoft Service AccountserviceLink to Microsoft Graph Service Account (ThirdParty-Microsoft).✅ YesAlways

*Required based on selected Date Filter Type.


📤 Output

NameTypeDescription
Calendar Eventsobject arrayList of retrieved calendar events in structured format.

✅ Success Criteria

The node is marked successful if:

  • A valid service account is located.
  • The appropriate date filter and parameters are passed.
  • Calendar events are successfully retrieved from Microsoft Graph API.

On success, Calendar Events will contain an array of event objects.


❌ Failure Scenarios

The node will fail if:

  • Required fields based on the filter type are missing.
  • The service account token is invalid or not found.
  • The Microsoft Graph API returns an error or no events are returned.

🧪 Example Use Cases

  • Retrieve upcoming meetings within the next 7 days for a user.
  • Query all-day events between two specific dates.
  • Filter events marked as Busy and sort by start time descending.

🔐 Permissions

The linked Microsoft service account must have permission to read calendar events for the target mailbox.


📎 Notes

  • Date filtering is dynamic and supports full ISO 8601 formatting.
  • Calendar Name is optional and defaults to the primary calendar if omitted.
  • Events returned include metadata such as subject, start, end, isAllDay, and showAs.

Tentech 2024