Embedded item (e.g., message, event) for itemAttachment; must include its own '@odata.type'.
namestring
Display name of the attachment (e.g., file name). Required when using content_bytes. When using the attachment field, the name is automatically inferred.
user_idstring
The user's principal name or 'me' for the authenticated user.
isInlineboolean
Set to true if the attachment should appear inline in the message body.
contentIdstring
Content ID for inline attachments, used in HTML body references.
attachmentobject
File to attach to the email. Either provide this field OR use 'content_bytes'. Cannot be used together with 'content_bytes'.
message_idstring
Required
Unique Microsoft Graph message ID (opaque string like 'AAMkAGI2TAAA='). NOT an email address - this is an internal identifier returned by Microsoft Graph API operations.
odata_typestring
The OData type of the attachment. Required by Microsoft Graph API. Use '#microsoft.graph.fileAttachment' for file attachments, '#microsoft.graph.itemAttachment' for embedded items (messages, events, contacts).
contentTypestring
MIME type of the attachment (e.g., 'application/pdf'). Required when using content_bytes. When using the attachment field, the mimetype is automatically inferred.
contentBytesstring
Base64-encoded content of the file attachment (max size 3 MB). Either provide this field OR use the 'attachment' field (recommended). Cannot be used together with 'attachment'.
contentLocationstring
URL location or path for reference attachments.
Observable output
data
Required
Data from the action execution
errorstring
Error if any occurred during the execution of the action
successfulboolean
Required
Whether or not the action execution was successful or not