microsoft-365-graph-openclaw
Microsoft 365 Graph for OpenClaw with webhook-based wake signals. Reduce recurring LLM cost from inbox polling while managing Outlook mail, calendar, OneDrive, and contacts via Microsoft Graph.
Why use this skill?
Seamlessly manage Outlook, Calendar, and OneDrive with OpenClaw. Reduce LLM costs using webhook-based triggers for smart, efficient Microsoft 365 agent automation.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/draeden79/microsoft-365-graph-openclawWhat This Skill Does
The microsoft-365-graph-openclaw skill integrates your AI agent directly with the Microsoft 365 ecosystem. By leveraging the Microsoft Graph API, this skill allows your agent to manage emails, calendar events, OneDrive files, and contacts autonomously. A standout feature is the inclusion of webhook-based wake signals, which move your agent away from inefficient, constant polling of the inbox. This significantly reduces recurring LLM operational costs while ensuring your agent remains reactive to incoming communications in real-time. It acts as a bridge between the agent's reasoning engine and your personal or professional productivity suite.
Installation
To install this skill, run the following command in your terminal:
clawhub install openclaw/skills/skills/draeden79/microsoft-365-graph-openclaw
Ensure that you have Python 3 and the requests library installed on your host system. Once installed, you must perform the OAuth device flow by running the graph_auth.py script provided in the skill repository. This establishes the initial authentication handshake, storing your secure tokens in state/graph_auth.json. For production environments, it is highly recommended to register your own Azure App registration rather than using the default public testing credentials.
Use Cases
- Automated Email Triage: Have the agent read your inbox, summarize threads, and auto-archive or move messages to folders based on sentiment or topic.
- Calendar Coordination: Allow the agent to scan your calendar and propose meeting times based on your current availability and conflict windows.
- Content Management: Enable the agent to fetch, read, or attach files from your OneDrive directly to outgoing emails or internal reports.
- Efficient Notification: Configure webhooks to have the agent wake up exactly when a new high-priority email arrives, saving API rate limits and processing costs.
Example Prompts
- "Check my inbox for unread messages from my manager today and summarize the action items."
- "Find the project proposal file in my OneDrive and send it as an attachment to the client at [email protected] with a professional cover note."
- "Do I have any scheduling conflicts tomorrow between 9 AM and 12 PM? If not, send an email to the team confirming I'm available for the sync."
Tips & Limitations
- Permissions: This skill uses a comprehensive set of scopes. Always review
permission-profiles.mdto ensure you are granting the least privilege necessary for your specific workflow. - Security: Your tokens are stored locally. Ensure the
state/directory is secured and excluded from any public source control systems. - Webhooks: For advanced users, setting up the
OPENCLAW_HOOK_URLis recommended to minimize latency and maximize cost efficiency by moving from polling-based triggers to push-based notifications.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-draeden79-microsoft-365-graph-openclaw": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api