capabilities.work

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

Read the newest unread inbox message, flag it read, and move it.

  1. List the single most recent unread message in the Inbox, ordered by received date descending.
  2. Retrieve the full message, selecting the subject, sender, and body preview for review.
  3. Mark the message as read by patching its isRead property to true.
  4. 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.