capabilities.work

Triage Inbox Messages and Respond

A 3-step recipe with Microsoft Office. We can help you get access.

Recipe · 3 steps

Triage Inbox Messages and Respond

Find a message matching a filter, read it, and reply to the sender.

  1. List the signed-in user's messages narrowed by the supplied OData filter, ordered so the highest-priority message to triage lands first.
  2. Retrieve the full message by id to obtain the sender address and the complete body needed to compose an informed reply.
  3. Send a reply as the signed-in user, addressed to the original sender and saved to the Sent Items folder for an auditable trail.
What you'll need to have ready
  • messageFilter: OData $filter expression selecting candidate messages, e.g. "isRead eq false" or "from/emailAddress/address eq 'a@b.com'".
  • messageOrderBy: OData $orderby expression controlling triage priority.
  • replySubject: Subject line to use on the outgoing reply.
  • replyBody: Body content of the outgoing reply.
  • replyBodyType: Content type of the reply body.
For your developer

Arazzo workflow microsoft-office:mail-triage-and-respond, 3 operations: listMyMessages → getMyMessage → sendMyMail. Specs on APIs.io.