Actions11
- Message Actions
- Calendar Actions
- SharePoint Actions
Message → Get All
AI-generatedSummary
Retrieve all messages from a specified Microsoft 365 group mailbox, optionally including attachments which can be saved as binary data and optionally uploaded to SharePoint.
Inputs
- Group ID (required) — Select the Microsoft 365 group whose messages you want to retrieve.
- Return All — Choose whether to fetch all messages or limit the number returned.
- Limit — Set the maximum number of messages to return when 'Return All' is false (1-100).
- Include Attachments — Decide if message attachments should be included in the response.
- Save Attachments as Binary Data — If including attachments, specify whether to save them as binary data instead of base64 in JSON.
- Upload Attachments to SharePoint — When including attachments, optionally enable automatic upload of attachments to SharePoint.
- SharePoint Site (required) — Specify the SharePoint site where attachments will be uploaded; required if uploading to SharePoint.
- Document Library — Select the SharePoint document library for storing uploaded attachments; defaults to 'root'.
- Folder Path — Set the folder path within the SharePoint document library to upload attachments (e.g., 'Email Attachments/2024').
- Overwrite Existing — Choose whether to overwrite files with the same name during SharePoint upload.
- Add Timestamp to Filename — Decide whether to append a timestamp to attachment filenames to avoid naming conflicts in SharePoint.
Output shape
a list of message objects from the specified Microsoft 365 group, each containing message metadata and optionally attachments and upload status
Messages include details like id, subject, body, sender, date, and attachment information. Attachments can be included in JSON or as binary data. When SharePoint upload is enabled, upload results per attachment are included. Pagination is handled automatically when 'Return All' is true.