Skip to main content

Outlook Trigger

Starts workflow execution when emails arrive in an Outlook folder.

Overview

The Outlook Trigger monitors a Microsoft Outlook mailbox folder and runs your workflow when new emails arrive. It works similarly to the Lido Mailbox Trigger but connects to your existing Outlook account.

Use it to:

  • Process incoming emails from your Outlook inbox
  • Automate email-based workflows with Microsoft 365
  • Monitor specific Outlook folders for new messages
  • Extract data from Outlook email attachments

Parameters

ParameterDescriptionRequired
CredentialMicrosoft account to use for monitoringYes
FolderOutlook mail folder to watchNo
Poll IntervalHow often to check for new emails (minutes, min 1)Yes
LimitMaximum emails to process per trigger (1-100)Yes

Folder

Select an Outlook mail folder to monitor. The available folders are fetched from your connected Microsoft account. If no folder is selected, the inbox is monitored.

Poll Interval

The minimum poll interval is 1 minute. Default is 5 minutes.

Limit

Controls how many emails are processed per trigger execution. Default is 10, maximum is 100.

Output

For each new email, the trigger outputs an item with email data:

{
"email": {
"type": "emailData",
"subject": "Monthly Report",
"from": { "name": "Colleague", "address": "colleague@company.com" },
"to": [{ "address": "you@company.com" }],
"date": "2024-01-15T10:30:00.000Z",
"textBody": "Please review the attached report...",
"attachments": [
{
"type": "fileData",
"name": "report.xlsx",
"mimeType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"fileInfo": { "type": "..." }
}
]
}
}

Access email properties in expressions:

  • Email object: {{$item.email}}
  • Subject: {{$item.email.subject}}
  • Sender address: {{$item.email.from.address}}
  • Body text: {{$item.email.textBody}}
  • Attachments: {{$item.email.attachments}}

Settings

SettingDescription
Starting pointProcess all emails or only from a specific date
Retry failed itemsAutomatically re-process items that failed (default: on)
No retry after nodeStop retrying items that passed a specific node
Reset trigger stateClear all processing history

Examples

Process Outlook Emails

Extract data from incoming emails:

[Outlook Trigger] → [Data Extractor (email)] → [Insert Rows]
  1. Connect your Microsoft account
  2. Select the folder to monitor (or leave blank for inbox)
  3. Connect to Data Extractor with Source Type set to Email

Forward Attachments to Google Drive

[Outlook Trigger] → [Split (attachments)] → [Copy File (Google Drive folder)]

Route by Sender

[Outlook Trigger] → [Switch (from.address)] → "client@co.com": [Data Extractor] / "team@co.com": [Insert Rows]

Authentication

This node requires a connected Microsoft account with Outlook read permissions. Configure credentials in your workspace settings.

Tips

  • Requires Microsoft account credentials with Outlook read access
  • Select a specific folder to limit which emails trigger the workflow
  • The folder list is dynamically loaded from your connected account
  • Email attachments are available as file data for downstream processing
  • Failed items are automatically retried with exponential backoff