Skip to content

Microsoft Outlook 365

Microsoft Outlook 365 is a comprehensive email and productivity platform that integrates email, calendar, contacts, and tasks to streamline communication and organization.

Categories: communication, calendars-and-scheduling

Type: microsoftOutlook365/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeDescriptionRequired
clientIdClient IdSTRINGtrue
clientSecretClient SecretSTRINGtrue
tenantIdTenant IdSTRINGtrue

Actions

Create Event

Name: createEvent

Creates an event in the specified calendar.

Properties

NameLabelTypeDescriptionRequired
calendarCalendar IDSTRINGtrue
subjectSubjectSTRINGThe subject of the event.false
allDayAll Day Event?BOOLEAN
Options true, false
true
startStart DateDATEThe start date of the event.true
endEnd DateDATEThe end date of the event.true
startStart Date TimeDATE_TIMEThe start time of the event.true
endEnd Date TimeDATE_TIMEThe end time of the event.true
attendeesAttendeesARRAY
Items [STRING]
The attendees of the event.false
isOnlineMeetingIs Online Meeting?BOOLEAN
Options true, false
Is the event an online meeting?false
reminderMinutesBeforeStartReminder Minutes Before StartINTEGERThe number of minutes before the event start time that the reminder alert occurs.false

Example JSON Structure

{
"label" : "Create Event",
"name" : "createEvent",
"parameters" : {
"calendar" : "",
"subject" : "",
"allDay" : false,
"start" : "2021-01-01T00:00:00",
"end" : "2021-01-01T00:00:00",
"attendees" : [ "" ],
"isOnlineMeeting" : false,
"reminderMinutesBeforeStart" : 1
},
"type" : "microsoftOutlook365/v1/createEvent"
}

Output

Type: OBJECT

Properties

NameTypeDescription
iCalUIdSTRINGID for an event across calendars,
idSTRINGID of the event.
subjectSTRINGThe text of the event’s subject line.
startTimeDATE_TIMEStart time of the event.
endTimeDATE_TIMEEnd time of the event.
attendeesARRAY
Items [STRING]
The attendees for the event.
isOnlineMeetingBOOLEAN
Options true, false
Indicates whether the event is an online meeting.
onlineMeetingUrlSTRINGURL for an online meeting.
reminderMinutesBeforeStartBOOLEAN
Options true, false
The number of minutes before the event start time that the reminder alert occurs.

Output Example

{
"iCalUId" : "",
"id" : "",
"subject" : "",
"startTime" : "2021-01-01T00:00:00",
"endTime" : "2021-01-01T00:00:00",
"attendees" : [ "" ],
"isOnlineMeeting" : false,
"onlineMeetingUrl" : "",
"reminderMinutesBeforeStart" : false
}

Delete Event

Name: deleteEvent

Deletes an event from the specified calendar.

Properties

NameLabelTypeDescriptionRequired
calendarCalendar IDSTRINGtrue
eventEvent IDSTRING
Depends On calendar
Id of the event to delete.true

Example JSON Structure

{
"label" : "Delete Event",
"name" : "deleteEvent",
"parameters" : {
"calendar" : "",
"event" : ""
},
"type" : "microsoftOutlook365/v1/deleteEvent"
}

Output

This action does not produce any output.

Get Events

Name: getEvents

Gets a list of events in specified calendar.

Properties

NameLabelTypeDescriptionRequired
calendarCalendar IDSTRINGtrue
dateRangeDate RangeOBJECT
Properties {DATE_TIME(from), DATE_TIME(to)}
Date range to find events that exist in this range.false

Example JSON Structure

{
"label" : "Get Events",
"name" : "getEvents",
"parameters" : {
"calendar" : "",
"dateRange" : {
"from" : "2021-01-01T00:00:00",
"to" : "2021-01-01T00:00:00"
}
},
"type" : "microsoftOutlook365/v1/getEvents"
}

Output

Type: ARRAY

Items Type: OBJECT

Properties

NameTypeDescription
iCalUIdSTRINGID for an event across calendars,
idSTRINGID of the event.
subjectSTRINGThe text of the event’s subject line.
startTimeDATE_TIMEStart time of the event.
endTimeDATE_TIMEEnd time of the event.
attendeesARRAY
Items [STRING]
The attendees for the event.
isOnlineMeetingBOOLEAN
Options true, false
Indicates whether the event is an online meeting.
onlineMeetingUrlSTRINGURL for an online meeting.
reminderMinutesBeforeStartBOOLEAN
Options true, false
The number of minutes before the event start time that the reminder alert occurs.

Output Example

[ {
"iCalUId" : "",
"id" : "",
"subject" : "",
"startTime" : "2021-01-01T00:00:00",
"endTime" : "2021-01-01T00:00:00",
"attendees" : [ "" ],
"isOnlineMeeting" : false,
"onlineMeetingUrl" : "",
"reminderMinutesBeforeStart" : false
} ]

Get Free Time Slots

Name: getFreeTimeSlots

Get free time slots from the Microsoft Outlook 365 calendar.

Properties

NameLabelTypeDescriptionRequired
calendarCalendar IDSTRINGtrue
dateRangeDate RangeOBJECT
Properties {DATE_TIME(from), DATE_TIME(to)}
Date range to find free time.true

Example JSON Structure

