Microsoft Outlook
App · Email · 62 actions · 1 trigger
Send and manage email, calendars and contacts in Microsoft Outlook.
Triggers
Start a workflow when something happens in Microsoft Outlook. See how triggers work.
New Outlook email
Triggers when a new email arrives in a folder of an Outlook mailbox - the inbox unless you choose another - optionally only from one sender or domain. Runs once for each email, with its text.
Filters
Narrow which events start a run.
mailboxRequired- The mailbox to watch: a user's email address in the Microsoft 365 tenant the app was consented in.
sender- Only emails from this address, or from a whole domain written as @example.com. Leave blank for every new email.
folder- The folder to watch: a folder ID or a well-known name such as inbox, junkemail or archive. Leave blank for the inbox.
Event fields
What a run starts with. Later steps read each field with an @ reference.
message_idtextmailboxtextfoldertextconversation_idtextfromtextfrom_addresstextfrom_nametexttotextcctextsubjecttextreceived_attextbodytextsnippettexthas_attachmentstrue/falseis_readtrue/falsecategorieslistweb_linktext
Actions
| Action | What it does |
|---|---|
| Add attachment | Attach one or more files to a draft email. |
| Add large attachment | Attach a file between 3 MB and 150 MB to a draft email. |
| Cancel event | Cancel a meeting you organize and send every attendee a cancellation. |
| Check email delivery | Check what happened to emails sent in your organization: delivered, failed, quarantined or caught as spam. |
| Copy email | Copy an email into another folder. |
| Create calendar | Add a new calendar to a mailbox, for example one for a project or a shared resource, which Create event can then put events on. |
| Create category | Add a category to a mailbox so it can be applied to emails, events and contacts. |
| Create contact | Create a contact in a mailbox's Contacts folder. |
| Create draft | Save a draft email without sending it, to send later with Send draft. |
| Create event | Create a calendar event and invite attendees, optionally as a Microsoft Teams meeting. |
| Create inbox rule | Create an inbox rule that acts on incoming email. |
| Create mail folder | Create a mail folder in a mailbox, at the top level or inside another folder. |
| Create search folder | Create a folder that always shows the emails matching a filter. |
| Delete calendar | Delete a calendar and every event on it. |
| Delete category | Remove a category from a mailbox's list of categories. |
| Delete contact | Delete a contact from a mailbox. |
| Delete email | Delete an email. |
| Delete event | Delete a calendar event. |
| Delete Focused Inbox override | Stop always putting a sender's email in Focused or Other for this mailbox. |
| Delete inbox rule | Delete one of a mailbox's inbox rules. |
| Delete mail folder | Delete a mail folder and everything in it. |
| Download attachments | Beta. |
| Find meeting times | Suggest meeting times when the attendees are free. |
| Forward email | Forward an email to one or more new recipients. |
| Forward event | Forward a meeting invite to more people. |
| Get attachment | Get one attachment from an email, including the file itself. |
| Get calendar | Read one calendar: its name, color, owner, and whether it's the default and can be edited. |
| Get contact | Read one contact. |
| Get email | Read one email, including its full body. |
| Get email delivery details | Get each step of one email's delivery to one recipient: where it was received, what was applied to it, and whether it was delivered. |
| Get event | Read one calendar event. |
| Get free/busy schedule | See when people, distribution lists or meeting rooms are free or busy over a time range. |
| Get mail folder | Read one mail folder: its name, the folder it sits in, and how many emails it holds and how many are unread. |
| Get mail tips | Check recipients before emailing them: whether their automatic reply is on, their mailbox is full, or there's a size limit on what they can receive. |
| Get mailbox settings | Read a mailbox's settings: automatic replies, time zone, language, date and time format, and working hours. |
| List attachments | List the attachments on an email, without their contents. |
| List calendars | List the calendars in a mailbox. |
| List categories | List the categories a mailbox can tag emails, events and contacts with. |
| List contact folders | List the contact folders in a mailbox. |
| List contacts | List a mailbox's contacts, optionally in one contact folder or matching a search. |
| List emails | List the emails in a mailbox, newest first. |
| List events | List the events on a calendar. |
| List Focused Inbox overrides | List the senders whose email always goes to Focused or to Other in this mailbox. |
| List inbox rules | List a mailbox's inbox rules. |
| List mail folders | List the mail folders in a mailbox, or the folders inside one folder. |
| List room lists | List your organization's room lists, the groups of meeting rooms by building or floor. |
| List rooms | List the meeting rooms people can book, across your organization or in one room list. |
| List users | List the mailboxes in your organization. |
| Move email | Move an email to another folder. |
| Rename mail folder | Give a mail folder a new name. |
| Reply all to email | Reply to the sender and every other recipient of an email. |
| Reply to email | Reply to the sender of an email. |
| Respond to meeting invite | Accept, tentatively accept or decline a meeting invite on the invitee's behalf. |
| Send draft | Send a draft email created earlier. |
| Send email | Send an email from a mailbox in your organization. |
| Set automatic replies | Turn out-of-office automatic replies on or off, or schedule them for a date range. |
| Set Focused Inbox override | Always put a sender's email in Focused or in Other for this mailbox. |
| Update calendar | Rename or recolor a calendar, or make it the one new events go to. |
| Update contact | Change a contact. |
| Update draft | Change a draft before it's sent: its subject, body, recipients or importance. |
| Update email | Change an email: mark it read or unread, or change its subject, importance, categories or follow-up flag. |
| Update event | Change a calendar event. |
Add attachment
Attach one or more files to a draft email.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Email
message_idtextRequired - The ID of the email, usually from an earlier step such as List emails or the new email trigger.
- Attachments
attachmentslistRequired - Files to attach. Upload a file or reference a document (or list of documents) from an earlier step. Each file must be under 3 MB; use Add large attachment for a larger one.
Outputs
attachmentslist- The attachments that were created.
countnumber- Number attached.
message_idtext- Draft message ID.
Example output
{
"attachments": [
{
"id": "AAMkAGI2TG93AAA=",
"name": "q3-notes.pdf",
"size": 84213
}
],
"count": 1,
"message_id": "AAMkAGI2NGVhZTIyLTAzYzUt"
}Add large attachment
Attach a file between 3 MB and 150 MB to a draft email. Use Add attachment for anything smaller. Outlook's usual limit for a whole email is 35 MB unless your Microsoft admin has raised it.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Email
message_idtextRequired - The ID of the email, usually from an earlier step such as List emails or the new email trigger.
- Attachment
attachmentlistRequired - The file to attach. Upload a file or reference a document from an earlier step.
Outputs
attachment_idtext- ID of the created attachment.
message_idtext- Draft ID.
nametext- File name.
sizenumber- Size in bytes.
Example output
{
"attachment_id": "AAMkAGI2TG93AAB=",
"message_id": "AAMkAGI2NGVhZTIyLTAzYzUt",
"name": "quarterly-deck.pdf",
"size": 18874368
}Cancel event
Cancel a meeting you organize and send every attendee a cancellation. It also leaves your own calendar, so there's no need to delete it afterwards.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Event
event_idtextRequired - The ID of the calendar event.
- Message
commenttext - Optional message to include.
Outputs
statustext- Operation status.
Example output
{
"event_id": "AAMkAGViNDU3ZDI4LTZmNzMt",
"status": "cancelled"
}Check email delivery
Check what happened to emails sent in your organization: delivered, failed, quarantined or caught as spam. Your Microsoft admin needs to give the app the ExchangeMessageTrace.Read.All application permission, grant admin consent, and run this once in Microsoft Graph PowerShell: Connect-MgGraph -Scopes 'Application.ReadWrite.All', then New-MgServicePrincipal -AppId 8bd644d1-64a1-4d4b-ae52-2e0cbf64e373. Available only in Microsoft's global service. A just-sent email can take a few minutes to show up, and for a few hours after that setup, checks can fail while it takes effect.
Inputs
- Sender address
sender_addresstext - Only emails from this address.
- Recipient address
recipient_addresstext - Only emails to this address.
- Subject contains
subject_containstext - Only emails whose subject contains this text.
- Status
statustext - Only emails with this delivery status.One of:
delivered,pending,failed,quarantined,filteredAsSpam(Filtered as spam),expanded,gettingStatus(Getting status). - Start date time
start_date_timedate and time - Start of the window. Must be paired with an end, span at most 10 days, and start no more than 90 days ago.
- End date time
end_date_timedate and time - End of the window. Must be paired with a start.
- Limit
limitnumber - Maximum number of results to return (1-500).From 1 to 500. Default:
25.
Outputs
countnumber- Number returned.
traceslist- The matching message traces.
Example output
{
"count": 1,
"traces": [
{
"id": "4451a062-48cb-e80d-e8c0-196330437ae6",
"receivedDateTime": "2026-09-17T10:30:00Z",
"recipientAddress": "danas@contoso.com",
"senderAddress": "alexw@contoso.com",
"status": "delivered",
"subject": "Quarterly Report"
}
]
}Copy email
Copy an email into another folder. The copy gets its own ID, which this step returns; the original keeps its ID.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Email
message_idtextRequired - The ID of the email, usually from an earlier step such as List emails or the new email trigger.
- Destination folder
destination_folder_idtextRequired - Destination folder. Accepts a folder ID or a well-known name: inbox, drafts, sentitems, deleteditems, junkemail or archive.
Outputs
bodyPreviewtext- First 255 characters.
categorieslist- The names of the categories it is tagged with.
ccRecipientslist- Who was copied, in the same form as toRecipients.
conversationIdtext- The conversation it belongs to, shared by every reply in it.
flagobject- Its follow-up flag: flagStatus is notFlagged, flagged or complete.
fromobject- The sender: emailAddress.name and emailAddress.address.
hasAttachmentstrue/false- Attachment present.
idtext- Message ID.
importancetext- low, normal or high.
isDrafttrue/false- Whether it is an unsent draft.
isReadtrue/false- Whether it has been read.
parentFolderIdtext- The folder it is in.
receivedDateTimetext- When it arrived, as an ISO 8601 time in UTC.
sentDateTimetext- When it was sent, as an ISO 8601 time in UTC.
subjecttext- Message subject.
toRecipientslist- Who it was sent to, each with emailAddress.name and emailAddress.address.
webLinktext- Open in Outlook on the web.
Example output
{
"bodyPreview": "Here are the notes from this morning's planning session...",
"categories": [
"Blue category"
],
"ccRecipients": [],
"conversationId": "AAQkAGI2NGVhZTIyLTAzYzUtNGM3",
"flag": {
"flagStatus": "notFlagged"
},
"from": {
"emailAddress": {
"address": "alexw@contoso.com",
"name": "Alex Wilbur"
}
},
"hasAttachments": true,
"id": "AAMkAGI2NGVhZTIyLTAzYzUt",
"importance": "normal",
"isDraft": false,
"isRead": false,
"parentFolderId": "AQMkAGI2NGVhZTIyAC4AAAA",
"receivedDateTime": "2026-09-18T14:02:11Z",
"sentDateTime": "2026-09-18T14:02:05Z",
"subject": "Q3 planning notes",
"toRecipients": [
{
"emailAddress": {
"address": "meganb@contoso.com",
"name": "Megan Bowen"
}
}
],
"webLink": "https://outlook.office365.com/owa/?ItemID=AAMkAGI2NGVhZTIy"
}Create calendar
Add a new calendar to a mailbox, for example one for a project or a shared resource, which Create event can then put events on.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Name
nametextRequired - Name for the new calendar.
- Color
colortext - The color Outlook shows the calendar in.One of:
auto(Automatic),lightBlue(Light blue),lightGreen(Light green),lightOrange(Light orange),lightGray(Light gray),lightYellow(Light yellow),lightTeal(Light teal),lightPink(Light pink),lightBrown(Light brown),lightRed(Light red).
Outputs
canEdittrue/false- Whether the mailbox can add and change events on it.
colortext- The color Outlook shows it in, such as lightBlue or auto.
idtext- Calendar ID.
isDefaultCalendartrue/false- Whether new events land here.
nametext- Calendar name.
ownerobject- Who owns the calendar: name and address.
Example output
{
"canEdit": true,
"color": "lightBlue",
"id": "AAMkAGViNDU3AAAuAAB=",
"isDefaultCalendar": false,
"name": "Projects",
"owner": {
"address": "alexw@contoso.com",
"name": "Alex Wilber"
}
}Create category
Add a category to a mailbox so it can be applied to emails, events and contacts.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Display name
display_nametextRequired - Category name. Must be unique in the mailbox and cannot be changed afterwards.
- Color
colortext - One of Outlook's 25 preset colors ('preset0' is red, 'preset4' green, 'preset7' blue), or 'none'.
Outputs
colortext- Preset color.
displayNametext- Category name.
idtext- Category ID.
Example output
{
"color": "preset0",
"displayName": "Needs follow-up",
"id": "5a9a6aa8-b65f-4357-b1f9-60c6bf6330d8"
}Create contact
Create a contact in a mailbox's Contacts folder.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Given name
given_nametext - First name.
- Surname
surnametext - Last name.
- Display name
display_nametext - Name the contact is shown under. Outlook may regenerate this from other fields on later updates.
- Email addresses
email_addresseslist - Email addresses for the contact.
- Business phones
business_phoneslist - Business phone numbers.
- Mobile phone
mobile_phonetext - Mobile phone number.
- Job title
job_titletext - Job title.
- Company name
company_nametext - Company name.
- Department
departmenttext - Department.
- Office location
office_locationtext - Office location.
- Personal notes
personal_notestext - Free-text notes about the contact.
- Categories
categorieslist - Categories to assign. Each must already exist in the mailbox's category list.
- Folder
folder_idtext - Contact folder to create in. Leave blank for the default Contacts folder.
Outputs
businessPhoneslist- Business phone numbers.
companyNametext- Company name.
displayNametext- Contact display name.
emailAddresseslist- Email addresses.
idtext- Contact ID.
jobTitletext- Job title.
Example output
{
"businessPhones": [
"+1 425 555 0109"
],
"companyName": "Contoso",
"displayName": "Dana Swope",
"emailAddresses": [
{
"address": "danas@contoso.com",
"name": "Dana Swope"
}
],
"id": "AAMkAGE1Mjc1YmUwLTIzZjQt",
"jobTitle": "Operations Lead"
}Create draft
Save a draft email without sending it, to send later with Send draft. Set 'Reply to email' to draft a reply in that email's conversation, with the original quoted below.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Subject
subjecttext - Subject of the draft. Required unless 'Reply to email' is set, when leaving it blank reuses that email's subject.
- Body
bodytext - Plain text body content of the draft.
- HTML body
html_bodytext - Formatted (HTML) version of the body. If provided, it is used instead of the plain text body.
- To
totext - Comma-separated list of recipient email addresses. A reply left blank goes to the original's sender.
- CC
cctext - Comma-separated list of Cc recipients.
- BCC
bcctext - Comma-separated list of Bcc recipients.
- Importance
importancetext - Importance of the item.One of:
low,normal,high. - Attachments
attachmentslist - Files to attach. Upload a file or reference a document (or list of documents) from an earlier step. Each file must be under 3 MB; for a larger one, create a draft and use Add large attachment.
- Reply to email
reply_to_message_idtext - The ID of an email to draft a reply to. The draft is saved in that email's conversation and threads with it when sent. Leave blank for a new email.
Outputs
bodyPreviewtext- First 255 characters.
categorieslist- The names of the categories it is tagged with.
ccRecipientslist- Who was copied, in the same form as toRecipients.
conversationIdtext- The conversation it belongs to, shared by every reply in it.
flagobject- Its follow-up flag: flagStatus is notFlagged, flagged or complete.
fromobject- The sender: emailAddress.name and emailAddress.address.
hasAttachmentstrue/false- Attachment present.
idtext- Message ID.
importancetext- low, normal or high.
isDrafttrue/false- Whether it is an unsent draft.
isReadtrue/false- Whether it has been read.
parentFolderIdtext- The folder it is in.
receivedDateTimetext- When it arrived, as an ISO 8601 time in UTC.
sentDateTimetext- When it was sent, as an ISO 8601 time in UTC.
subjecttext- Message subject.
toRecipientslist- Who it was sent to, each with emailAddress.name and emailAddress.address.
webLinktext- Open in Outlook on the web.
Example output
{
"bodyPreview": "Here are the notes from this morning's planning session...",
"categories": [
"Blue category"
],
"ccRecipients": [],
"conversationId": "AAQkAGI2NGVhZTIyLTAzYzUtNGM3",
"flag": {
"flagStatus": "notFlagged"
},
"from": {
"emailAddress": {
"address": "alexw@contoso.com",
"name": "Alex Wilbur"
}
},
"hasAttachments": true,
"id": "AAMkAGI2NGVhZTIyLTAzYzUt",
"importance": "normal",
"isDraft": true,
"isRead": false,
"parentFolderId": "AQMkAGI2NGVhZTIyAC4AAAA",
"receivedDateTime": "2026-09-18T14:02:11Z",
"sentDateTime": "2026-09-18T14:02:05Z",
"subject": "Q3 planning notes",
"toRecipients": [
{
"emailAddress": {
"address": "meganb@contoso.com",
"name": "Megan Bowen"
}
}
],
"webLink": "https://outlook.office365.com/owa/?ItemID=AAMkAGI2NGVhZTIy"
}Create event
Create a calendar event and invite attendees, optionally as a Microsoft Teams meeting.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Subject
subjecttextRequired - Title of the event.
- Start date time
start_date_timedate and timeRequired - When the event starts.
- End date time
end_date_timedate and timeRequired - When the event ends.
- Time zone
time_zonetext - Time zone for the supplied times, in Windows or IANA format, for example 'Pacific Standard Time' or 'America/Los_Angeles'. Defaults to UTC.
- Calendar
calendar_idtext - Calendar to create in. Leave blank for the default.
- Body
bodytext - Plain text description of the event.
- HTML body
html_bodytext - Formatted (HTML) version of the body. If provided, it is used instead of the plain text body.
- Location
locationtext - Where the event takes place.
- Attendees
attendeestext - Comma-separated addresses of required attendees.
- Optional attendees
optional_attendeestext - Comma-separated addresses of optional attendees.
- Is all day
is_all_daytrue/false - All-day event. Start and end must be midnight in the same time zone.Default:
false. - Is online meeting
is_online_meetingtrue/false - Create a Microsoft Teams meeting and include the join link. Cannot be turned off again afterwards.Default:
false. - Reminder minutes before start
reminder_minutes_before_startnumber - Minutes before the start to show a reminder.At least 0.
- Show as
show_astext - How the time appears to others.One of:
free,tentative,busy,oof(Out of office),workingElsewhere(Working elsewhere). - Importance
importancetext - Importance of the item.One of:
low,normal,high. - Sensitivity
sensitivitytext - Privacy level of the event.One of:
normal,personal,private,confidential. - Categories
categorieslist - Categories to assign. Each must already exist in the mailbox's category list.
Outputs
attendeeslist- Attendee list.
endobject- End dateTimeTimeZone.
idtext- Event ID.
locationobject- Event location.
onlineMeetingobject- Join information.
startobject- Start dateTimeTimeZone.
subjecttext- Event subject.
webLinktext- Open in Outlook on the web.
Example output
{
"attendees": [
{
"emailAddress": {
"address": "alexw@contoso.com",
"name": "Alex Wilbur"
},
"type": "required"
}
],
"end": {
"dateTime": "2026-09-22T16:00:00.0000000",
"timeZone": "UTC"
},
"id": "AAMkAGViNDU3ZDI4LTZmNzMt",
"location": {
"displayName": "Conference room 3"
},
"onlineMeeting": {
"joinUrl": "https://teams.microsoft.com/l/meetup-join/19%3a..."
},
"start": {
"dateTime": "2026-09-22T15:00:00.0000000",
"timeZone": "UTC"
},
"subject": "Q3 planning",
"webLink": "https://outlook.office365.com/calendar/item/AAMkAGViNDU3ZDI4"
}Create inbox rule
Create an inbox rule that acts on incoming email. Give it at least one action; a rule with several conditions acts only on email that meets all of them.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Display name
display_nametextRequired - Name for the rule.
- Sequence
sequencenumber - Order this rule runs in, relative to other rules.At least 1. Default:
1. - Is enabled
is_enabledtrue/false - Whether the rule is active once created.Default:
true. - Sender contains
sender_containslist - Match when the sender contains any of these strings.
- Subject contains
subject_containslist - Match when the subject contains any of these strings.
- Body contains
body_containslist - Match when the body contains any of these strings.
- Move to folder
move_to_folder_idtext - Move matching emails to this folder.
- Forward to
forward_totext - Comma-separated addresses to forward matches to.
- Mark as read
mark_as_readtrue/false - Mark matching emails as read.Default:
false. - Mark importance
mark_importancetext - Set the importance of matching emails.One of:
low,normal,high. - Delete email
delete_messagetrue/false - Move matching emails to Deleted Items.Default:
false. - Stop processing rules
stop_processing_rulestrue/false - Stop evaluating later rules once this one matches.Default:
false.
Outputs
actionsobject- Rule actions.
conditionsobject- Rule conditions.
displayNametext- Rule name.
idtext- Rule ID.
isEnabledtrue/false- Active state.
Example output
{
"actions": {
"moveToFolder": "AAMkAGI2AAAAAEMkAAB="
},
"conditions": {
"subjectContains": [
"invoice"
]
},
"displayName": "Invoices to Finance",
"id": "AQAAAJ5dZqA=",
"isEnabled": true
}Create mail folder
Create a mail folder in a mailbox, at the top level or inside another folder. The name must be different from the folders beside it.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Display name
display_nametextRequired - Name for the new folder.
- Parent folder
parent_folder_idtext - Create the folder inside this one. Leave blank to create it at the top level.
Outputs
displayNametext- Folder name.
idtext- Folder ID.
parentFolderIdtext- Parent folder ID.
Example output
{
"displayName": "Invoices",
"id": "AAMkAGI2AAAAAEMkAAB=",
"parentFolderId": "AAMkAGI2AAAAAEMkAAA="
}Create search folder
Create a folder that always shows the emails matching a filter. Outlook deletes a search folder no one has used for 45 days, so treat it as something you can recreate rather than as storage.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Display name
display_nametextRequired - Name for the search folder.
- Filter query
filter_querytextRequired - OData $filter that selects the emails, for example "contains(subject, 'invoice')".
- Source folder IDS
source_folder_idslist - Folders to search. Defaults to the inbox. Accepts well-known names.
- Include nested folders
include_nested_folderstrue/false - Search child folders of each source folder too.Default:
true. - Parent folder ID
parent_folder_idtext - Where the folder is created. Defaults to 'searchfolders', which is where Outlook for Windows shows them.
Outputs
displayNametext- Folder name.
filterQuerytext- The filter the folder applies.
idtext- Folder ID.
sourceFolderIdslist- Folders being searched.
Example output
{
"displayName": "Unread invoices",
"filterQuery": "contains(subject, 'invoice')",
"id": "AAMkAGI2AAAAAEMkAAC=",
"sourceFolderIds": [
"inbox"
]
}Delete calendar
Delete a calendar and every event on it. The mailbox's default calendar can't be deleted.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Calendar
calendar_idtextRequired - The calendar, usually picked from the list or from List calendars.
Outputs
calendar_idtext- The calendar that was deleted.
statustext- 'deleted' once the calendar is gone.
Example output
{
"calendar_id": "AAMkAGViNDU3AAAuAAB=",
"status": "deleted"
}Delete category
Remove a category from a mailbox's list of categories.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Category ID
category_idtextRequired - The ID of the category, from List categories.
Outputs
statustext- Operation status.
Example output
{
"category_id": "5a9a6aa8-b65f-4357-b1f9-60c6bf6330d8",
"status": "deleted"
}Delete contact
Delete a contact from a mailbox.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Contact
contact_idtextRequired - The ID of the contact.
Outputs
statustext- Operation status.
Example output
{
"contact_id": "AAMkAGE1Mjc1YmUwLTIzZjQt",
"status": "deleted"
}Delete email
Delete an email. It goes to Deleted Items, as when you delete it in Outlook, so its owner can get it back.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Email
message_idtextRequired - The ID of the email, usually from an earlier step such as List emails or the new email trigger.
Outputs
statustext- Operation status.
Example output
{
"message_id": "AAMkAGI2NGVhZTIyLTAzYzUt",
"status": "deleted"
}Delete event
Delete a calendar event. For a meeting you organize, use Cancel event instead so attendees are told. A canceled meeting stays on each attendee's calendar, marked canceled, until it's deleted: use this on the attendee's mailbox, with the event ID from their calendar, to clear it.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Event
event_idtextRequired - The ID of the calendar event.
Outputs
statustext- Operation status.
Example output
{
"event_id": "AAMkAGViNDU3ZDI4LTZmNzMt",
"status": "deleted"
}Delete Focused Inbox override
Stop always putting a sender's email in Focused or Other for this mailbox.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Override ID
override_idtextRequired - The ID of the override, from List Focused Inbox overrides.
Outputs
statustext- Operation status.
Example output
{
"override_id": "98f5bdef-576a-404d-a2ea-07a3cf11a9b9",
"status": "deleted"
}Delete inbox rule
Delete one of a mailbox's inbox rules.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Rule ID
rule_idtextRequired - The ID of the rule, from List inbox rules.
Outputs
statustext- Operation status.
Example output
{
"rule_id": "AQAAAJ5dZqA=",
"status": "deleted"
}Delete mail folder
Delete a mail folder and everything in it.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Folder
folder_idtextRequired - The folder to delete.
Outputs
statustext- Operation status.
Example output
{
"folder_id": "AAMkAGI2AAAAAEMkAAB=",
"status": "deleted"
}Download attachments
Beta. Save every file attached to an email as a file later steps can read or attach, such as an invoice for an AI step to read, in one step instead of listing, getting and converting each attachment. Images shown in the body, such as a signature logo, are left out. An email with no attachments gives an empty list, so check it is not empty before reading the files.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Email
message_idtextRequired - The email whose attachments to save, such as the message_id of the email that started the run.
Outputs
document_refslist- Just the saved files, to hand all of them to a later step at once.
documentslist- The saved files, in the order they are attached.
Example output
{
"document_refs": [
"doc_0123456789abcdef0123456789abcdea"
],
"documents": [
{
"content_type": "application/pdf",
"document_ref": "doc_0123456789abcdef0123456789abcdea",
"filename": "invoice-4021.pdf",
"size_bytes": 84213
}
]
}Find meeting times
Suggest meeting times when the attendees are free.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Attendees
attendeeslistRequired - Addresses of the people who need to attend.
- Meeting duration minutes
meeting_duration_minutesnumber - How long the meeting needs to be, in minutes.At least 1. Default:
30. - Start date time
start_date_timedate and time - Earliest time to consider. Pair with an end time.
- End date time
end_date_timedate and time - Latest time to consider. Pair with a start time.
- Time zone
time_zonetext - Time zone for the supplied times, in Windows or IANA format, for example 'Pacific Standard Time' or 'America/Los_Angeles'. Defaults to UTC.
- Max candidates
max_candidatesnumber - Maximum number of suggestions to return.From 1 to 100. Default:
10. - Minimum attendee percentage
minimum_attendee_percentagenumber - Minimum percentage of attendees that must be free for a time to be suggested.From 0 to 100.
Outputs
emptySuggestionsReasontext- Why no times were suggested, when empty.
meetingTimeSuggestionslist- Suggested slots, most confident first.
Example output
{
"meetingTimeSuggestions": [
{
"confidence": 100.0,
"meetingTimeSlot": {
"end": {
"dateTime": "2026-09-23T15:30:00.0000000",
"timeZone": "UTC"
},
"start": {
"dateTime": "2026-09-23T15:00:00.0000000",
"timeZone": "UTC"
}
},
"organizerAvailability": "free"
}
]
}Forward email
Forward an email to one or more new recipients.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Email
message_idtextRequired - The ID of the email, usually from an earlier step such as List emails or the new email trigger.
- To
totextRequired - Comma-separated list of recipient email addresses.
- Message
commenttext - Optional message to include.
Outputs
statustext- Operation status.
Example output
{
"message_id": "AAMkAGI2NGVhZTIyLTAzYzUt",
"status": "sent"
}Forward event
Forward a meeting invite to more people.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Event
event_idtextRequired - The ID of the calendar event.
- To
totextRequired - Comma-separated list of recipient email addresses.
- Message
commenttext - Optional message to include.
Outputs
statustext- Operation status.
Example output
{
"event_id": "AAMkAGViNDU3ZDI4LTZmNzMt",
"status": "forwarded"
}Get attachment
Get one attachment from an email, including the file itself. For an attached email or a link to a file, only its details come back.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Email
message_idtextRequired - The ID of the email, usually from an earlier step such as List emails or the new email trigger.
- Attachment ID
attachment_idtextRequired - The ID of the attachment, from List attachments.
Outputs
attachment_typetext- fileAttachment, itemAttachment or referenceAttachment.
content_bytestext- Base64 content, for file attachments only.
content_typetext- MIME type.
idtext- Attachment ID.
is_inlinetrue/false- Inline flag.
nametext- File name.
sizenumber- Size in bytes.
Example output
{
"attachment_type": "fileAttachment",
"content_bytes": "JVBERi0xLjQKJeLjz9MK",
"content_type": "application/pdf",
"id": "AAMkAGI2TG93AAA=",
"is_inline": false,
"name": "q3-notes.pdf",
"size": 84213
}Get calendar
Read one calendar: its name, color, owner, and whether it's the default and can be edited.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Calendar
calendar_idtextRequired - The calendar, usually picked from the list or from List calendars.
Outputs
canEdittrue/false- Whether the mailbox can add and change events on it.
colortext- The color Outlook shows it in, such as lightBlue or auto.
idtext- Calendar ID.
isDefaultCalendartrue/false- Whether new events land here.
nametext- Calendar name.
ownerobject- Who owns the calendar: name and address.
Example output
{
"canEdit": true,
"color": "lightBlue",
"id": "AAMkAGViNDU3AAAuAAB=",
"isDefaultCalendar": true,
"name": "Projects",
"owner": {
"address": "alexw@contoso.com",
"name": "Alex Wilber"
}
}Get contact
Read one contact.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Contact
contact_idtextRequired - The ID of the contact.
Outputs
businessPhoneslist- Business phone numbers.
companyNametext- Company name.
displayNametext- Contact display name.
emailAddresseslist- Email addresses.
idtext- Contact ID.
jobTitletext- Job title.
Example output
{
"businessPhones": [
"+1 425 555 0109"
],
"companyName": "Contoso",
"displayName": "Dana Swope",
"emailAddresses": [
{
"address": "danas@contoso.com",
"name": "Dana Swope"
}
],
"id": "AAMkAGE1Mjc1YmUwLTIzZjQt",
"jobTitle": "Operations Lead"
}Get email
Read one email, including its full body.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Email
message_idtextRequired - The ID of the email, usually from an earlier step such as List emails or the new email trigger.
- Body format
body_formattext - Convert the body to this format. Leave blank to keep the stored format.One of:
text(Plain text),html.
Outputs
bodyPreviewtext- First 255 characters.
categorieslist- The names of the categories it is tagged with.
ccRecipientslist- Who was copied, in the same form as toRecipients.
conversationIdtext- The conversation it belongs to, shared by every reply in it.
flagobject- Its follow-up flag: flagStatus is notFlagged, flagged or complete.
fromobject- The sender: emailAddress.name and emailAddress.address.
hasAttachmentstrue/false- Attachment present.
idtext- Message ID.
importancetext- low, normal or high.
isDrafttrue/false- Whether it is an unsent draft.
isReadtrue/false- Whether it has been read.
parentFolderIdtext- The folder it is in.
receivedDateTimetext- When it arrived, as an ISO 8601 time in UTC.
sentDateTimetext- When it was sent, as an ISO 8601 time in UTC.
subjecttext- Message subject.
toRecipientslist- Who it was sent to, each with emailAddress.name and emailAddress.address.
webLinktext- Open in Outlook on the web.
Example output
{
"bodyPreview": "Here are the notes from this morning's planning session...",
"categories": [
"Blue category"
],
"ccRecipients": [],
"conversationId": "AAQkAGI2NGVhZTIyLTAzYzUtNGM3",
"flag": {
"flagStatus": "notFlagged"
},
"from": {
"emailAddress": {
"address": "alexw@contoso.com",
"name": "Alex Wilbur"
}
},
"hasAttachments": true,
"id": "AAMkAGI2NGVhZTIyLTAzYzUt",
"importance": "normal",
"isDraft": false,
"isRead": false,
"parentFolderId": "AQMkAGI2NGVhZTIyAC4AAAA",
"receivedDateTime": "2026-09-18T14:02:11Z",
"sentDateTime": "2026-09-18T14:02:05Z",
"subject": "Q3 planning notes",
"toRecipients": [
{
"emailAddress": {
"address": "meganb@contoso.com",
"name": "Megan Bowen"
}
}
],
"webLink": "https://outlook.office365.com/owa/?ItemID=AAMkAGI2NGVhZTIy"
}Get email delivery details
Get each step of one email's delivery to one recipient: where it was received, what was applied to it, and whether it was delivered. Needs the same permission and setup as Check email delivery.
Inputs
- Delivery report ID
message_trace_idtextRequired - The delivery report's ID, from Check email delivery.
- Recipient address
recipient_addresstextRequired - The recipient whose delivery path to show, from the report's recipient address in Check email delivery.
Outputs
countnumber- Number returned.
eventslist- Delivery events in order.
Example output
{
"count": 2,
"events": [
{
"action": "",
"dateTime": "2026-09-17T10:30:05Z",
"description": "Message received by: MN2PR00MB0670.namprd00.prod.outlook.com",
"event": "Receive"
},
{
"action": "",
"dateTime": "2026-09-17T10:30:10Z",
"description": "The message was successfully delivered.",
"event": "Deliver"
}
]
}Get event
Read one calendar event.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Event
event_idtextRequired - The ID of the calendar event.
- Time zone
time_zonetext - Time zone for the supplied times, in Windows or IANA format, for example 'Pacific Standard Time' or 'America/Los_Angeles'. Defaults to UTC.
Outputs
attendeeslist- Attendee list.
endobject- End dateTimeTimeZone.
idtext- Event ID.
locationobject- Event location.
onlineMeetingobject- Join information.
startobject- Start dateTimeTimeZone.
subjecttext- Event subject.
webLinktext- Open in Outlook on the web.
Example output
{
"attendees": [
{
"emailAddress": {
"address": "alexw@contoso.com",
"name": "Alex Wilbur"
},
"type": "required"
}
],
"end": {
"dateTime": "2026-09-22T16:00:00.0000000",
"timeZone": "UTC"
},
"id": "AAMkAGViNDU3ZDI4LTZmNzMt",
"location": {
"displayName": "Conference room 3"
},
"onlineMeeting": {
"joinUrl": "https://teams.microsoft.com/l/meetup-join/19%3a..."
},
"start": {
"dateTime": "2026-09-22T15:00:00.0000000",
"timeZone": "UTC"
},
"subject": "Q3 planning",
"webLink": "https://outlook.office365.com/calendar/item/AAMkAGViNDU3ZDI4"
}Get free/busy schedule
See when people, distribution lists or meeting rooms are free or busy over a time range.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Schedules
scheduleslistRequired - Addresses to check availability for.
- Start date time
start_date_timedate and timeRequired - Start of the window to check.
- End date time
end_date_timedate and timeRequired - End of the window to check.
- Time zone
time_zonetext - Time zone for the supplied times, in Windows or IANA format, for example 'Pacific Standard Time' or 'America/Los_Angeles'. Defaults to UTC.
- Availability view interval
availability_view_intervalnumber - Size of each availability slot, in minutes.From 5 to 1440. Default:
30.
Outputs
countnumber- Number returned.
scheduleslist- Availability per requested address.
Example output
{
"count": 1,
"schedules": [
{
"availabilityView": "000022000000",
"scheduleId": "alexw@contoso.com",
"scheduleItems": [
{
"end": {
"dateTime": "2026-09-22T16:00:00.0000000",
"timeZone": "UTC"
},
"start": {
"dateTime": "2026-09-22T15:00:00.0000000",
"timeZone": "UTC"
},
"status": "busy",
"subject": "Q3 planning"
}
]
}
]
}Get mail folder
Read one mail folder: its name, the folder it sits in, and how many emails it holds and how many are unread.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Folder
folder_idtextRequired - The folder to read. Accepts a folder ID or a well-known name: inbox, drafts, sentitems, deleteditems, junkemail or archive.
Outputs
childFolderCountnumber- Folders directly inside it.
displayNametext- Folder name.
idtext- Folder ID.
parentFolderIdtext- The folder it sits in.
totalItemCountnumber- Items in the folder.
unreadItemCountnumber- Unread items.
Example output
{
"childFolderCount": 0,
"displayName": "Invoices",
"id": "AAMkAGI2AAAAAEMkAAB=",
"parentFolderId": "AAMkAGI2AAAAAEMkAAA=",
"totalItemCount": 12,
"unreadItemCount": 2
}Get mail tips
Check recipients before emailing them: whether their automatic reply is on, their mailbox is full, or there's a size limit on what they can receive.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Email addresses
email_addresseslistRequired - Recipient addresses to check.
- Mail tips options
mail_tips_optionslist - Which tips to request. Defaults to automatic replies and mailbox full status.One or more of:
automaticReplies(Automatic replies),mailboxFullStatus(Mailbox full),maxMessageSize(Max message size),deliveryRestriction(Delivery restriction),recipientScope(Recipient scope),moderationStatus(Moderation status),totalMemberCount(Total members),externalMemberCount(External members),customMailTip(Custom mail tip).
Outputs
countnumber- Number returned.
mail_tipslist- One entry per requested address.
Example output
{
"count": 1,
"mail_tips": [
{
"automaticReplies": {
"message": "I am on vacation right now."
},
"emailAddress": {
"address": "danas@contoso.com",
"name": ""
},
"mailboxFull": false
}
]
}Get mailbox settings
Read a mailbox's settings: automatic replies, time zone, language, date and time format, and working hours.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Outputs
automaticRepliesSettingobject- Out-of-office configuration.
languageobject- Locale information.
timeZonetext- Mailbox time zone.
workingHoursobject- Working days and hours.
Example output
{
"automaticRepliesSetting": {
"externalAudience": "none",
"status": "disabled"
},
"language": {
"displayName": "English (United States)",
"locale": "en-US"
},
"timeZone": "Pacific Standard Time",
"workingHours": {
"daysOfWeek": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday"
],
"endTime": "17:00:00.0000000",
"startTime": "09:00:00.0000000"
}
}List attachments
List the attachments on an email, without their contents.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Email
message_idtextRequired - The ID of the email, usually from an earlier step such as List emails or the new email trigger.
Outputs
attachmentslist- Attachment metadata.
countnumber- Number returned.
Example output
{
"attachments": [
{
"contentType": "application/pdf",
"id": "AAMkAGI2TG93AAA=",
"isInline": false,
"name": "q3-notes.pdf",
"size": 84213
}
],
"count": 1
}List calendars
List the calendars in a mailbox.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Limit
limitnumber - Maximum number of results to return (1-500).From 1 to 500. Default:
25.
Outputs
calendarslist- The mailbox's calendars.
countnumber- Number returned.
Example output
{
"calendars": [
{
"canEdit": true,
"id": "AAMkAGViNDU3AAAuAAA=",
"isDefaultCalendar": true,
"name": "Calendar"
}
],
"count": 1
}List categories
List the categories a mailbox can tag emails, events and contacts with.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Outputs
categorieslist- The mailbox's categories.
countnumber- Number returned.
Example output
{
"categories": [
{
"color": "preset0",
"displayName": "Needs follow-up",
"id": "5a9a6aa8-b65f-4357-b1f9-60c6bf6330d8"
}
],
"count": 1
}List contact folders
List the contact folders in a mailbox.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Limit
limitnumber - Maximum number of results to return (1-500).From 1 to 500. Default:
25.
Outputs
countnumber- Number returned.
folderslist- The contact folders.
Example output
{
"count": 1,
"folders": [
{
"displayName": "Suppliers",
"id": "AAMkAGE1Mjc1AAAuAAA="
}
]
}List contacts
List a mailbox's contacts, optionally in one contact folder or matching a search.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Folder
folder_idtext - Contact folder to read. Leave blank for the default Contacts folder.
- Search
searchtext - Words to search for across the contact. Can't be combined with a filter.
- Filter query
filter_querytext - OData $filter expression, for example "companyName eq 'Contoso'". With a filter, the limit applies before the results are sorted by name, so you get the first matches Outlook returns, sorted, rather than the alphabetically first matches.
- Limit
limitnumber - Maximum number of results to return (1-500).From 1 to 500. Default:
25.
Outputs
contactslist- The matching contacts.
countnumber- Number returned.
Example output
{
"contacts": [
{
"businessPhones": [
"+1 425 555 0109"
],
"companyName": "Contoso",
"displayName": "Dana Swope",
"emailAddresses": [
{
"address": "danas@contoso.com",
"name": "Dana Swope"
}
],
"id": "AAMkAGE1Mjc1YmUwLTIzZjQt",
"jobTitle": "Operations Lead"
}
],
"count": 1
}List emails
List the emails in a mailbox, newest first. You can narrow it to one folder, to unread emails, or to a search.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Folder
folder_idtext - Folder to read from. Accepts a folder ID or a well-known name: inbox, drafts, sentitems, deleteditems, junkemail or archive. Leave blank to search the whole mailbox.
- Search
searchtext - Words to search for across the email, such as from:alex or a subject. Can't be combined with a filter or with 'Unread only'.
- Filter query
filter_querytext - OData $filter expression, for example "importance eq 'high'". Results are still sorted newest first, so the filter needs no $orderby.
- Unread only
unread_onlytrue/false - Return only unread emails.Default:
false. - Limit
limitnumber - Maximum number of results to return (1-500).From 1 to 500. Default:
25.
Outputs
countnumber- Number of messages returned.
messageslist- The matching messages.
Example output
{
"count": 1,
"messages": [
{
"bodyPreview": "Here are the notes from this morning's planning session...",
"categories": [
"Blue category"
],
"ccRecipients": [],
"conversationId": "AAQkAGI2NGVhZTIyLTAzYzUtNGM3",
"flag": {
"flagStatus": "notFlagged"
},
"from": {
"emailAddress": {
"address": "alexw@contoso.com",
"name": "Alex Wilbur"
}
},
"hasAttachments": true,
"id": "AAMkAGI2NGVhZTIyLTAzYzUt",
"importance": "normal",
"isDraft": false,
"isRead": false,
"parentFolderId": "AQMkAGI2NGVhZTIyAC4AAAA",
"receivedDateTime": "2026-09-18T14:02:11Z",
"sentDateTime": "2026-09-18T14:02:05Z",
"subject": "Q3 planning notes",
"toRecipients": [
{
"emailAddress": {
"address": "meganb@contoso.com",
"name": "Megan Bowen"
}
}
],
"webLink": "https://outlook.office365.com/owa/?ItemID=AAMkAGI2NGVhZTIy"
}
]
}List events
List the events on a calendar. Give a start and end to see each occurrence of a repeating event in that range; without them, a repeating event is listed once.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Calendar
calendar_idtext - Calendar to read. Leave blank for the default calendar.
- Start date time
start_date_timedate and time - Start of the time range. Must be paired with an end.
- End date time
end_date_timedate and time - End of the time range. Must be paired with a start.
- Time zone
time_zonetext - Time zone for the supplied times, in Windows or IANA format, for example 'Pacific Standard Time' or 'America/Los_Angeles'. Defaults to UTC.
- Filter query
filter_querytext - OData $filter expression, for example "isCancelled eq false".
- Limit
limitnumber - Maximum number of results to return (1-500).From 1 to 500. Default:
25.
Outputs
countnumber- Number returned.
eventslist- The matching events.
Example output
{
"count": 1,
"events": [
{
"attendees": [
{
"emailAddress": {
"address": "alexw@contoso.com",
"name": "Alex Wilbur"
},
"type": "required"
}
],
"end": {
"dateTime": "2026-09-22T16:00:00.0000000",
"timeZone": "UTC"
},
"id": "AAMkAGViNDU3ZDI4LTZmNzMt",
"location": {
"displayName": "Conference room 3"
},
"onlineMeeting": {
"joinUrl": "https://teams.microsoft.com/l/meetup-join/19%3a..."
},
"start": {
"dateTime": "2026-09-22T15:00:00.0000000",
"timeZone": "UTC"
},
"subject": "Q3 planning",
"webLink": "https://outlook.office365.com/calendar/item/AAMkAGViNDU3ZDI4"
}
]
}List Focused Inbox overrides
List the senders whose email always goes to Focused or to Other in this mailbox.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Outputs
countnumber- Number returned.
overrideslist- The mailbox's overrides.
Example output
{
"count": 1,
"overrides": [
{
"classifyAs": "focused",
"id": "98f5bdef-576a-404d-a2ea-07a3cf11a9b9",
"senderEmailAddress": {
"address": "samanthab@contoso.com",
"name": "Samantha Booth"
}
}
]
}List inbox rules
List a mailbox's inbox rules.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
Outputs
countnumber- Number returned.
ruleslist- The inbox rules.
Example output
{
"count": 1,
"rules": [
{
"actions": {
"moveToFolder": "AAMkAGI2AAAAAEMkAAB="
},
"conditions": {
"subjectContains": [
"invoice"
]
},
"displayName": "Invoices to Finance",
"id": "AQAAAJ5dZqA=",
"isEnabled": true,
"sequence": 1
}
]
}List mail folders
List the mail folders in a mailbox, or the folders inside one folder.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Parent folder
parent_folder_idtext - List the children of this folder instead of the top level. Leave blank for top-level folders.
- Include hidden
include_hiddentrue/false - Include folders marked hidden.Default:
false. - Limit
limitnumber - Maximum number of results to return (1-500).From 1 to 500. Default:
25.
Outputs
countnumber- Number returned.
folderslist- The mail folders.
Example output
{
"count": 1,
"folders": [
{
"displayName": "Inbox",
"id": "AAMkAGI2AAAAAEMkAAA=",
"totalItemCount": 412,
"unreadItemCount": 7
}
]
}List room lists
List your organization's room lists, the groups of meeting rooms by building or floor. Needs an extra permission your Microsoft admin grants; see the connect panel.
Inputs
- Limit
limitnumber - Maximum number of results to return (1-500).From 1 to 500. Default:
25.
Outputs
countnumber- Number returned.
room_listslist- The tenant's room lists.
Example output
{
"count": 1,
"room_lists": [
{
"displayName": "Building 2 rooms",
"emailAddress": "building2rooms@contoso.com",
"id": "3162F1E1-C4C0-604B-51D8-91DA78989EB1"
}
]
}List rooms
List the meeting rooms people can book, across your organization or in one room list. Needs an extra permission your Microsoft admin grants; see the connect panel. A room has its own mailbox, so check it with Get free/busy schedule and book it with Create event.
Inputs
- Room list
room_listtext - SMTP address of a room list to search within. Leave blank for every room in the tenant.
- Limit
limitnumber - Maximum number of results to return (1-500).From 1 to 500. Default:
25.
Outputs
countnumber- Number returned.
roomslist- The matching rooms.
Example output
{
"count": 1,
"rooms": [
{
"building": "Building 2",
"capacity": 8,
"displayName": "Conf Room Rainier",
"emailAddress": "rainier@contoso.com",
"floorNumber": 3,
"id": "3162F1E1-C4C0-604B-51D8-91DA78989EB2"
}
]
}List users
List the mailboxes in your organization. Needs an extra permission your Microsoft admin grants; see the connect panel. With it, every other action lets you pick a mailbox from a list.
Inputs
- Search
searchtext - Match against display name. Cannot be combined with a filter.
- Filter query
filter_querytext - OData $filter expression, for example "department eq 'Finance'".
- Limit
limitnumber - Maximum number of results to return (1-500).From 1 to 500. Default:
25.
Outputs
countnumber- Number returned.
userslist- The matching users.
Example output
{
"count": 1,
"users": [
{
"department": "Operations",
"displayName": "Alex Wilbur",
"id": "8ae6f565-0d7f-4ead-853e-7db94c912a1f",
"jobTitle": "Operations Lead",
"mail": "alexw@contoso.com",
"userPrincipalName": "alexw@contoso.com"
}
]
}Move email
Move an email to another folder. The moved email gets a new ID, which this step returns for later steps.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Email
message_idtextRequired - The ID of the email, usually from an earlier step such as List emails or the new email trigger.
- Destination folder
destination_folder_idtextRequired - Destination folder. Accepts a folder ID or a well-known name: inbox, drafts, sentitems, deleteditems, junkemail or archive.
Outputs
bodyPreviewtext- First 255 characters.
categorieslist- The names of the categories it is tagged with.
ccRecipientslist- Who was copied, in the same form as toRecipients.
conversationIdtext- The conversation it belongs to, shared by every reply in it.
flagobject- Its follow-up flag: flagStatus is notFlagged, flagged or complete.
fromobject- The sender: emailAddress.name and emailAddress.address.
hasAttachmentstrue/false- Attachment present.
idtext- Message ID.
importancetext- low, normal or high.
isDrafttrue/false- Whether it is an unsent draft.
isReadtrue/false- Whether it has been read.
parentFolderIdtext- The folder it is in.
receivedDateTimetext- When it arrived, as an ISO 8601 time in UTC.
sentDateTimetext- When it was sent, as an ISO 8601 time in UTC.
subjecttext- Message subject.
toRecipientslist- Who it was sent to, each with emailAddress.name and emailAddress.address.
webLinktext- Open in Outlook on the web.
Example output
{
"bodyPreview": "Here are the notes from this morning's planning session...",
"categories": [
"Blue category"
],
"ccRecipients": [],
"conversationId": "AAQkAGI2NGVhZTIyLTAzYzUtNGM3",
"flag": {
"flagStatus": "notFlagged"
},
"from": {
"emailAddress": {
"address": "alexw@contoso.com",
"name": "Alex Wilbur"
}
},
"hasAttachments": true,
"id": "AAMkAGI2NGVhZTIyLTAzYzUt",
"importance": "normal",
"isDraft": false,
"isRead": false,
"parentFolderId": "AQMkAGI2NGVhZTIyAC4AAAA",
"receivedDateTime": "2026-09-18T14:02:11Z",
"sentDateTime": "2026-09-18T14:02:05Z",
"subject": "Q3 planning notes",
"toRecipients": [
{
"emailAddress": {
"address": "meganb@contoso.com",
"name": "Megan Bowen"
}
}
],
"webLink": "https://outlook.office365.com/owa/?ItemID=AAMkAGI2NGVhZTIy"
}Rename mail folder
Give a mail folder a new name. The name must be different from the folders beside it.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Folder
folder_idtextRequired - The folder to rename.
- Display name
display_nametextRequired - The folder's new name.
Outputs
childFolderCountnumber- Folders directly inside it.
displayNametext- Folder name.
idtext- Folder ID.
parentFolderIdtext- The folder it sits in.
totalItemCountnumber- Items in the folder.
unreadItemCountnumber- Unread items.
Example output
{
"childFolderCount": 0,
"displayName": "Invoices 2027",
"id": "AAMkAGI2AAAAAEMkAAB=",
"parentFolderId": "AAMkAGI2AAAAAEMkAAA=",
"totalItemCount": 12,
"unreadItemCount": 2
}Reply all to email
Reply to the sender and every other recipient of an email.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Email
message_idtextRequired - The ID of the email, usually from an earlier step such as List emails or the new email trigger.
- Message
commenttext - Plain text to add above the quoted email.
- HTML body
html_bodytext - Formatted (HTML) version of the body. If provided, it is used instead of the plain text body.
Outputs
statustext- Operation status.
Example output
{
"message_id": "AAMkAGI2NGVhZTIyLTAzYzUt",
"status": "sent"
}Reply to email
Reply to the sender of an email. The reply is saved in Sent Items.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Email
message_idtextRequired - The ID of the email, usually from an earlier step such as List emails or the new email trigger.
- Message
commenttext - Plain text to add above the quoted email.
- HTML body
html_bodytext - Formatted (HTML) version of the body. If provided, it is used instead of the plain text body.
Outputs
statustext- Operation status.
Example output
{
"message_id": "AAMkAGI2NGVhZTIyLTAzYzUt",
"status": "sent"
}Respond to meeting invite
Accept, tentatively accept or decline a meeting invite on the invitee's behalf. Choose the invitee's mailbox and use the event ID from their own calendar (List events on that mailbox); the organizer's ID for the same meeting won't work. A canceled meeting can't be responded to.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Event
event_idtextRequired - The ID of the calendar event.
- Response
responsetextRequired - How to respond to the invitation.One of:
accept,tentativelyAccept(Tentatively accept),decline. - Message
commenttext - Optional message to include.
- Send response
send_responsetrue/false - Send the reply to the organizer.Default:
true.
Outputs
statustext- Operation status.
Example output
{
"event_id": "AAMkAGViNDU3ZDI4LTZmNzMt",
"status": "accept"
}Send draft
Send a draft email created earlier. Once sent, it moves to Sent Items and the draft's ID stops working.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Email
message_idtextRequired - The ID of the email, usually from an earlier step such as List emails or the new email trigger.
Outputs
statustext- Operation status.
Example output
{
"message_id": "AAMkAGI2NGVhZTIyLTAzYzUt",
"status": "sent"
}Send email
Send an email from a mailbox in your organization. Sent means Outlook accepted it; a bounce arrives later in the sender's inbox.
Inputs
- Sender
sendertextRequired - The sender's email address or Microsoft sign-in name. Like the mailbox on other actions, it has to be a mailbox in the Microsoft 365 tenant the app was consented in.
- To
totextRequired - Comma-separated list of recipient email addresses.
- Subject
subjecttextRequired - Subject of the email.
- Body
bodytextRequired - Plain text body content of the email.
- HTML body
html_bodytext - Formatted (HTML) version of the email body. If provided, it is used instead of the plain text body.
- Attachments
attachmentslist - Files to attach. Upload a file or reference a document (or list of documents) from an earlier step. Each file must be under 3 MB; for a larger one, create a draft and use Add large attachment.
- CC
cctext - Comma-separated list of Cc recipients.
- BCC
bcctext - Comma-separated list of Bcc recipients.
- Reply to
reply_totext - Comma-separated addresses that replies should go to.
- Importance
importancetext - Importance of the item.One of:
low,normal,high. - Save to sent items
save_to_sent_itemstrue/false - Save a copy in the sender's Sent Items folder.Default:
true.
Outputs
statustext- Send status.
Example output
{
"status": "success"
}Set automatic replies
Turn out-of-office automatic replies on or off, or schedule them for a date range.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Status
statustextRequired - Whether automatic replies are off, always on, or scheduled.One of:
disabled(Off),alwaysEnabled(Always on),scheduled. - Internal reply message
internal_reply_messagetext - Reply sent to people inside the organization.
- External reply message
external_reply_messagetext - Reply sent to people outside the organization.
- External audience
external_audiencetext - Who outside the organization receives a reply.One of:
none(Nobody),contactsOnly(Contacts only),all(Everyone). - Scheduled start
scheduled_startdate and time - Start of the scheduled window. Required when status is 'scheduled'.
- Scheduled end
scheduled_enddate and time - End of the scheduled window. Required when status is 'scheduled'.
- Time zone
time_zonetext - Time zone for the supplied times, in Windows or IANA format, for example 'Pacific Standard Time' or 'America/Los_Angeles'. Defaults to UTC.
Outputs
automaticRepliesSettingobject- The updated out-of-office configuration.
Example output
{
"automaticRepliesSetting": {
"externalAudience": "all",
"externalReplyMessage": "I am out of the office until Monday.",
"internalReplyMessage": "I am out of the office until Monday.",
"scheduledEndDateTime": {
"dateTime": "2026-09-28T17:00:00.0000000",
"timeZone": "UTC"
},
"scheduledStartDateTime": {
"dateTime": "2026-09-21T09:00:00.0000000",
"timeZone": "UTC"
},
"status": "scheduled"
}
}Set Focused Inbox override
Always put a sender's email in Focused or in Other for this mailbox.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Sender address
sender_addresstextRequired - The sender the override applies to.
- Classify as
classify_astextRequired - Where this sender's mail should land.One of:
focused,other. - Sender name
sender_nametext - Display name for the sender. Optional.
Outputs
classifyAstext- focused or other.
idtext- Override ID.
senderEmailAddressobject- The sender the rule applies to.
Example output
{
"classifyAs": "focused",
"id": "98f5bdef-576a-404d-a2ea-07a3cf11a9b9",
"senderEmailAddress": {
"address": "samanthab@contoso.com",
"name": "Samantha Booth"
}
}Update calendar
Rename or recolor a calendar, or make it the one new events go to. Only the fields you fill in change.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Calendar
calendar_idtextRequired - The calendar, usually picked from the list or from List calendars.
- Name
nametext - New name for the calendar.
- Color
colortext - The color Outlook shows the calendar in.One of:
auto(Automatic),lightBlue(Light blue),lightGreen(Light green),lightOrange(Light orange),lightGray(Light gray),lightYellow(Light yellow),lightTeal(Light teal),lightPink(Light pink),lightBrown(Light brown),lightRed(Light red). - Make default
is_default_calendartrue/false - Make this the calendar new events go to.
Outputs
canEdittrue/false- Whether the mailbox can add and change events on it.
colortext- The color Outlook shows it in, such as lightBlue or auto.
idtext- Calendar ID.
isDefaultCalendartrue/false- Whether new events land here.
nametext- Calendar name.
ownerobject- Who owns the calendar: name and address.
Example output
{
"canEdit": true,
"color": "lightBlue",
"id": "AAMkAGViNDU3AAAuAAB=",
"isDefaultCalendar": false,
"name": "Projects",
"owner": {
"address": "alexw@contoso.com",
"name": "Alex Wilber"
}
}Update contact
Change a contact. Only the fields you fill in change.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Contact
contact_idtextRequired - The ID of the contact.
- Given name
given_nametext - First name.
- Surname
surnametext - Last name.
- Display name
display_nametext - Name the contact is shown under. Include it whenever you update other fields, or Outlook may regenerate it.
- Email addresses
email_addresseslist - Replaces the contact's email addresses.
- Business phones
business_phoneslist - Replaces the contact's business phone numbers.
- Mobile phone
mobile_phonetext - Mobile phone number.
- Job title
job_titletext - Job title.
- Company name
company_nametext - Company name.
- Department
departmenttext - Department.
- Office location
office_locationtext - Office location.
- Personal notes
personal_notestext - Free-text notes about the contact.
- Categories
categorieslist - Categories to assign. Each must already exist in the mailbox's category list.
Outputs
businessPhoneslist- Business phone numbers.
companyNametext- Company name.
displayNametext- Contact display name.
emailAddresseslist- Email addresses.
idtext- Contact ID.
jobTitletext- Job title.
Example output
{
"businessPhones": [
"+1 425 555 0109"
],
"companyName": "Contoso",
"displayName": "Dana Swope",
"emailAddresses": [
{
"address": "danas@contoso.com",
"name": "Dana Swope"
}
],
"id": "AAMkAGE1Mjc1YmUwLTIzZjQt",
"jobTitle": "Operations Lead"
}Update draft
Change a draft before it's sent: its subject, body, recipients or importance. Recipients you fill in replace the draft's list for that field; fields left blank stay as they are. Only drafts can be changed this way.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Draft
message_idtextRequired - The ID of the draft, usually from Create draft.
- Subject
subjecttext - New subject for the draft.
- Body
bodytext - New plain text body. It replaces the draft's body.
- HTML body
html_bodytext - Formatted (HTML) version of the body. If provided, it is used instead of the plain text body.
- To
totext - Comma-separated list of recipient email addresses.
- CC
cctext - Comma-separated list of Cc recipients.
- BCC
bcctext - Comma-separated list of Bcc recipients.
- Importance
importancetext - Importance of the item.One of:
low,normal,high.
Outputs
bodyPreviewtext- First 255 characters.
categorieslist- The names of the categories it is tagged with.
ccRecipientslist- Who was copied, in the same form as toRecipients.
conversationIdtext- The conversation it belongs to, shared by every reply in it.
flagobject- Its follow-up flag: flagStatus is notFlagged, flagged or complete.
fromobject- The sender: emailAddress.name and emailAddress.address.
hasAttachmentstrue/false- Attachment present.
idtext- Message ID.
importancetext- low, normal or high.
isDrafttrue/false- Whether it is an unsent draft.
isReadtrue/false- Whether it has been read.
parentFolderIdtext- The folder it is in.
receivedDateTimetext- When it arrived, as an ISO 8601 time in UTC.
sentDateTimetext- When it was sent, as an ISO 8601 time in UTC.
subjecttext- Message subject.
toRecipientslist- Who it was sent to, each with emailAddress.name and emailAddress.address.
webLinktext- Open in Outlook on the web.
Example output
{
"bodyPreview": "Here are the notes from this morning's planning session...",
"categories": [
"Blue category"
],
"ccRecipients": [],
"conversationId": "AAQkAGI2NGVhZTIyLTAzYzUtNGM3",
"flag": {
"flagStatus": "notFlagged"
},
"from": {
"emailAddress": {
"address": "alexw@contoso.com",
"name": "Alex Wilbur"
}
},
"hasAttachments": true,
"id": "AAMkAGI2NGVhZTIyLTAzYzUt",
"importance": "normal",
"isDraft": true,
"isRead": false,
"parentFolderId": "AQMkAGI2NGVhZTIyAC4AAAA",
"receivedDateTime": "2026-09-18T14:02:11Z",
"sentDateTime": "2026-09-18T14:02:05Z",
"subject": "Q3 planning notes",
"toRecipients": [
{
"emailAddress": {
"address": "meganb@contoso.com",
"name": "Megan Bowen"
}
}
],
"webLink": "https://outlook.office365.com/owa/?ItemID=AAMkAGI2NGVhZTIy"
}Update email
Change an email: mark it read or unread, or change its subject, importance, categories or follow-up flag.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Email
message_idtextRequired - The ID of the email, usually from an earlier step such as List emails or the new email trigger.
- Is read
is_readtrue/false - Mark the email as read (true) or unread (false).
- Subject
subjecttext - New subject for the email.
- Importance
importancetext - Importance of the item.One of:
low,normal,high. - Categories
categorieslist - Categories to assign. Each must already exist in the mailbox's category list.
- Flag status
flag_statustext - Follow-up flag state.One of:
notFlagged(Not flagged),flagged,complete.
Outputs
bodyPreviewtext- First 255 characters.
categorieslist- The names of the categories it is tagged with.
ccRecipientslist- Who was copied, in the same form as toRecipients.
conversationIdtext- The conversation it belongs to, shared by every reply in it.
flagobject- Its follow-up flag: flagStatus is notFlagged, flagged or complete.
fromobject- The sender: emailAddress.name and emailAddress.address.
hasAttachmentstrue/false- Attachment present.
idtext- Message ID.
importancetext- low, normal or high.
isDrafttrue/false- Whether it is an unsent draft.
isReadtrue/false- Whether it has been read.
parentFolderIdtext- The folder it is in.
receivedDateTimetext- When it arrived, as an ISO 8601 time in UTC.
sentDateTimetext- When it was sent, as an ISO 8601 time in UTC.
subjecttext- Message subject.
toRecipientslist- Who it was sent to, each with emailAddress.name and emailAddress.address.
webLinktext- Open in Outlook on the web.
Example output
{
"bodyPreview": "Here are the notes from this morning's planning session...",
"categories": [
"Blue category"
],
"ccRecipients": [],
"conversationId": "AAQkAGI2NGVhZTIyLTAzYzUtNGM3",
"flag": {
"flagStatus": "notFlagged"
},
"from": {
"emailAddress": {
"address": "alexw@contoso.com",
"name": "Alex Wilbur"
}
},
"hasAttachments": true,
"id": "AAMkAGI2NGVhZTIyLTAzYzUt",
"importance": "normal",
"isDraft": false,
"isRead": true,
"parentFolderId": "AQMkAGI2NGVhZTIyAC4AAAA",
"receivedDateTime": "2026-09-18T14:02:11Z",
"sentDateTime": "2026-09-18T14:02:05Z",
"subject": "Q3 planning notes",
"toRecipients": [
{
"emailAddress": {
"address": "meganb@contoso.com",
"name": "Megan Bowen"
}
}
],
"webLink": "https://outlook.office365.com/owa/?ItemID=AAMkAGI2NGVhZTIy"
}Update event
Change a calendar event. Only the fields you fill in change.
Inputs
- Mailbox
mailboxtextRequired - The mailbox to act on: a user's email address (userPrincipalName) or Microsoft user ID. Connected by signing in to Microsoft, it's your own mailbox, which the picker offers. Connected with an Entra app of your own, it has to be a mailbox in the same Microsoft 365 tenant the app registration was consented in -- an outside address such as a personal Gmail or outlook.com account is not reachable this way. The picker is populated from the directory when the app has the optional User.Read.All permission; otherwise type the address.
- Event
event_idtextRequired - The ID of the calendar event.
- Subject
subjecttext - New title for the event.
- Start date time
start_date_timedate and time - New start time.
- End date time
end_date_timedate and time - New end time.
- Time zone
time_zonetext - Time zone for the supplied times, in Windows or IANA format, for example 'Pacific Standard Time' or 'America/Los_Angeles'. Defaults to UTC.
- Body
bodytext - New plain text description.
- HTML body
html_bodytext - Formatted (HTML) version of the body. If provided, it is used instead of the plain text body.
- Location
locationtext - New location.
- Attendees
attendeestext - Comma-separated attendee addresses. Replaces the whole attendee list.
- Is all day
is_all_daytrue/false - Whether the event lasts all day.
- Show as
show_astext - How the time appears to others.One of:
free,tentative,busy,oof(Out of office),workingElsewhere(Working elsewhere). - Importance
importancetext - Importance of the item.One of:
low,normal,high. - Categories
categorieslist - Categories to assign. Each must already exist in the mailbox's category list.
Outputs
attendeeslist- Attendee list.
endobject- End dateTimeTimeZone.
idtext- Event ID.
locationobject- Event location.
onlineMeetingobject- Join information.
startobject- Start dateTimeTimeZone.
subjecttext- Event subject.
webLinktext- Open in Outlook on the web.
Example output
{
"attendees": [
{
"emailAddress": {
"address": "alexw@contoso.com",
"name": "Alex Wilbur"
},
"type": "required"
}
],
"end": {
"dateTime": "2026-09-22T16:00:00.0000000",
"timeZone": "UTC"
},
"id": "AAMkAGViNDU3ZDI4LTZmNzMt",
"location": {
"displayName": "Conference room 3"
},
"onlineMeeting": {
"joinUrl": "https://teams.microsoft.com/l/meetup-join/19%3a..."
},
"start": {
"dateTime": "2026-09-22T15:00:00.0000000",
"timeZone": "UTC"
},
"subject": "Q3 planning",
"webLink": "https://outlook.office365.com/calendar/item/AAMkAGViNDU3ZDI4"
}