Jump to a Section

Overview

The first time that you add an Office 365 Mail card to a flow, you will 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.

  1. Enter a Connection Nickname. This is useful if you plan to create multiple Office 365 Mail connections to share with your team.
  2. Click Create.
  3. 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.
    • Download Email Attachments

      Use this action to download attachments from 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 download attachments from it. This can be dragged from the New Email event card or the Send Email card.

      Output Fields

      • Attachments:
        • Attachment ID: unique identifier of the email attachment
        • File Content: text of the attachment’s content
        • Name: name given to the attachment
        • Size: file size of the attachment
    • 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.

      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): files to attach to the email

      Output Fields

      • Message ID: unique identifier of the sent email