FlowmageDocs

List attachments

BetaReads data

Lists the files attached to an email in a Microsoft 365 mailbox.

Settings

SettingWhat it is
ConnectionRequiredThe Microsoft Graph connection the step signs in with.
MailboxRequiredThe mailbox this node works in — a user's sign-in address, or their object id. Your app needs Mail.Read for it.
Message idRequiredThe id a list of messages answered, as Graph gave it.
FieldsComma-separated property names. Leave empty for every property, a file's contentBytes among them — its contents as base64, megabytes for a large file.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `microsoft-graph`)
mailboxtext
messageIdtext
selecttext, by default "id,name,contentType,size,isInline"

Output

FieldType
attachmentsarray
countAttachments on the messagenumber
Sample output, and the expression for each field
  • attachments[]
  • count0

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "connection": "<connection id>",
    "mailbox": "<mailbox>",
    "messageId": "<message id>",
    "select": "id,name,contentType,size,isInline"
  },
  "label": "List attachments",
  "type": "graph.listAttachments",
  "version": 1
}