AACFlow

Exchange Web Services (EWS)

Interact with on-premise Microsoft Exchange mailboxes via the EWS SOAP API.

Exchange Web Services (EWS)

Exchange Web Services (EWS) is the SOAP/XML API for on-premise Microsoft Exchange servers. Use this block when you cannot use Microsoft Graph (e.g. Exchange 2013/2016/2019 without a cloud account).

Official documentation: https://learn.microsoft.com/exchange/client-developer/exchange-web-services

Setup

  1. Find your Exchange EWS endpoint URL. It typically looks like https://mail.company.com/EWS/Exchange.asmx. Your Exchange administrator can confirm the exact address.
  2. Obtain a username (in DOMAIN\user or user@company.com format) and password for a mailbox account.
  3. In AACFlow, add an EWS block and enter the EWS endpoint URL, username, and password. All credential fields are stored as secrets.

Basic authentication must be enabled on the Exchange server for this integration. Negotiate/Kerberos is not supported.

Operations

OperationDescription
ews_messagesList messages in a mailbox folder (default: inbox). Returns message summaries including subject, sender, and received time.
ews_sendSend an email from the authenticated mailbox with To, Subject, Body (HTML supported), optional CC and BCC.
ews_foldersList all top-level mailbox folders.

Example workflow

Schedule a workflow to run every 15 minutes, call ews_messages to fetch unread emails, pass each message body to an AI block for classification, and route urgent items to a Slack notification.

On this page

今天就开始构建
超过 100,000 名开发者信赖我们。
用于构建 AI 智能体并运行智能体工作团队的 SaaS 平台。
开始使用