Outlook

Use Microsoft Outlook in Studio to send and draft emails, read and organize messages, manage attachments and folders, and create or update calendar events. Switch to trigger mode to start a workflow when a new email arrives.

Usage Instructions

Integrate Outlook into the workflow. Can send, draft, read, search, reply, forward, move, copy, and delete email; manage mail folders and attachments; and set categories and flags on messages. Can also list, create, update, delete, and respond to calendar events. Can be used in trigger mode to trigger a workflow when a new email is received.

Actions

Outlook Send

Send emails using Outlook

Input

ParameterTypeRequiredDescription
tostringYesRecipient email address (comma-separated for multiple recipients)
subjectstringYesEmail subject
bodystringYesEmail body content
contentTypestringNoContent type for the email body (text or html)
replyToMessageIdstringNoMessage ID to reply to (for threading)
ccstringNoCC recipients (comma-separated)
bccstringNoBCC recipients (comma-separated)
attachmentsfile[]NoFiles to attach to the email

Output

ParameterTypeDescription
successbooleanEmail send success status
statusstringDelivery status of the email
timestampstringTimestamp when email was sent
messagestringSuccess or error message

Outlook Draft

Draft emails using Outlook

Input

ParameterTypeRequiredDescription
tostringYesRecipient email address
subjectstringYesEmail subject
bodystringYesEmail body content
contentTypestringNoContent type for the email body (text or html)
ccstringNoCC recipients (comma-separated)
bccstringNoBCC recipients (comma-separated)
attachmentsfile[]NoFiles to attach to the email draft

Output

ParameterTypeDescription
successbooleanEmail draft creation success status
messageIdstringUnique identifier for the drafted email
statusstringDraft status of the email
subjectstringSubject of the drafted email
timestampstringTimestamp when draft was created
messagestringSuccess or error message

Outlook Read

Read emails from Outlook

Input

ParameterTypeRequiredDescription
folderstringNoFolder ID to read emails from (e.g., "Inbox", "Drafts", or a folder ID)
maxResultsnumberNoMaximum number of emails to retrieve (default: 1, max: 10)
includeAttachmentsbooleanNoWhether to download and include email attachments

Output

ParameterTypeDescription
messagestringSuccess or status message
resultsarrayArray of email message objects
↳ idstringUnique message identifier
↳ subjectstringEmail subject
↳ bodyPreviewstringPreview of the message body
↳ bodyobjectMessage body
↳ contentTypestringBody content type (text or html)
↳ contentstringBody content
↳ senderobjectSender information
↳ namestringDisplay name of the person or entity
↳ addressstringEmail address
↳ fromobjectFrom address information
↳ namestringDisplay name of the person or entity
↳ addressstringEmail address
↳ toRecipientsarrayTo recipients
↳ namestringDisplay name of the person or entity
↳ addressstringEmail address
↳ ccRecipientsarrayCC recipients
↳ namestringDisplay name of the person or entity
↳ addressstringEmail address
↳ receivedDateTimestringWhen the message was received (ISO 8601)
↳ sentDateTimestringWhen the message was sent (ISO 8601)
↳ hasAttachmentsbooleanWhether the message has attachments
↳ isReadbooleanWhether the message has been read
↳ importancestringMessage importance (low, normal, high)
attachmentsfile[]All email attachments flattened from all emails

Search Outlook messages using a free-text query (Microsoft Graph $search)

Input

ParameterTypeRequiredDescription
querystringYesSearch text matched against the subject, body, sender, and recipients of messages
maxResultsnumberNoMaximum number of messages to retrieve (default: 10, max: 25)

Output

ParameterTypeDescription
messagestringSuccess or status message
resultsarrayArray of matching email message objects
↳ idstringUnique message identifier
↳ subjectstringEmail subject
↳ bodyPreviewstringPreview of the message body
↳ bodyobjectMessage body
↳ contentTypestringBody content type (text or html)
↳ contentstringBody content
↳ senderobjectSender information
↳ namestringDisplay name of the person or entity
↳ addressstringEmail address
↳ fromobjectFrom address information
↳ namestringDisplay name of the person or entity
↳ addressstringEmail address
↳ toRecipientsarrayTo recipients
↳ namestringDisplay name of the person or entity
↳ addressstringEmail address
↳ ccRecipientsarrayCC recipients
↳ namestringDisplay name of the person or entity
↳ addressstringEmail address
↳ receivedDateTimestringWhen the message was received (ISO 8601)
↳ sentDateTimestringWhen the message was sent (ISO 8601)
↳ hasAttachmentsbooleanWhether the message has attachments
↳ isReadbooleanWhether the message has been read
↳ importancestringMessage importance (low, normal, high)

