Skip to main content
outlook.clearMessageFlag sets an Outlook message’s flag status to notFlagged.
automations/clear-outlook-flag.automation.ts
Required messageId identifies the message and optional second argument { account } selects the binding. Returns the updated OutlookMessage with flag.status: "notFlagged".