Jump to a Section

Overview

When you add an Office 365 Mail card to a Flow for the first time, you’ll be prompted to configure the connection. This will enable you to connect your Office 365 Mail account, save your account information, and reuse the connection for future Office 365 Mail flows.

Note: You can create multiple connections and manage them from your Settings page.

To create a new connection from an Event or Action card:

  1. Click New Connection.
  2. Enter a Connection Nickname. This is useful if you plan to create multiple Office 365 Mail connections to share with your team.
  3. Click Create.
  4. Log in to your Office 365 Mail account to authorize the connection.

    Events

    • NewEmail

      Use this event to trigger a Flow when you receive a new email in your Office 365 account.

      Unless otherwise indicated, field type is text.

      Output Fields

      • Email
        • Subject: subject of the email
        • HTML Body: HTML body of the email
        • To: email address of the receipient of the email
        • From: email address of the sender of the email
        • Importance: importance of the email (Low, Normal, or High)
        • MessageId: unique identifier of the email
        • Received At: time when the email was received
        • CC: email address of a recipient of a carbon copy of the email
        • BCC: email address of a recipient of a blind carbon copy of the email
        • Text Body: text body of the email

    Actions

    • Delete Email

      Use this action to delete an email in an Office 365 account.

      Field type is text.

      Input Fields

      • MessageId: The unique identifier of the email is required to delete it. This can be dragged from the New Email event card or the Send Email action card.
    • Forward Email

      Use this action to forward an email from an Office 365 Mail account.

      Field type is text.

      Input Fields

      • MessageID: The unique identifier of the email is required to forward it. This can be dragged from the New Email event card or the Send Email action card.
      • To: email of the recipient
      • Comment: any additional comments or notes about the forwarded email
    • Get Message

      Use this action to obtain information about an email that you received in an Office 365 Mail account.

      Field type is text.

      Input Fields

      • MessageId: The unique identifier of the email is required to obtain information about it. This can be dragged from the New Email event card or the Send Email action card.

      Output Fields

      • Mail:
        • Subject: subject of the email
        • HTML: HTML body of the email
        • From: email address of the sender of the email
        • Importance: importance of the email (Low, Normal, or High)
        • ReceivedDateTime: date and time when the email was received
    • Reply to Email

      Use this action to reply automatically to an email in Office 365 Mail.

      Field type is text.

      Input Fields

      • MessageId: The unique identifier of the original email is required to reply to it. This can be dragged from the New Email event card.
      • Comment: any additional comments or notes about the reply email
    • Send Email

      Use this action to send an email from an Office 365 account. You can use plain text or format a message with HTML tags.

      Unless otherwise indicated, all field types are text.

      Required fields are indicated by a red asterisk.

      Input Fields

      • To (list of text): email address(es) of receipient(s) of the email
      • CC (list of text): email address(es) of recipient(s) of a carbon copy of the email
      • BCC (list of text): email address(es) of recipient(s) of a blind carbon copy of the email
      • Subject: subject of the email
      • Body: text body of the email
      • Message Type (dropdown): choice for plain text or HTML tagging as the format for the body of the email
      • Attachments (list of files): one or more attachments to the email

      Output Fields

      • Message ID: unique identifier of the sent email