Create calendar event
Create a meeting or appointment, optionally inviting attendees.
Command in the Microsoft 365 toolkit · id ooa.microsoft365/create_event · 27 inputs (3 required), 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | No | Microsoft Graph access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Subject | String | Yes | Title. | |
| Start | DateTime | Yes | Start date and time. | |
| End | DateTime | Yes | End date and time. | |
| Time zone | String | No | UTC | Time zone of start and end, e.g. India Standard Time or Europe/London. |
| Attendees | Any | No | Attendee address(es). | |
| Body | String | No | Description. | |
| Location | String | No | Location. | |
| Optional attendees | Any | No | Address(es) invited as optional. | |
| All day | Boolean | No | false | All-day event: only the dates of start and end count; the end date may equal the start date. |
| Online meeting | Boolean | No | false | Add a Teams meeting link. |
| Body is HTML | Boolean | No | false | The description is HTML. |
| Importance | String | No | Importance; Outlook's default when empty. | |
| Show as | String | No | How the time shows in the calendar (oof = out of office); busy when empty. | |
| Sensitivity | String | No | Privacy of the event; normal when empty. | |
| Reminder (minutes) | Number | No | Reminder this many minutes before the start; 0 turns the reminder off; Outlook's default when empty. | |
| Categories | List | No | Outlook category names, e.g. ["Finance"]. | |
| Recurrence | String | No | none | Repeat the event; weekly repeats on the start's weekday, monthly on its day of the month. |
| Recurrence interval | Number | No | 1 | Repeat every this many days, weeks, months or years. |
| Recurrence end | DateTime | No | Last date of the series; it has no end when empty and no count is given. | |
| Recurrence count | Number | No | Number of occurrences, instead of an end date. | |
| Mailbox | String | No | me | Mailbox: me, or a user's email address (needs application permission). |
| Endpoint address | String | No | https://graph.microsoft.com/v1.0 | Graph endpoint; change only for national clouds or testing. |
| Calendar | String | No | Calendar name or id to put the event in; the default calendar when empty. | |
| Attachments | List | No | Local files (up to 3 MB each) attached to the event after it is created. | |
| Recurrence days of week | List | No | Weekdays the event repeats on, e.g. ["monday", "thursday"]. For weekly repeats, instead of the start's weekday; for monthly or yearly repeats, used with recurrence_week_of_month. | |
| Recurrence week of month | String | No | Monthly or yearly repeats only: repeat on this week of the month (e.g. the second Tuesday) instead of on a fixed day of the month. |
Outputs
| Output | Type | What it is |
|---|---|---|
| event_id | String | Event id. |
| web_link | String | Link to open the event in Outlook. |
| online_meeting_url | String | Teams join link, when online_meeting is true. |