Email trigger

Description

Waits for a e-mail to appear.

When the event happens, then "Yes" branch is executed. Waiting time can be limited, so if the event doesn't happen within waiting time, "No" branch will be executed.

Parameters

User account

Select an account from the list or create new one.

Server settings

Select from the list of predefined server settings or set up Custom settings.

Mail folder name

  1. Set a value: select the folder to monitor in the mailbox .

  2. Save the previous step result: takes the previous activity result as a value.

  3. Calculate a value: use JS to calculate the value.

Event

Select the type of event to monitor for:

  • Wait for any mail to appear: any mail that appears in the folder will run the trigger.

  • Wait for a specific mail to appear: only specific mail will run the trigger.

    1. Email subject contains:

      1. Set a value: set the keyword.

      2. Save the previous step result: takes the previous activity result as a value.

      3. Calculate a value: use JS to calculate the value.

      Case sensitive: check if need case sensitive search.

    2. Email body contains:

      1. Set a value: set the keyword.

      2. Save the previous step result: takes the previous activity result as a value.

      3. Calculate a value: use JS to calculate the value.

      Case sensitive: check if need case sensitive search.

    3. Email sender:

      1. Set a value: set the sender e-mail.

      2. Save the previous step result: takes the previous activity result as a value.

      3. Calculate a value: use JS to calculate the value.

    4. Contains attachment: check to wait only for e-mails with attachment.

Stop waiting

Set the limit of waiting time in seconds. If no event happen within the waiting time, the activity will execute 'No' branch.

Usage Example

This activity allows to build robots that process e-mails immediately after they were received.