🟦 Microsoft365 OpenClaw Plugin & Skill | ClawHub
Looking to integrate Microsoft365 into your AI workflows? This free OpenClaw plugin from ClawHub helps you automate communication tasks instantly, without having to write custom tools from scratch.
What this skill does
Microsoft 365 integration for Outlook, Calendar, Contacts, and OneDrive via Microsoft Graph API. Supports reading/sending emails, managing calendar events, and accessing files.
Install
openclaw skills install @robert-janssen/microsoft365npx clawhub@latest install microsoft365Full SKILL.md
Open original| name | description |
|---|---|
| microsoft365 | Microsoft 365 integration for Outlook, Calendar, Contacts, and OneDrive via Microsoft Graph API. Supports reading/sending emails, managing calendar events, and accessing files. |
SKILL.md content below is scrollable.
Microsoft 365 (Custom)
This skill provides a direct integration with Microsoft 365 services using the Device Code Flow.
Usage
The skill is executed via node index.js. Use the --account <name> flag to specify which account to use (e.g., --account personal).
Calendar
- Fetch events:
node index.js --account personal --calendar - Create event: Use interactive mode or automated scripts.
- Read emails: Interactive mode (option 1).
- Send email: Interactive mode (option 5).
Contacts & OneDrive
- Contacts: Interactive mode (option 3).
- OneDrive files: Interactive mode (option 4).
Configuration & Security
This skill uses centralized credential management to keep the skill directory clean and safe for sharing.
File Locations
- Tokens: Saved in
~/.openclaw/credentials/ms365.tokens.<account>.json. - Environment: Automatically loads secrets from
~/.openclaw/credentials/ms365.envif present. - Config: Expects
config.<account>.jsonin the skill directory (or environment variables).
Setup
- Register an application in Azure (Public Client Flow, Device Code enabled).
- Set
MICROSOFT_CLIENT_IDandMICROSOFT_TENANT_IDin your environment or~/.openclaw/credentials/ms365.env. - Run
node index.js --account <name>and follow the device login instructions.