Microsoft O365 Email Message Start Event Connector
Poll M365 Outlook emails
Required inputs
| Key | Label | Type |
|---|---|---|
authentication.bearer.token | Bearer token | secret |
authentication.credentials.clientId | Client ID | secret |
authentication.credentials.tenantId | Tenant ID | secret |
authentication.credentials.clientSecret | Client secret | secret |
authentication.refresh.token | Refresh token | secret |
authentication.refresh.clientId | Client ID | FEEL expression |
authentication.refresh.tenantId | Tenant ID | FEEL expression |
pollingConfig.userId | Mailbox Owner | FEEL expression |
pollingConfig.folder.folderId | Folder ID | FEEL expression |
pollingConfig.folder.folderName | Folder Name | FEEL expression |
pollingConfig.filterCriteria.filterString | OData Filter String | string |
operation.targetFolder.folderId | Folder ID | FEEL expression |
operation.targetFolder.folderName | Folder Name | FEEL expression |
correlationKeyProcess | Correlation key (process) | FEEL expression |
correlationKeyPayload | Correlation key (payload) | FEEL expression |
deduplicationId | Deduplication ID | string |
Optional inputs
| Key | Label | Type |
|---|---|---|
authentication.type | Type | string |
authentication.refresh.clientSecret | Client secret | secret |
pollingConfig.folder.folderSpecification | Folder Identifier Type | string |
pollingConfig.pollingInterval | Polling interval | FEEL expression |
pollingConfig.filterCriteria.filterSpecification | Filter Specification | string |
pollingConfig.filterCriteria.onlyUnread | Only Unread | string |
pollingConfig.filterCriteria.subjectContains | Subject Contains | FEEL expression |
pollingConfig.filterCriteria.fromAddress | From Email Address | FEEL expression |
operation.processingOperationDiscriminator | Postprocessing configuration | string |
operation.force | Force delete (email is permanently deleted) | string |
operation.targetFolder.folderSpecification | Folder Identifier Type | string |
activationCondition | Activation condition | FEEL expression |
consumeUnmatchedEvents | Consume unmatched events | string |
correlationRequired | Subprocess correlation required | string |
messageIdExpression | Message ID expression | FEEL expression |
messageTtl | Message TTL | FEEL expression |
messageNameUuid | Message name | FEEL expression |
deduplicationModeManualFlag | Manual mode | string |
resultVariable | Result variable | string |
resultExpression | Result expression | FEEL expression |
Apply this connector with @bpmnkit/connectors
import { applyConnectorTemplate } from "@bpmnkit/connectors"
const result = applyConnectorTemplate("io.camunda.connectors.inbound.MSFT.O365.EmailMessageStart.v1", {
"authentication.bearer.token": "<your bearer token>",
"authentication.credentials.clientId": "<your client id>",
"authentication.credentials.tenantId": "<your tenant id>",
"authentication.credentials.clientSecret": "<your client secret>",
"authentication.refresh.token": "<your refresh token>",
"authentication.refresh.clientId": "= ...",
"authentication.refresh.tenantId": "= ...",
"pollingConfig.userId": "= ...",
"pollingConfig.folder.folderId": "= inbox",
"pollingConfig.folder.folderName": "= ...",
"pollingConfig.filterCriteria.filterString": "...",
"operation.targetFolder.folderId": "= inbox",
"operation.targetFolder.folderName": "= ...",
"correlationKeyProcess": "= ...",
"correlationKeyPayload": "= ...",
"deduplicationId": "...",
"authentication.type": "token",
"authentication.refresh.clientSecret": "<your client secret>",
})