Outlook is a personal information manager web app from Microsoft consisting of webmail, calendaring, contacts, and tasks services.
The component uses Microsoft Graph REST API v1.0.
To create the credentials you would need:
Choose Auth Client
or create a new one. To create a new client you should specify the following fields:Field name | Mandatory | Description |
---|---|---|
Name | true | your Auth Client’s name |
Client ID | true | your OAuth client key |
Client Secret | true | your OAuth client secret |
Authorization Endpoint | true | your OAuth authorization endpoint. Use https://login.microsoftonline.com/common/oauth2/v2.0/authorize |
Token Endpoint | true | your OAuth Token endpoint for refreshing access token. Use https://login.microsoftonline.com/common/oauth2/v2.0/token |
Name Your Credential
Authenticate
button - if you have not logged in Salesforce before then log in by entering data in the login window that appearsVerify
button for verifying your credentialsSave
button for saving your credentialsThis is the list of the scopes that the credentials for the entire component might require. If you want to limit the scope of the credentials, feel free to only select the required scopes (space separated list):
offline_access is required for each credential.
Example of the scopes for the Send Mail
action: offline_access Mail.Send
Please Note! To be able to verify the credentials you need these scopes:
offline_access User.Read
You can find more details in dedicated OAuth2 App creation page.
Name | Mandatory | Description | Values |
---|---|---|---|
MAIL_RETRIEVE_MAX_COUNT |
false | Define max count mails could be retrieved per one Poll for New Mail trigger execution. Defaults to 1000 |
1000 |
TOP_LIST_MAIL_FOLDER |
false | Define the maximum number of folders that can be found for dropdown fields containing a list of Mail Folder. Defaults to 100 | 100 |
Please Note: From the platform version 20.51 we deprecated the component
LOG_LEVEL
environment variable. Now you can control logging level per each step of the flow.
Triggers to poll all new contacts from Outlook since last polling. Polling is provided by lastModifiedDateTime
contact’s property.
Per one execution it is possible to poll 900 contacts.
Triggers to poll all new mails from specified folder since last polling. Polling is provided by lastModifiedDateTime
mail’s property.
Per one execution it is possible to poll 1000 mails by defaults, this can be changed by using environment variable MAIL_RETRIEVE_MAX_COUNT
.
1970-01-01T00:00:00.000Z
.attachments
.Emit Individually
emits each mail in separate message, Emit All
emits all found mails in one message.The action retrieves events for the time specified in Time
field or for the current time (in case if Time
field is empty) and returns true
if no events found, or false
otherwise.
The action retrieves events for the time specified in Time
field or for the current time (in case if Time
field is empty).
Returns specified time if no events found, otherwise calculates the new available time based on found event. If no time specified, the result time will be emitted in UTC time zone (e.g. 2023-08-20T10:00:00Z).
The action creates event in specified calendar with specified options.
Low
, Normal
, High
.Free
, Tentative
, Busy
, Out of Office
, Working Elsewhere
, Unknown
.Normal
, Personal
, Private
, Confidential
.Text
, HTML
.The action moves message with specified id from the original mail folder to a specified destination mail folder or soft-deletes message if the destination folder isn’t specified.
deleteditems
).The action simply send a message to a recipient(s).
{
"subject": "Hello",
"toRecipients": [
{
"emailAddress": {
"address": "email@example.com",
"name": "John"
}
}
],
"body": {
"content": "Hello, I am an email content text",
"contentType": "text"
}
}
Please note: When employing the
Send Mail
action along with attachments, the component seamlessly handles files up to 20MB as its default capability. Nevertheless, should your tasks involve larger files, it is recommended to either establish or augment theEIO_REQUIRED_RAM_MB
environment variable. This variable functions as the memory usage threshold for the component, initially configured at 256MB.
Second version of AD protocol has some advantages, see here for more information.
Apparently the lastModifiedDateTime
returned by MS Graph has no millisecond in it is obvious that filter query accept and treat millisecond values correctly there is a workaround for that issue implemented in the code, however you need to keep an eye on it.