Outlook Reply

Reply to the sender of an Outlook message with a comment

Input

ParameterTypeRequiredDescription
messageIdstringYesThe ID of the message to reply to
commentstringNoThe reply text to include above the original message

Output

ParameterTypeDescription
messagestringSuccess or error message
resultsobjectReply result details
↳ statusstringReply status
↳ timestampstringTimestamp when the reply was sent
↳ httpStatusnumberHTTP status code returned by the API
↳ requestIdstringMicrosoft Graph request-id header for tracing

Outlook Reply All

Reply to all recipients of an Outlook message with a comment

Input

ParameterTypeRequiredDescription
messageIdstringYesThe ID of the message to reply to
commentstringNoThe reply text to include above the original message

Output

ParameterTypeDescription
messagestringSuccess or error message
resultsobjectReply-all result details
↳ statusstringReply status
↳ timestampstringTimestamp when the reply was sent
↳ httpStatusnumberHTTP status code returned by the API
↳ requestIdstringMicrosoft Graph request-id header for tracing

Outlook Forward

Forward an existing Outlook message to specified recipients

Input

ParameterTypeRequiredDescription
messageIdstringYesThe ID of the message to forward
tostringYesRecipient email address(es), comma-separated
commentstringNoOptional comment to include with the forwarded message

Output

ParameterTypeDescription
messagestringSuccess or error message
resultsobjectDelivery result details
↳ statusstringDelivery status of the email
↳ timestampstringTimestamp when email was forwarded
↳ httpStatusnumberHTTP status code returned by the API
↳ requestIdstringMicrosoft Graph request-id header for tracing
↳ messageIdstringForwarded message ID if provided by API
↳ internetMessageIdstringRFC 822 Message-ID if provided

Outlook Move

Move emails between Outlook folders

Input

ParameterTypeRequiredDescription
messageIdstringYesID of the message to move
destinationIdstringYesID of the destination folder

Output

ParameterTypeDescription
successbooleanEmail move success status
messagestringSuccess or error message
messageIdstringID of the moved message
newFolderIdstringID of the destination folder

Outlook Copy

Copy an Outlook message to another folder

Input

ParameterTypeRequiredDescription
messageIdstringYesID of the message to copy
destinationIdstringYesID of the destination folder

Output

ParameterTypeDescription
successbooleanEmail copy success status
messagestringSuccess or error message
originalMessageIdstringID of the original message
copiedMessageIdstringID of the copied message
destinationFolderIdstringID of the destination folder

Outlook Mark as Read

Mark an Outlook message as read

Input

ParameterTypeRequiredDescription
messageIdstringYesID of the message to mark as read

Output

ParameterTypeDescription
successbooleanOperation success status
messagestringSuccess or error message
messageIdstringID of the message
isReadbooleanRead status of the message

Outlook Mark as Unread

Mark an Outlook message as unread

Input

ParameterTypeRequiredDescription
messageIdstringYesID of the message to mark as unread

Output

ParameterTypeDescription
successbooleanOperation success status
messagestringSuccess or error message
messageIdstringID of the message
isReadbooleanRead status of the message

Outlook Update Message

Set the categories, follow-up flag, and importance on an Outlook message

Input

ParameterTypeRequiredDescription
messageIdstringYesThe ID of the message to update
categoriesjsonNoArray of category names to assign to the message (replaces existing categories; leave empty to keep them unchanged)
flagStatusstringNoFollow-up flag status: notFlagged, flagged, or complete
importancestringNoMessage importance: low, normal, or high

Output

ParameterTypeDescription
messagestringSuccess or error message
resultsobjectUpdated message details
↳ messageIdstringID of the updated message
↳ subjectstringSubject of the message
↳ categoriesarrayCategories assigned to the message
↳ flagStatusstringFollow-up flag status of the message
↳ importancestringImportance of the message
↳ isReadbooleanWhether the message is read

Outlook Delete

Delete an Outlook message (move to Deleted Items)

Input

ParameterTypeRequiredDescription
messageIdstringYesID of the message to delete

Output

ParameterTypeDescription
successbooleanOperation success status
messagestringSuccess or error message
messageIdstringID of the deleted message
statusstringDeletion status

Outlook List Folders

List mail folders in the root of the Outlook mailbox

Input

ParameterTypeRequiredDescription
maxResultsnumberNoMaximum number of folders to retrieve (default: 50, max: 100)
includeHiddenFoldersbooleanNoWhether to include hidden folders in the results

