Skip to main content

Mail Trigger

A mail trigger watches a mailbox and runs a flow when a message arrives that matches your filters — the usual way to automate "when an invoice lands in this inbox".

Triggers are created in Admin Console → Triggers, with Add Trigger.

1. Trigger Type

Choosing the Mail trigger

Pick the Mail category. It has one trigger, Received:

The Mail trigger type

2. Mailbox and filters

Set which mailbox to watch and which messages count — subject, sender, and how far back to search.

The mailbox credential comes from a vault item, not from fields on this form. Create an Email item in a vault first — see Vaults — and select the vault and item here.

Filter narrowly

A trigger matching every message will run your flow on every message. Filter on subject or sender so the flow only sees what it is meant to handle.

3. Flow & Details

Flow and details

Name the trigger, then choose the published flow, its version, and the robot that will watch the mailbox.

note

The robot has to be connected for a trigger to fire.

See also

  • Vaults — storing the mailbox credential
  • Mail package — reading and sending mail inside the flow
  • Triggers — managing existing triggers