{
"label" : "Get Free Time Slots",
"name" : "getFreeTimeSlots",
"parameters" : {
"calendar" : "",
"dateRange" : {
"from" : "2021-01-01T00:00:00",
"to" : "2021-01-01T00:00:00"
}
},
"type" : "microsoftOutlook365/v1/getFreeTimeSlots"
}

Output

Type: ARRAY

Items Type: OBJECT

Properties

NameTypeDescription
startTimeDATE_TIMEStart time of the free time slot.
endTimeDATE_TIMEEnd time of the free time slot.

Output Example

[ {
"startTime" : "2021-01-01T00:00:00",
"endTime" : "2021-01-01T00:00:00"
} ]

Get Mail

Name: getMail

Get a specific message

Properties

NameLabelTypeDescriptionRequired
idMessage IdSTRINGId of the message.true

Example JSON Structure

{
"label" : "Get Mail",
"name" : "getMail",
"parameters" : {
"id" : ""
},
"type" : "microsoftOutlook365/v1/getMail"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGID of the message.
subjectSTRINGSubject of the message.
bodyPreviewSTRINGThe first 255 characters of the message body.
bodyOBJECT
Properties {STRING(contentType), STRING(content)}
The body of the message. It can be in HTML or text format.
fromOBJECT
Properties {{STRING(name), STRING(address)}(emailAddress)}
The owner of the mailbox from which the message is sent.

Output Example

{
"id" : "",
"subject" : "",
"bodyPreview" : "",
"body" : {
"contentType" : "",
"content" : ""
},
"from" : {
"emailAddress" : {
"name" : "",
"address" : ""
}
}
}

Reply to Email

Name: replyToEmail

Creates a new reply to email.

Properties

NameLabelTypeDescriptionRequired
idMessage IDSTRINGId of the message to reply to.true
commentCommentSTRINGContent of the reply to the email.true

Example JSON Structure

{
"label" : "Reply to Email",
"name" : "replyToEmail",
"parameters" : {
"id" : "",
"comment" : ""
},
"type" : "microsoftOutlook365/v1/replyToEmail"
}

Output

This action does not produce any output.

Search Email

Name: searchEmail

Get the messages in the signed-in user’s mailbox

Properties

NameLabelTypeDescriptionRequired
fromFromSTRINGThe address sending the mailfalse
toToSTRINGThe address receiving the new mailfalse
subjectSubjectSTRINGWords in the subject linefalse
categoryCategorySTRINGMessages in a certain categoryfalse

Example JSON Structure

{
"label" : "Search Email",
"name" : "searchEmail",
"parameters" : {
"from" : "",
"to" : "",
"subject" : "",
"category" : ""
},
"type" : "microsoftOutlook365/v1/searchEmail"
}

Output

Type: ARRAY

Items Type: OBJECT

Properties

NameTypeDescription
idSTRINGID of the message.
subjectSTRINGSubject of the message.
bodyPreviewSTRINGThe first 255 characters of the message body.
bodyOBJECT
Properties {STRING(contentType), STRING(content)}
The body of the message. It can be in HTML or text format.
fromOBJECT
Properties {{STRING(name), STRING(address)}(emailAddress)}
The owner of the mailbox from which the message is sent.

Output Example

[ {
"id" : "",
"subject" : "",
"bodyPreview" : "",
"body" : {
"contentType" : "",
"content" : ""
},
"from" : {
"emailAddress" : {
"name" : "",
"address" : ""
}
}
} ]

Send Email

Name: sendEmail

Send the message.

Properties

NameLabelTypeDescriptionRequired
toRecipientsTo RecipientsARRAY
Items [STRING]
The To: recipients for the message.true
subjectSubjectSTRINGThe subject of the message.true
bccRecipientsBcc RecipientsARRAY
Items [STRING]
The Bcc recipients for the message.false
ccRecipientsCc RecipientsARRAY
Items [STRING]
The Cc recipients for the message.false
replyToReply ToARRAY
Items [STRING]
The email addresses to use when replying.false
bodyBodyOBJECT
Properties {STRING(contentType), STRING(content), STRING(content)}
The body of the message. It can be in HTML or text format.true

Example JSON Structure

{
"label" : "Send Email",
"name" : "sendEmail",
"parameters" : {
"toRecipients" : [ "" ],
"subject" : "",
"bccRecipients" : [ "" ],
"ccRecipients" : [ "" ],
"replyTo" : [ "" ],
"body" : {
"contentType" : "",
"content" : ""
}
},
"type" : "microsoftOutlook365/v1/sendEmail"
}

Output

This action does not produce any output.

Triggers

New Email

Name: newEmail

Triggers when new mail is received.

Type: POLLING

Output

Type: ARRAY

Items Type: OBJECT

Properties

NameTypeDescription
idSTRINGID of the message.
subjectSTRINGSubject of the message.
bodyPreviewSTRINGThe first 255 characters of the message body.
bodyOBJECT
Properties {STRING(contentType), STRING(content)}
The body of the message. It can be in HTML or text format.
fromOBJECT
Properties {{STRING(name), STRING(address)}(emailAddress)}
The owner of the mailbox from which the message is sent.

JSON Example

{
"label" : "New Email",
"name" : "newEmail",
"type" : "microsoftOutlook365/v1/newEmail"
}