Skip to main content

Email trigger

You can use an email trigger to start a flow whenever an email is delivered to the flow's unique inbound address. This makes it easy to connect alerting and ticketing tools—most monitoring systems can send email notifications, and pointing them at the flow's address is all the integration you need.

Typical use cases:

  • Reacting to alerts from monitoring and observability tools that support email notifications but not webhooks.

  • Connecting ticketing systems that send email on ticket creation or updates.

  • Processing machine-generated emails with templated bodies: when the plain-text body is valid JSON, the parsed object is available to downstream nodes as jsonBody.

Configuration

  • Inbound email address: When you publish the flow, it is assigned a unique address such as [email protected]. Any email delivered to that address starts a run. The address is unguessable and unique to the flow—treat it like a secret. It stays the same when you republish the flow.

  • Sender restrictions (optional): Restrict which senders can start the flow. Add full email addresses ([email protected]), whole domains (@example.com), or a mix of both. When the list is empty, any sender can start the flow.

  • Require verified sender: When enabled (the default), emails that fail SPF/DKIM authentication for the sender's domain are rejected, so a spoofed sender address cannot start your flow.

Email payload

The email's content is available to downstream nodes as the trigger payload:

FieldDescription
from / fromNameSender address and display name
to / recipientSuffixThe flow address the email was sent to; recipientSuffix carries plus-addressing metadata (an email to wf-abc123+prod@... has suffix prod)
subjectEmail subject
textBody / htmlBodyPlain-text and HTML bodies
jsonBodyWhen the plain-text body is valid JSON, the parsed object—useful for machine-generated emails with templated bodies
headers / messageId / receivedAtRaw email headers, the Message-ID, and the delivery timestamp
spf / dkimAuthentication verdicts from the mail provider
attachmentsAttachment metadata (file name, size, content type). Attachment content is not passed to the flow.

A flow has at most one run in progress: emails that arrive while the flow is already running are dropped, and re-deliveries of the same email (same Message-ID) are ignored. Like webhook-triggered flows, email-triggered flows cannot be started with the Run button.

Tip

For free-form email text, add an LLM node right after the trigger to extract structured fields (for example, severity, service, or account ID) from textBody before acting on them.

See also