Skip to main content

Subscribe Request

Creates a subscription for a user's inbox in Office 365, valid for 6 days, using the Microsoft Graph API. Must be nested inside an Office365 context block. The notification URL must use the webhook endpoint format: https://cloud.rinkt.com/api/webhooks/{target_workflow_id}/{user_id} (NOT queued_webhook — that endpoint rejects the Office 365 validation handshake).

Category: Microsoft Office 365 & OneDrive · Group: Office 365 · Activity name: SubscribeRequest

The SubscribeRequest activity in the designer

Example

outputVariable = SubscribeRequest("<notificationUrl>")

Inputs

NameTypeRequiredDefaultDescription
Notification URLstringYesWebhook URL: https://cloud.rinkt.com/api/webhooks/{workflow_id}/{user_id}. Must handle the Office 365 validation handshake (return validationToken).

Outputs

NameTypeDescription
outputVariablestringSpecifies the name of the variable that will store the subscription ID.