Creating a Microsoft 365 Outlook trigger
- Updated: 2026/03/26
Use email as a trigger to start a bot when you receive an email in Microsoft 365 Outlook that is using the OAuth2 authentication.
Prerequisites
- OAuth 2.0 to use client credentials is set up.
For more information on setting up OAuth 2.0 to use client credentials, see 使用客户端凭据设置 OAuth 2.0
- Credentials are assigned to lockers that can be accessed during bot development.
For more information, see 在 Credential Vault 中设置存储柜和凭据.
- Ensure that proxy is not configured in Microsoft 365 Outlook while using the trigger.
- Email is from sales@example.com.
- The subject line contains the phrase Monthly sales report.
- The email contains an attachment.