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
| Action | Chat Type | Parameters |
|---|---|---|
| Read Messages | Personal | - Maximum number of messages to read - Filter criteria |
| Read Messages | Team | - Maximum number of messages to read - Filter criteria |
| Send Messages | Personal | - Select group chat to send message |
| Send Messages | Team | - Select team channel to send message |
🔹 Outlook
Actions
| Action | Parameters |
|---|---|
| Send Email | Recipient, CC, Subject, Body |
| Read Email | Currently has known issues |
| Perform Action | Email 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:
- Mark as Read – Marks the email as read.
- Mark as Unread – Marks the email as unread.
- 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.
- 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.