This is a custom n8n node that provides Microsoft Outlook functionality with Credential ID support, specifically designed to work with n8n's AI Agent feature. It allows you to perform various Outlook operations such as sending emails, listing messages, and managing calendar events.
- Send emails through Microsoft Outlook
- List inbox messages
- Create calendar events
- List calendar events
- AI Tool integration for n8n AI Agent
- Credential ID support for secure authentication
To install this custom node in your n8n instance:
npm install @henry2323/n8n-nodes-microsoft-outlook-tool-credentialid
- Microsoft Azure Account
- Registered Azure Application with the following permissions:
- Mail.ReadWrite
- Mail.Send
- Calendars.ReadWrite
- User.Read
- offline_access
- Register an application in Azure Portal (https://portal.azure.com)
- Add the required permissions listed above
- Get the following credentials:
- Client ID
- Client Secret
- Tenant ID (or use 'common' for multi-tenant)
- Configure these credentials in n8n's credentials manager
- Send emails with text content
- Specify recipient, subject, and body
- Retrieve messages from inbox
- Filter and sort capabilities
- Configurable limit on number of messages
- Create new calendar events
- Set start and end times
- Specify time zone
- Add event description
- View upcoming calendar events
- Filter by date range
- Time zone support
- Option to find first available slot
This node is compatible with n8n's AI Agent feature, allowing for natural language processing of Outlook-related tasks. The AI Tool interface supports all operations through a standardized schema.
- Add the node to your workflow
- Configure Microsoft Outlook OAuth2 credentials
- Select desired operation
- Configure operation-specific parameters
- Execute workflow
// Example AI Agent interaction
{
"operation": "sendEmail",
"to": "recipient@example.com",
"subject": "Test Email",
"body": "This is a test email sent via n8n AI Agent"
}