The createTeamsEventCalendar action creates an event or appointment in a Microsoft Outlook calendar using Microsoft Graph. The action can create standard calendar events, schedule online Microsoft Teams meetings, invite attendees, and attach files to the event.
Use this action when a workflow needs to automatically schedule meetings, appointments, reviews, interviews, onboarding sessions, or other calendar-based activities.
During the operation, the connector authenticates with Microsoft Graph, then the calendar event is created using the supplied details. Attendees are added to the invitation, an online Teams meeting is created if requested, and the attachments are added if supplied. Finally, the event identifier is returned to the workflow.
The input parameters to create a calendar event are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| subject | String | Required | Subject of the calendar event. |
| text | String | Optional | Body content of the calendar event. |
| startDate | DateTime | Required | Start date and time of the event. |
| minutes | Integer | Required | Duration of the event in minutes. |
| endDate | DateTime | Required | End date and time of the event. |
| attendees | Array<string> | Required | List of attendee email addresses. |
| location | String | Optional | Location of the event. |
| timeZone | String | Optional | Time zone of the event. Defaults to GMT Standard Time. The value can be any Microsoft-supported Windows time zone. |
| onlineMeeting | Boolean | Optional | Creates an online Microsoft Teams meeting for the event. |
| attachments | Content | Optional | File attachment added to the calendar event. |
The output parameters to create a calendar event in Microsoft Outlook are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| result | JSON | Optional | Response containing the identifier returned by the Microsoft Teams/Microsoft Graph API for the created event. |