Skip to main content

Lido Mailbox Trigger

Starts workflow execution when emails arrive in a Lido mailbox.

Overview​

The Lido Mailbox Trigger monitors a dedicated Lido email address and runs your workflow when new emails arrive. Each email becomes a workflow item with full email data including subject, body, sender, and attachments.

Use it to:

  • Process incoming invoices sent via email
  • Extract data from email attachments
  • Automate email-based intake workflows
  • Route emails based on subject or sender

Parameters​

ParameterDescriptionRequired
Mailbox AddressLido mailbox to monitorYes
Poll IntervalHow often to check for new emails (minutes, min 1)Yes
LimitMaximum emails to process per trigger (1-100)Yes

Mailbox Address​

Select from available Lido mailboxes configured in your workspace. Create a new mailbox in workspace settings if none are available.

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": "Invoice #1234",
"from": { "name": "Sender Name", "address": "sender@example.com" },
"to": [{ "address": "your-mailbox@lido.app" }],
"cc": [],
"date": "2024-01-15T10:30:00.000Z",
"textBody": "Please find the attached invoice...",
"htmlBody": "<p>Please find the attached invoice...</p>",
"attachments": [
{
"type": "fileData",
"name": "invoice.pdf",
"mimeType": "application/pdf",
"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}}
  • First attachment: {{$item.email.attachments[0]}}

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​

Extract Data from Email Attachments​

Process invoices sent to your Lido mailbox:

[Lido Mailbox Trigger] → [Data Extractor (email)] → [Insert Rows]
  1. Set Mailbox Address to your intake mailbox
  2. Connect to Data Extractor with Source Type set to Email
  3. Set Email parameter to {{$item.email}}

Route Emails by Subject​

[Lido Mailbox Trigger] → [If (subject contains "invoice")] → True: [Data Extractor] / False: [Send Gmail (forward)]

Save Attachments to Drive​

[Lido Mailbox Trigger] → [Split (attachments)] → [Copy File (Google Drive)]

Split attachments into individual items and save each to Google Drive.

Tips​

  • Create a Lido mailbox in your workspace settings before configuring this trigger
  • Email attachments are available as file data — pass them to Data Extractor or file nodes
  • Use the Data Extractor with Source Type Email to extract structured data from emails
  • Combine with Split to process each attachment individually
  • Failed emails are automatically retried with exponential backoff