Review Control D devices when a Drive file is shared
Pair a new file share with a timely device inventory check.
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
Get Devices
Tool to list all devices associated with the account. Use when you need to retrieve device inventory after authentication.
Why this helps
A new sharing permission may warrant a quick access review, but the follow-up is easy to miss.
- Prompt an access review when sharing changes
- Bring device inventory into the run report
- Avoid a separate manual lookup
Setup
Build it in a few focused steps.
- 1Connect Google Drive and Control D once in the Notis portal.
- 2Create an automation in Automations, New Automation, and name it.
- 3Tell Notis to retrieve the Control D device inventory when a Drive file receives new sharing permissions and summarize the event for review.
- 4Pick the File Shared trigger and choose where run reports go.
- 5Test with one real file sharing event and review the report.
Questions about this workflow
Does this change any Control D device settings?
No. It retrieves the device inventory for review.
Can the report identify who received Drive access?
The trigger detects new sharing permissions. The instruction can summarize details available in the event and its returned data.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Drive to Control d. A trigger fires from one place; an action lands in another.
Google Drive triggers
Control d actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Delete Device by ID
Tool to delete a Control-D device. Use when you need to remove a device by its identifier after confirming the device_id.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Delete Profile by ID
Tool to delete a profile. Use when you need to remove a profile by its ID after ensuring it is not enforced by any device.
Comment Added (Docs/Sheets/Slides)
Triggers when a new comment is added to Google Docs, Sheets, or Slides.
Delete Profile Rule by Hostname
Tool to delete a specific custom rule by hostname from a profile. Use after confirming profile_id and hostname.
File Created
Triggers when a new file is created in Google Drive.
Delete Profile Rule by Rule ID
Tool to delete a specific custom rule by its ID within a profile. Use after confirming profile_id and rule_id.
File Deleted or Trashed
Triggers when a file is moved to trash or permanently deleted in Drive.
Delete Profile Rule in Folder
Tool to delete a specific custom rule within a folder. Use after confirming profile_id, rule_id, and folder_id.
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.
Delete Profile Schedule
Tool to delete a specific schedule within a profile. Use after confirming profile_id and schedule_id.
File Updated
Triggers when a file's metadata or content changes in Google Drive.
List Known Access IPs
Tool to list known IPs associated with the account. Use when you need to retrieve recent access IPs for device resolver queries.
Google Drive Changes
Triggers when changes are detected in a Google Drive.
Get Analytics Endpoints
Tool to list analytics storage regions and their endpoints. Use after authenticating to retrieve available analytics regions.
Connect any two apps with Notis in the middle.
Google Drive and Control d, 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 Control d.