Tools
Outlook
Send, read, draft, forward, and move Outlook email messages
Integrate Outlook into the workflow. Can read, draft, send, forward, and move email messages. Can be used in trigger mode to trigger a workflow when a new email is received.
Send emails using Outlook
| Parameter | Type | Required | Description |
|---|
to | string | Yes | Recipient email address |
subject | string | Yes | Email subject |
body | string | Yes | Email body content |
contentType | string | No | Content type for the email body (text or html) |
replyToMessageId | string | No | Message ID to reply to (for threading) |
conversationId | string | No | Conversation ID for threading |
cc | string | No | CC recipients (comma-separated) |
bcc | string | No | BCC recipients (comma-separated) |
attachments | file[] | No | Files to attach to the email |
| Parameter | Type | Description |
|---|
success | boolean | Email send success status |
status | string | Delivery status of the email |
timestamp | string | Timestamp when email was sent |
message | string | Success or error message |
Draft emails using Outlook
| Parameter | Type | Required | Description |
|---|
to | string | Yes | Recipient email address |
subject | string | Yes | Email subject |
body | string | Yes | Email body content |
contentType | string | No | Content type for the email body (text or html) |
cc | string | No | CC recipients (comma-separated) |
bcc | string | No | BCC recipients (comma-separated) |
attachments | file[] | No | Files to attach to the email draft |
| Parameter | Type | Description |
|---|
success | boolean | Email draft creation success status |
messageId | string | Unique identifier for the drafted email |
status | string | Draft status of the email |
subject | string | Subject of the drafted email |
timestamp | string | Timestamp when draft was created |
message | string | Success or error message |
Read emails from Outlook
| Parameter | Type | Required | Description |
|---|
folder | string | No | Folder ID to read emails from (default: Inbox) |
maxResults | number | No | Maximum number of emails to retrieve (default: 1, max: 10) |
includeAttachments | boolean | No | Download and include email attachments |
| Parameter | Type | Description |
|---|
message | string | Success or status message |
results | array | Array of email message objects |
attachments | file[] | All email attachments flattened from all emails |
Forward an existing Outlook message to specified recipients
| Parameter | Type | Required | Description |
|---|
messageId | string | Yes | The ID of the message to forward |
to | string | Yes | Recipient email address(es), comma-separated |
comment | string | No | Optional comment to include with the forwarded message |
| Parameter | Type | Description |
|---|
message | string | Success or error message |
results | object | Delivery result details |
Move emails between Outlook folders
| Parameter | Type | Required | Description |
|---|
messageId | string | Yes | ID of the message to move |
destinationId | string | Yes | ID of the destination folder |
| Parameter | Type | Description |
|---|
success | boolean | Email move success status |
message | string | Success or error message |
messageId | string | ID of the moved message |
newFolderId | string | ID of the destination folder |
Mark an Outlook message as read
| Parameter | Type | Required | Description |
|---|
messageId | string | Yes | ID of the message to mark as read |
| Parameter | Type | Description |
|---|
success | boolean | Operation success status |
message | string | Success or error message |
messageId | string | ID of the message |
isRead | boolean | Read status of the message |
Mark an Outlook message as unread
| Parameter | Type | Required | Description |
|---|
messageId | string | Yes | ID of the message to mark as unread |
| Parameter | Type | Description |
|---|
success | boolean | Operation success status |
message | string | Success or error message |
messageId | string | ID of the message |
isRead | boolean | Read status of the message |
Delete an Outlook message (move to Deleted Items)
| Parameter | Type | Required | Description |
|---|
messageId | string | Yes | ID of the message to delete |
| Parameter | Type | Description |
|---|
success | boolean | Operation success status |
message | string | Success or error message |
messageId | string | ID of the deleted message |
status | string | Deletion status |
Copy an Outlook message to another folder
| Parameter | Type | Required | Description |
|---|
messageId | string | Yes | ID of the message to copy |
destinationId | string | Yes | ID of the destination folder |
| Parameter | Type | Description |
|---|
success | boolean | Email copy success status |
message | string | Success or error message |
originalMessageId | string | ID of the original message |
copiedMessageId | string | ID of the copied message |
destinationFolderId | string | ID of the destination folder |
Triggers when new emails are received in Outlook (requires Microsoft credentials)
| Parameter | Type | Description |
|---|
email.id | string | Outlook message ID |
email.conversationId | string | Outlook conversation ID |
email.subject | string | Email subject line |
email.from | string | Sender email address |
email.to | string | Recipient email address |
email.cc | string | CC recipients |
email.date | string | Email date in ISO format |
email.bodyText | string | Plain text email body |
email.bodyHtml | string | HTML email body |
email.hasAttachments | boolean | Whether email has attachments |
email.attachments | file[] | Array of email attachments as files (if includeAttachments is enabled) |
email.isRead | boolean | Whether email is read |
email.folderId | string | Outlook folder ID where email is located |
email.messageId | string | Message ID for threading |
email.threadId | string | Thread ID for conversation threading |
timestamp | string | Event timestamp |
- Category:
tools
- Type:
outlook