Skip to content

Outlook

Description

The Outlook activity allows workflows to retrieve emails from a Microsoft Outlook account based on specific criteria such as received date range, folder name, subject filtering, and whether to include attachments. It provides a flexible way to automate inbox monitoring, content extraction, and attachment handling directly within workflows.

Use this activity to:

  • Automatically download and process emails
  • Filter emails by subject using regular expressions
  • Collect attachments for downstream processing
  • Extract metadata (sender, recipient, time) for analysis or forwarding

Use case: A finance team can use this activity to extract invoices sent to a shared Outlook folder, filter messages by subject (e.g., “Invoice”), and pass the attachments to a document parser for automated data extraction.

Input

Not Applicable

Output

Output TypeFormatDescription
DataTableA list of email records with details like subject, sender, received date, and attachments.

Configuration Fields

Field NameDescription
ConnectionSelect or configure an Outlook connection. This is required to authenticate access to the Outlook mailbox via OAuth.
From Received DateSpecify the start of the date range for email retrieval. Only emails received after this date will be considered.
To Received DateSpecify the end of the date range. Only emails received on or before this date will be fetched.
Folder NameName of the Outlook folder (e.g., “Inbox”, “Finance”, “Archive”) from which emails should be retrieved.
Download AttachmentEnable this option to automatically download attachments associated with each email. Stored as a list of file paths or blob references in output.
Subject RegexProvide a regular expression pattern to filter emails based on the subject line. Only emails with subject lines matching the pattern will be included.

Sample Input

Not Applicable

Sample Configuration

FieldValue
ConnectionOutlook Shared Mailbox
From Received Date2024-06-01
To Received Date2024-06-30
Folder NameInvoices
Download AttachmentEnabled
Subject Regex(?i)invoice.*\.pdf

Sample Output

MessageIdReceivedDateFromToSubjectBodyAttachment
MSG0012024-06-10T09:45:00Z[email protected][email protected]Invoice #12345…HTML/text…invoice12345.pdf
MSG0022024-06-12T14:22:00Z[email protected][email protected]Invoice June Report…HTML/text…june_invoice_summary.pdf