Skip to content
Notis

Keep a Datadog record of new Drive access

When someone grants new access to a Drive file or folder, add a concise record to Datadog for later review.

Trigger

File Shared (Permissions Added)

Triggers when new sharing permissions are granted to a file or folder. Uses Drive's `changes.list` endpoint with inline `permissions` in the `fields` mask so each change carries the file's current permission set provider-atomically. We diff that against `seen_permission_keys` to identify newly added grants. Drive page tokens are the primary cursor; if Drive rejects a stored token, the trigger raises `PollingTriggerError` without clearing state rather than silently re-baselining and dropping events. Limitation: truly ephemeral permissions (added and revoked between two polls without any other file modification in between) are not detected. Drive Activity API would catch those but requires an additional OAuth scope and a different payload contract.

Action

Create event

Creates a new event in datadog. events are useful for tracking deployments, outages, configuration changes, and other important occurrences.

Why this helps

New sharing permissions can go unnoticed, leaving teams unsure who gained access and when.

  • Keep a searchable record of new sharing permissions.
  • Make access changes easier to review during audits.
  • Reduce manual checks for newly shared files and folders.

Setup

Build it in a few focused steps.

  • 1Connect Google Drive and Datadog once in the Notis portal.
  • 2Create an automation in the portal or tell Notis in plain language from any channel.
  • 3Ask Notis in one instruction to create a Datadog event summarizing each newly granted Drive permission.
  • 4Pick the File Shared trigger and choose where run reports go.
  • 5Test by granting a real sharing permission.

Questions about this workflow

What does the trigger detect?

It detects new sharing permissions granted to a Drive file or folder.

Can I see the file's current permission set?

This trigger supplies the current permission set with each change. Notis can use the available permission details in its event summary.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Google Drive to Datadog. A trigger fires from one place; an action lands in another.

Google Drive triggers

Datadog actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Create Dashboard

Create a dashboard in datadog. dashboards provide customizable visualizations for monitoring your infrastructure, applications, and business metrics in a unified view.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Create downtime

Creates a new downtime in datadog to suppress alerts during maintenance windows or planned outages. useful for preventing false alarms during deployments or maintenance.

ActionInstant

Comment Added (Docs/Sheets/Slides)

Triggers when a new comment is added to Google Docs, Sheets, or Slides.

TriggerPolling

Create event

Creates a new event in datadog. events are useful for tracking deployments, outages, configuration changes, and other important occurrences.

ActionInstant

File Created

Triggers when a new file is created in Google Drive.

TriggerPolling

Create monitor

Creates a new datadog monitor to track metrics, logs, or other data sources with configurable alerting thresholds and notifications.

ActionInstant

File Deleted or Trashed

Triggers when a file is moved to trash or permanently deleted in Drive.

TriggerPolling

Create SLO

Create a service level objective (slo) in datadog. slos help you define and track reliability targets for your services, enabling data-driven decisions about service quality and reliability investments.

ActionInstant

File Shared (Permissions Added)

Triggers when new sharing permissions are granted to a file or folder. Uses Drive's `changes.list` endpoint with inline `permissions` in the `fields` mask so each change carries the file's current permission set provider-atomically. We diff that against `seen_permission_keys` to identify newly added grants. Drive page tokens are the primary cursor; if Drive rejects a stored token, the trigger raises `PollingTriggerError` without clearing state rather than silently re-baselining and dropping events. Limitation: truly ephemeral permissions (added and revoked between two polls without any other file modification in between) are not detected. Drive Activity API would catch those but requires an additional OAuth scope and a different payload contract.

TriggerPolling

Create Synthetic API Test

Create a synthetic api test in datadog. creates a new synthetic api test that continuously monitors api endpoints from multiple locations worldwide. useful for proactive monitoring of api uptime, performance, and functionality.

ActionInstant

File Updated

Triggers when a file's metadata or content changes in Google Drive.

TriggerPolling

Create Webhook

Create a webhook in datadog. webhooks enable you to receive notifications from datadog monitors and alerts to external services and applications.

ActionInstant

Google Drive Changes

Triggers when changes are detected in a Google Drive.

TriggerPolling

Delete Dashboard

Delete a dashboard in datadog. permanently removes a dashboard from your organization. this action cannot be undone. use with caution.

ActionInstant

Connect any two apps with Notis in the middle.

Google Drive and Datadog, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Datadog.