Microsoft Office 365 · Arazzo Workflow

Microsoft Office 365 Schedule and Accept Event

Version 1.0.0

Create an event, then accept it on behalf of the signed-in user.

1 workflow 1 source API 1 provider
View Spec View on GitHub CloudCollaborationEnterpriseMicrosoftProductivityArazzoWorkflows

Provider

microsoft-office-365

Workflows

schedule-and-accept-event
Create an event and accept it in one chain.
Creates an event via POST /me/events (201), then accepts it via POST /me/events/{event-id}/accept (202).
2 steps inputs: comment, endDateTime, startDateTime, subject, timeZone outputs: acceptedEventId, eventId
1
createEvent
Create the event on the default calendar.
2
acceptEvent
Accept the newly created event, optionally sending a comment. Returns 202 Accepted.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Microsoft Office 365 Schedule and Accept Event
  summary: Create an event, then accept it on behalf of the signed-in user.
  description: >-
    Books a meeting and immediately confirms attendance. The workflow creates an
    event on the default calendar, then accepts that same event so the signed-in
    user's response is recorded as accepted. The create returns 201 and the
    accept action returns 202 Accepted. Every step spells out its request inline
    so the flow can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
sourceDescriptions:
- name: calendarApi
  url: ../openapi/microsoft-office-365-calendar-api-openapi.yml
  type: openapi
workflows:
- workflowId: schedule-and-accept-event
  summary: Create an event and accept it in one chain.
  description: >-
    Creates an event via POST /me/events (201), then accepts it via POST
    /me/events/{event-id}/accept (202).
  inputs:
    type: object
    required:
    - subject
    - startDateTime
    - endDateTime
    - timeZone
    properties:
      subject:
        type: string
        description: The subject of the event.
      startDateTime:
        type: string
        description: The event start date-time.
      endDateTime:
        type: string
        description: The event end date-time.
      timeZone:
        type: string
        description: The time zone name for the date-times.
      comment:
        type: string
        description: An optional comment included with the acceptance.
  steps:
  - stepId: createEvent
    description: Create the event on the default calendar.
    operationId: createEvent
    requestBody:
      contentType: application/json
      payload:
        subject: $inputs.subject
        start:
          dateTime: $inputs.startDateTime
          timeZone: $inputs.timeZone
        end:
          dateTime: $inputs.endDateTime
          timeZone: $inputs.timeZone
        responseRequested: true
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      eventId: $response.body#/id
  - stepId: acceptEvent
    description: >-
      Accept the newly created event, optionally sending a comment. Returns 202
      Accepted.
    operationId: acceptEvent
    parameters:
    - name: event-id
      in: path
      value: $steps.createEvent.outputs.eventId
    requestBody:
      contentType: application/json
      payload:
        comment: $inputs.comment
        sendResponse: true
    successCriteria:
    - condition: $statusCode == 202
    outputs:
      acceptedEventId: $steps.createEvent.outputs.eventId
  outputs:
    eventId: $steps.createEvent.outputs.eventId
    acceptedEventId: $steps.acceptEvent.outputs.acceptedEventId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/microsoft-office-365-schedule-and-accept-event-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.