Create a Microsoft 365 Outlook web trigger to monitor a Microsoft 365 Outlook inbox for events. The trigger listens for the configured event and starts the automation when the event occurs.

Create a Microsoft 365 Outlook web trigger to monitor a Microsoft 365 Outlook inbox for new emails. When a email arrives in the inbox, the trigger initiates the Message box actions.

Prerequisites

Ensure that prerequisites mentioned in Prerequisites section are met.

Procedure

  1. On the left pane, click Automation.
  2. Click Create > Task Bot.
    The Create Task Bot wizard is displayed.
  3. Enter an appropriate name for the bot in the Name field.
    All the bots are stored in \Bots folder by default.
  4. Optional: You can add a description for the bot in the Description field.
  5. Optional: You can use the Choose button to save the bot in a different folder.
  6. Click Create & Edit.
    The bot is created and the Edit Task Bot is displayed.
  7. Click Triggers > Microsoft 365 Outlook, and then double-click or drag Web trigger to add the web trigger to Triggers section.
  8. Select When new email arrives from the Listen to event drop-down menu.
    You can also select multiple events from the Listen to event drop-down menu.
  9. Enter the Microsoft 365 Outlook email address in the Email address field.
  10. You can enter the folder name in the Mailbox folder.
    Enter Inbox as nested folders are not supported currently.
  11. Click Pick to choose the preconfigured OAuth connection from the Pick an OAuth connection modal.
    Only Control Room managed OAuth connections are supported. For more information, see Use OAuth connection.
  12. Do one of the following in the Certificate section.
    • Credentials: Click Choose to pick the Microsoft Azure certificate that is already added to the Credential Vault.
    • Insecure string: Copy the Microsoft Azure certificate key content from the Microsoft Azure portal and paste it in the Insecure string field..
  13. Optional: Add variables to the trigger in the Response option. For more information about variables, see Variables overview.
    Note: If you use an existing variable for response, ensure that Use as input check box is enabled for the variable.
  14. Click Actions > Message Box, and then double-click or drag Message Box action to add it to the Actions section.
  15. Configure the Message Box action accordingly.
    For more information on configuring the Message Box action, see Using the Message box action.
  16. Click Save to save the automation.
  17. Click Run > Run with triggers to start the automation.
    The trigger listens for When new email arrives event in the monitored Microsoft 365 Outlook mailbox. When an email arrives, the trigger starts the Message Box action. The automation displays a message box with the configured text.