Triage and Move a Message
A 4-step recipe with Microsoft Exchange. We can help you get access.
Recipe · 4 steps
Triage and Move a Message
with Microsoft Exchange
Read the newest unread inbox message, flag it read, and move it.
- List the single most recent unread message in the Inbox, ordered by received date descending.
- Retrieve the full message, selecting the subject, sender, and body preview for review.
- Mark the message as read by patching its isRead property to true.
- Move the now-read message into the destination folder. Graph returns the new copy of the message in that folder.
What you'll need to have ready
- destinationId: The destination mail folder id or well-known name (e.g. archive) to move the message into.
For your developer
Arazzo workflow microsoft-exchange:triage-and-move-message, 4 operations: listMailFolderMessages → getMessage → updateMessage → moveMessage. Specs on APIs.io.