Output

ParameterTypeDescription
messagestringSuccess or status message
resultsarrayArray of mail folder objects
↳ idstringUnique folder identifier
↳ displayNamestringDisplay name of the folder
↳ parentFolderIdstringIdentifier of the parent folder
↳ childFolderCountnumberNumber of immediate child folders
↳ unreadItemCountnumberNumber of unread items in the folder
↳ totalItemCountnumberTotal number of items in the folder
↳ isHiddenbooleanWhether the folder is hidden

Outlook Create Folder

Create a new mail folder in the root of the Outlook mailbox

Input

ParameterTypeRequiredDescription
displayNamestringYesThe display name of the new folder
isHiddenbooleanNoWhether the new folder is hidden (cannot be changed after creation)

Output

ParameterTypeDescription
messagestringSuccess or status message
resultsobjectThe newly created mail folder
↳ idstringUnique folder identifier
↳ displayNamestringDisplay name of the folder
↳ parentFolderIdstringIdentifier of the parent folder
↳ childFolderCountnumberNumber of immediate child folders
↳ unreadItemCountnumberNumber of unread items in the folder
↳ totalItemCountnumberTotal number of items in the folder
↳ isHiddenbooleanWhether the folder is hidden

Outlook List Attachments

List the attachments on an Outlook message (metadata only, without contents)

Input

ParameterTypeRequiredDescription
messageIdstringYesThe ID of the message whose attachments to list

Output

