View as Markdown
Microsoft Outlook Calendar icon

Microsoft Outlook Calendar ACTION

Create Calendar Event

Create an event in the user's default calendar. Supports one-time and recurring events. See the documentation and recurring event example.
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Microsoft Outlook Calendar account once, then configure and run Create Calendar Event from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "microsoft_outlook_calendar-create-calendar-event",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    microsoft_outlook_calendar: { authProvisionId: "apn_xxxxxxx" },
    subject: "Subject",
    contentType: "Content Type",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Calendar Event inputs
Property Type Description
subject Subject string
Subject of the event
Required
contentType Content Type string
Content type (default text)
Optional
content Content string
Content
Optional
timeZone Time Zone string
Time zone of the event in supported time zones, See the docs
Required Dynamic
start Start string
Start date-time (yyyy-MM-ddThh:mm:ss) e.g. '2022-04-15T11:20:00'
Required
end End string
End date-time (yyyy-MM-ddThh:mm:ss) e.g. '2022-04-15T13:30:00'
Required
attendees Attendees string[]
Array of email addresses
Required
location Location string
Location of the event
Optional
isOnlineMeeting Is Online Meeting boolean
If it is online meeting or not
Optional
expand Expand object
Additional event details. See object definition
Optional
recurrencePatternType Recurrence Pattern Type string
How often the event repeats. Required when creating a recurring event. See recurrence pattern docs
Optional
recurrenceInterval Recurrence Interval integer
Number of units between occurrences (e.g. every 2 weeks = 2). Required when recurrence pattern type is set.
Optional
recurrenceDaysOfWeek Recurrence Days of Week string[]
Days of the week the event repeats (required for weekly, relativeMonthly, relativeYearly). E.g. monday, tuesday
Optional
recurrenceDayOfMonth Recurrence Day of Month integer
Day of the month (1-31). Required for absoluteMonthly and absoluteYearly.
Optional
recurrenceMonth Recurrence Month integer
Month (1-12). Required for absoluteYearly and relativeYearly.
Optional
recurrenceFirstDayOfWeek Recurrence First Day of Week string
First day of the week for weekly recurrence. Required for weekly pattern. See recurrence pattern
Optional
recurrenceIndex Recurrence Week Index string
Which instance in the month/year (e.g. second Tuesday). Optional for relativeMonthly and relativeYearly; defaults to first.
Optional
recurrenceRangeType Recurrence Range Type string
How the recurrence ends. See recurrence range docs
Optional
recurrenceEndDate Recurrence End Date string
End date for recurrence (yyyy-MM-dd). Required when recurrence range type is endDate.
Optional
recurrenceNumberOfOccurrences Recurrence Number of Occurrences integer
Number of occurrences. Required when recurrence range type is numbered.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
microsoft_outlook_calendar-create-calendar-event
Version
0.0.16
App
Microsoft Outlook Calendar
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes