Skip to main content

Search Messages

Searches messages in Microsoft Outlook 365.

This node is also exposed as an AI Agent tool.

This node has 1 input port and 1 output port.

Common Properties

Every node shares these.

  • Name — the node's display name on the canvas.
  • Color — the node's colour on the canvas.
  • Delay Before (sec) — wait this long before the node runs.
  • Delay After (sec) — wait this long after the node runs.
  • Continue On Error — carry on instead of failing the flow. Defaults to false.
info

When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.

Inputs

PropertyFieldDescription
FolderinFolderIDMail folder: inbox٫ drafts٫ sentitems٫ or folder ID. Leave empty to search all folders
FrominFromFilter by sender email address (exact match)
Search QueryinQuerySearch text to find in subject٫ body٫ or other message fields

Outputs

PropertyFieldDescription
MessagesoutMessagesList of matching email messages

Options

PropertyFieldDescription
CredentialsinCredentialsMicrosoft 365 credentials (OAuth2 or Service Account)
Unread OnlyoptUnreadOnlyOnly search unread messages

List Messages · Get Message · Send Mail · Reply to Message · Forward Message · Delete Message · Move Message · Get Attachments

Elsewhere in the package: List Folders · Get Folder · List Events · Get Event · Create Event · Update Event · Delete Event · List Meetings · Get Meeting · Toolkit

See also