Skip to main content

Office 365

🎯 Purpose

The Office 365 node integrates Microsoft Office 365 services into ThreoAI workflows.
It supports Teams and Outlook actions, enabling message and email automation.
This node requires authorization with an Office 365 account before use.

📥 Inputs

This node does not require inputs by default. Inputs are only needed when using the Perform Action option, which requires providing mail IDs to execute the action.

📤 Outputs

The node returns data from Teams or Outlook actions, such as:

  • Message lists (Teams)
  • Email send status (Outlook)
  • Message send confirmation (Teams)
  • Email action status (Outlook Perform Action)

⚙️ Parameters

🔹 Teams

Actions

ActionChat TypeParameters
Read MessagesPersonal- Maximum number of messages to read
- Filter criteria
Read MessagesTeam- Maximum number of messages to read
- Filter criteria
Send MessagesPersonal- Select group chat to send message
Send MessagesTeam- Select team channel to send message

🔹 Outlook

Actions

ActionParameters
Send EmailRecipient, CC, Subject, Body
Read EmailCurrently has known issues
Perform ActionEmail ID, Action Type (Mark as Read, Mark as Unread, Manage Flag, Change Importance)

Perform Action Details

  • Email ID: The unique ID of the email to perform the action on.
  • Action Type:
    1. Mark as Read – Marks the email as read.
    2. Mark as Unread – Marks the email as unread.
    3. Manage Flag – Manage follow-up flags:
      • Add Flag: Requires start and end time.
      • Mark as Complete: Requires completed date/time.
      • Clear Flag: Removes any flag from the email.
    4. Change Importance – Change the importance level (Low, Normal, High).

💡 Example Usage

  • Teams Automation: Read the last 10 messages from a specific team channel and send a summary to another channel.
  • Outlook Automation: Automatically send follow-up emails to a list of recipients after a workflow completes.
  • Outlook Perform Action: Mark an important client email as “High” importance and flag it for follow-up.

📘 Best Practices

  • Always authorize with the correct Office 365 account before configuring actions.
  • For Teams Read Messages, keep the maximum number low for faster execution.
  • Avoid using Read Email until current issues are resolved.
  • Use Perform Action to automate email triage, but ensure the correct Email ID is provided to avoid unintended changes.