FlowmageDocs

Update message

BetaChanges data

Changes an email's read state, importance, categories or flag in Microsoft 365.

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.ReadWrite for it.
Message idRequiredThe id a list of messages answered, as Graph gave it.
Read"" or "true" or "false"
Importance"" or "low" or "normal" or "high"
CategoriesComma-separated category names. They replace the message's categories; leave empty to keep them.
Flag"" or "notFlagged" or "flagged" or "complete"
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `microsoft-graph`)
mailboxtext
messageIdtext
isRead"" or "true" or "false"
importance"" or "low" or "normal" or "high"
categoriestext
flag"" or "notFlagged" or "flagged" or "complete"

Output

FieldType
messageobject
message.idstring
message.subjectstring
Sample output, and the expression for each field
  • message
    • id"1"
    • subject"Hi"

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": {
    "categories": "",
    "connection": "<connection id>",
    "flag": "",
    "importance": "",
    "isRead": "",
    "mailbox": "<mailbox>",
    "messageId": "<message id>"
  },
  "label": "Update message",
  "type": "graph.updateMessage",
  "version": 1
}