Sync Office 365 Calendar events to Google Calendar

Developer ToolAPI IntegrationRecipe Tools

What it does

When a new event arrives via HTTP webhook, this automation retrieves all users from Office 365 and batches their calendar events. Each user's events sync to Google Calendar in sequence so nothing is missed.

Who it's for

IT teams who need to keep Office 365 and Google Calendar in sync across the organization.

How teams use this

Sync calendar across two platforms

Keep Office 365 and Google Calendar in sync so teams using either platform see the same events. No manual updates needed when someone creates an event in one system.

Onboard new users to Google Calendar

When a new employee is added to Office 365, filter for newly created users only and sync their calendar events to Google Calendar automatically in the next webhook trigger.

Sync events for specific departments

Add a department filter condition to limit the sync to only users in certain departments so calendar data stays within team boundaries before events are sent to Google Calendar.

How it works

  1. Receive new event via webhook. A new calendar event triggers this automation in real time through an HTTP webhook endpoint that listens for Office 365 changes.
  2. Get auth token from Office 365. Send a POST request via HTTP to Office 365 login endpoint with client credentials to obtain an access token for reading user and event data.
  3. Fetch all users from Office 365. Send a GET request via HTTP to retrieve the complete list of all users and their principal names from the Office 365 directory.
  4. Batch and sync each user's events. Loop through each user, batch their calendar events, and send them via HTTP to Google Calendar so all events stay synchronized across both systems.