Outlook calendar automation

From davepoon/buildwithclaude · View interactive version

Outlook calendar automation is an AI agent skill from the GitHub repository davepoon/buildwithclaude. Automate Outlook Calendar tasks via Rube MCP (Composio): create events, manage attendees, find meeting times, and handle invitations. Always search tools first for current schemas.

How to use this skill

Skill file

Outlook Calendar Automation via Rube MCP

Automate Outlook Calendar operations through Composio's Outlook toolkit via Rube MCP.

Toolkit docs: composio.dev/toolkits/outlook

Prerequisites

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit outlook
  3. If connection is not ACTIVE, follow the returned auth link to complete Microsoft OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Create Calendar Events

When to use: User wants to schedule a new event on their Outlook calendar

Tool sequence:

  1. OUTLOOK_LIST_CALENDARS - List available calendars [Optional]
  2. OUTLOOK_CALENDAR_CREATE_EVENT - Create the event [Required]

Key parameters:

Pitfalls:

2. List and Search Events

When to use: User wants to find events on their calendar

Tool sequence:

  1. OUTLOOK_GET_MAILBOX_SETTINGS - Get user timezone for accurate queries [Prerequisite]
  2. OUTLOOK_LIST_EVENTS - Search events with filters [Required]
  3. OUTLOOK_GET_EVENT - Get full details for a specific event [Optional]
  4. OUTLOOK_GET_CALENDAR_VIEW - Get events active during a time window [Alternative]

Key parameters:

Pitfalls:

3. Update Events

When to use: User wants to modify an existing calendar event

Tool sequence:

  1. OUTLOOK_LIST_EVENTS - Find the event to update [Prerequisite]
  2. OUTLOOK_UPDATE_CALENDAR_EVENT - Update the event [Required]

Key parameters:

Pitfalls:

4. Delete Events and Decline Invitations

When to use: User wants to remove an event or decline a meeting invitation

Tool sequence:

  1. OUTLOOK_DELETE_EVENT - Delete an event [Optional]
  2. OUTLOOK_DECLINE_EVENT - Decline a meeting invitation [Optional]

Key parameters:

Pitfalls:

5. Find Available Meeting Times

When to use: User wants to find optimal meeting slots across multiple people

Tool sequence:

  1. OUTLOOK_FIND_MEETING_TIMES - Get meeting time suggestions [Required]
  2. OUTLOOK_GET_SCHEDULE - Check free/busy for specific people [Alternative]

Key parameters:

Pitfalls:

Common Patterns

Event ID Resolution

1. Call OUTLOOK_LIST_EVENTS with time-bound filter
2. Find target event by subject or other criteria
3. Extract event id (e.g., 'AAMkAGI2TAAA=')
4. Use in UPDATE, DELETE, or GET_EVENT calls

OData Filter Syntax for Calendar

Time range filter:

filter: "start/dateTime ge '2024-07-01T00:00:00Z' and start/dateTime le '2024-07-31T23:59:59Z'"

Subject contains:

filter: "contains(subject, 'Project Review')"

Combined:

filter: "contains(subject, 'Review') and categories/any(c:c eq 'Work')"

Timezone Handling

Online Meeting Creation

1. Set is_online_meeting: true
2. Set online_meeting_provider: 'teamsForBusiness'
3. Create event with OUTLOOK_CALENDAR_CREATE_EVENT
4. Teams join link available in response onlineMeeting field
5. Or retrieve via OUTLOOK_GET_EVENT for the full join URL

Known Pitfalls

DateTime Formats:

OData Filter Errors:

Attendee Management:

Response Structure:

Quick Reference

| Task | Tool Slug | Key Params |

|------|-----------|------------|

| Create event | OUTLOOK_CALENDAR_CREATE_EVENT | subject, start_datetime, end_datetime, time_zone |

| List events | OUTLOOK_LIST_EVENTS | filter, select, top, timezone |

| Get event details | OUTLOOK_GET_EVENT | event_id |

| Calendar view | OUTLOOK_GET_CALENDAR_VIEW | start_datetime, end_datetime |

| Update event | OUTLOOK_UPDATE_CALENDAR_EVENT | event_id, subject, start_datetime |

| Delete event | OUTLOOK_DELETE_EVENT | event_id, send_notifications |

| Decline event | OUTLOOK_DECLINE_EVENT | event_id, comment |

| Find meeting times | OUTLOOK_FIND_MEETING_TIMES | attendees, meetingDuration |

| Get schedule | OUTLOOK_GET_SCHEDULE | Schedules, StartTime, EndTime |

| List calendars | OUTLOOK_LIST_CALENDARS | user_id |

| Mailbox settings | OUTLOOK_GET_MAILBOX_SETTINGS | select |


Powered by Composio

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.