ParameterTypeDescription
messagestringSuccess or status message
resultsarrayArray of attachment metadata objects
↳ idstringUnique attachment identifier
↳ namestringAttachment filename
↳ contentTypestringMIME type of the attachment
↳ sizenumberAttachment size in bytes
↳ isInlinebooleanWhether the attachment is rendered inline in the message body
↳ attachmentTypestringMicrosoft Graph attachment type (e.g. #microsoft.graph.fileAttachment)
↳ lastModifiedDateTimestringWhen the attachment was last modified (ISO 8601)

Outlook Get Attachment

Get a single attachment on an Outlook message, including its file contents

Input

ParameterTypeRequiredDescription
messageIdstringYesThe ID of the message that owns the attachment
attachmentIdstringYesThe ID of the attachment to retrieve

Output

ParameterTypeDescription
messagestringSuccess or status message
resultsobjectAttachment metadata
↳ idstringUnique attachment identifier
↳ namestringAttachment filename
↳ contentTypestringMIME type of the attachment
↳ sizenumberAttachment size in bytes
↳ isInlinebooleanWhether the attachment is rendered inline in the message body
↳ attachmentTypestringMicrosoft Graph attachment type (e.g. #microsoft.graph.fileAttachment)
↳ lastModifiedDateTimestringWhen the attachment was last modified (ISO 8601)
attachmentsfile[]The downloaded file attachment (empty for non-file attachment types)

Outlook List Calendar Events

List Outlook calendar events within a start/end time window

Input

ParameterTypeRequiredDescription
calendarIdstringNoID of the calendar to read. Defaults to the mailbox default calendar. Calendars shared by another user are not supported and may return 403.
startDateTimestringNoStart of the time window (ISO 8601, e.g. 2025-06-03T00:00:00-08:00). Interpreted as UTC if no offset is given. Required unless paging with pageToken.
endDateTimestringNoEnd of the time window (ISO 8601, e.g. 2025-06-10T00:00:00-08:00). Interpreted as UTC if no offset is given. Required unless paging with pageToken.
maxResultsnumberNoMaximum number of events to return per page (default: 10, max: 100)
orderBystringNoOrder of events (default: start/dateTime)
pageTokenstringNoFull @odata.nextLink URL from a previous page to continue paging

Output

ParameterTypeDescription
messagestringSuccess or status message
resultsarrayArray of calendar event objects
↳ idstringUnique event identifier
↳ subjectstringEvent subject/title
↳ bodyPreviewstringPreview of the event body
↳ startobjectEvent start
↳ dateTimestringLocal date and time (ISO 8601, no offset)
↳ timeZonestringIANA or Windows time zone name
↳ endobjectEvent end
↳ dateTimestringLocal date and time (ISO 8601, no offset)
↳ timeZonestringIANA or Windows time zone name
↳ isAllDaybooleanWhether the event lasts the entire day
↳ locationstringEvent location display name
↳ organizerobjectEvent organizer
↳ namestringDisplay name of the person or entity
↳ addressstringEmail address
↳ attendeesarrayEvent attendees
↳ namestringAttendee display name
↳ addressstringAttendee email address
↳ typestringAttendee type (required, optional, or resource)
↳ responsestringAttendee response status (none, accepted, declined, tentativelyAccepted, ...)
↳ onlineMeetingobjectOnline-meeting join details, if any
↳ joinUrlstringURL to join the online meeting
↳ webLinkstringURL that opens the event in Outlook on the web
nextLinkstringURL for the next page of results, if any

Outlook Get Calendar Event

Get a single Outlook calendar event by ID

Input

ParameterTypeRequiredDescription
eventIdstringYesThe ID of the calendar event to retrieve

Output

ParameterTypeDescription
messagestringSuccess or status message
resultsobjectThe calendar event object
↳ idstringUnique event identifier
↳ subjectstringEvent subject/title
↳ bodyPreviewstringPreview of the event body
↳ startobjectEvent start
↳ dateTimestringLocal date and time (ISO 8601, no offset)
↳ timeZonestringIANA or Windows time zone name
↳ endobjectEvent end
↳ dateTimestringLocal date and time (ISO 8601, no offset)
↳ timeZonestringIANA or Windows time zone name
↳ isAllDaybooleanWhether the event lasts the entire day
↳ locationstringEvent location display name
↳ organizerobjectEvent organizer
↳ namestringDisplay name of the person or entity
↳ addressstringEmail address
↳ attendeesarrayEvent attendees
↳ namestringAttendee display name
↳ addressstringAttendee email address
↳ typestringAttendee type (required, optional, or resource)
↳ responsestringAttendee response status (none, accepted, declined, tentativelyAccepted, ...)
↳ onlineMeetingobjectOnline-meeting join details, if any
↳ joinUrlstringURL to join the online meeting
↳ webLinkstringURL that opens the event in Outlook on the web

Outlook Create Calendar Event

Create a new Outlook calendar event

Input

ParameterTypeRequiredDescription
calendarIdstringNoID of the calendar to create the event in. Defaults to the mailbox default calendar. Calendars shared by another user are not supported and may return 403.
subjectstringYesEvent subject/title
startDateTimestringYesStart time (ISO 8601, e.g. 2025-06-03T10:00:00-08:00). A date-only value (2025-06-03) for both start and end creates an all-day event.
endDateTimestringYesEnd time (ISO 8601, e.g. 2025-06-03T11:00:00-08:00). A date-only value (2025-06-04) for both start and end creates an all-day event.
timeZonestringNoIANA or Windows time zone name (e.g. America/Los_Angeles). Used for datetimes without a UTC offset. Defaults to UTC.
bodystringNoEvent body content
contentTypestringNoContent type for the event body (text or html)
locationstringNoEvent location display name
attendeesstringNoAttendee email addresses (comma-separated)
isAllDaybooleanNoWhether the event lasts the entire day
isOnlineMeetingbooleanNoAttach an online meeting to the event. The join URL depends on the meeting providers the mailbox allows (Teams on work/school accounts); personal accounts have no supported provider, so onlineMeeting.joinUrl stays null there.

Output

ParameterTypeDescription
messagestringSuccess or status message
resultsobjectThe created calendar event object
↳ idstringUnique event identifier
↳ subjectstringEvent subject/title
↳ bodyPreviewstringPreview of the event body
↳ startobjectEvent start
↳ dateTimestringLocal date and time (ISO 8601, no offset)
↳ timeZonestringIANA or Windows time zone name
↳ endobjectEvent end
↳ dateTimestringLocal date and time (ISO 8601, no offset)
↳ timeZonestringIANA or Windows time zone name
↳ isAllDaybooleanWhether the event lasts the entire day
↳ locationstringEvent location display name
↳ organizerobjectEvent organizer
↳ namestringDisplay name of the person or entity
↳ addressstringEmail address
↳ attendeesarrayEvent attendees
↳ namestringAttendee display name
↳ addressstringAttendee email address
↳ typestringAttendee type (required, optional, or resource)
↳ responsestringAttendee response status (none, accepted, declined, tentativelyAccepted, ...)
↳ onlineMeetingobjectOnline-meeting join details, if any
↳ joinUrlstringURL to join the online meeting
↳ webLinkstringURL that opens the event in Outlook on the web

Outlook Update Calendar Event

Update an existing Outlook calendar event

Input

ParameterTypeRequiredDescription
eventIdstringYesThe ID of the calendar event to update
subjectstringNoNew event subject/title
startDateTimestringNoNew start time (ISO 8601). A date-only value (2025-06-03) converts the event to all-day.
endDateTimestringNoNew end time (ISO 8601). A date-only value (2025-06-04) converts the event to all-day.
timeZonestringNoIANA or Windows time zone name applied to updated datetimes without a UTC offset. Defaults to UTC.
bodystringNoNew event body content
contentTypestringNoContent type for the event body (text or html)
locationstringNoNew event location display name
attendeesstringNoReplacement attendee email addresses (comma-separated)
isAllDaybooleanNoWhether the event lasts the entire day. Setting this true requires also sending startDateTime, since Graph needs midnight bounds.
isOnlineMeetingbooleanNoAttach an online meeting to the event. The join URL depends on the meeting providers the mailbox allows (Teams on work/school accounts); personal accounts have no supported provider, so onlineMeeting.joinUrl stays null there.

Output

ParameterTypeDescription
messagestringSuccess or status message
resultsobjectThe updated calendar event object
↳ idstringUnique event identifier
↳ subjectstringEvent subject/title
↳ bodyPreviewstringPreview of the event body
↳ startobjectEvent start
↳ dateTimestringLocal date and time (ISO 8601, no offset)
↳ timeZonestringIANA or Windows time zone name
↳ endobjectEvent end
↳ dateTimestringLocal date and time (ISO 8601, no offset)
↳ timeZonestringIANA or Windows time zone name
↳ isAllDaybooleanWhether the event lasts the entire day
↳ locationstringEvent location display name
↳ organizerobjectEvent organizer
↳ namestringDisplay name of the person or entity
↳ addressstringEmail address
↳ attendeesarrayEvent attendees
↳ namestringAttendee display name
↳ addressstringAttendee email address
↳ typestringAttendee type (required, optional, or resource)
↳ responsestringAttendee response status (none, accepted, declined, tentativelyAccepted, ...)
↳ onlineMeetingobjectOnline-meeting join details, if any
↳ joinUrlstringURL to join the online meeting
↳ webLinkstringURL that opens the event in Outlook on the web

Outlook Delete Calendar Event

Delete an Outlook calendar event by ID

Input

ParameterTypeRequiredDescription
eventIdstringYesThe ID of the calendar event to delete

Output

ParameterTypeDescription
messagestringSuccess or status message
resultsobjectDelete result details
↳ eventIdstringID of the deleted event
↳ statusstringDeletion status

Outlook Respond to Calendar Invite

Accept, tentatively accept, or decline an Outlook calendar event invitation

Input

ParameterTypeRequiredDescription
eventIdstringYesThe ID of the calendar event to respond to
responseTypestringYesThe response: accept, tentativelyAccept, or decline
commentstringNoOptional comment to include with the response
sendResponsebooleanNoWhether to send a response to the organizer (default: true)

Output

ParameterTypeDescription
messagestringSuccess or status message
resultsobjectResponse result details
↳ eventIdstringID of the event responded to
↳ responseTypestringThe response that was sent
↳ statusstringResponse status
↳ httpStatusnumberHTTP status code returned by the API
↳ requestIdstringMicrosoft Graph request-id header for tracing

Triggers

A Trigger is a block that starts a workflow when an event happens in this service.

These run on a schedule (polling-based) — they check for new data rather than receiving push notifications.

Outlook Email Trigger

Triggers when new emails are received in Outlook (requires Microsoft credentials)

Configuration

ParameterTypeRequiredDescription
triggerCredentialsstringYesThis trigger requires outlook credentials to access your account.
folderIdsstringNoChoose which Outlook folders to monitor. Leave empty to monitor all emails.
folderFilterBehaviorstringYesInclude only emails from selected folders, or exclude emails from selected folders
markAsReadbooleanNoAutomatically mark emails as read after processing
includeAttachmentsbooleanNoDownload and include email attachments in the trigger payload

Output

ParameterTypeDescription
emailobjectemail output from the tool
↳ idstringOutlook message ID
↳ conversationIdstringOutlook conversation ID
↳ subjectstringEmail subject line
↳ fromstringSender email address
↳ tostringRecipient email address
↳ ccstringCC recipients
↳ datestringEmail date in ISO format
↳ bodyTextstringPlain text email body
↳ bodyHtmlstringHTML email body
↳ hasAttachmentsbooleanWhether email has attachments
↳ attachmentsfile[]Array of email attachments as files (if includeAttachments is enabled)
↳ isReadbooleanWhether email is read
↳ folderIdstringOutlook folder ID where email is located
↳ messageIdstringMessage ID for threading
↳ threadIdstringThread ID for conversation threading
timestampstringEvent timestamp