Retire the matching Basin webhook when a Drive source is deleted
When a source document is retired, use that signal to review and clean up the webhook tied to it.
Trigger
File Deleted or Trashed
Triggers when a file is moved to trash or permanently deleted in Drive.
Action
Delete Webhook
Tool to delete a specific webhook. use when you need to remove a webhook from a form after confirming its id.
Why this helps
Old callbacks can remain active after the Drive file documenting their purpose has been removed.
- Use a source retirement event to prompt integration cleanup.
- Reduce manual tracking of obsolete callbacks.
- Require the target webhook identity in the prompt before deletion.
Setup
Build it in a few focused steps.
- 1Connect Google Drive and Basin once in the Notis portal.
- 2Create an automation in Automations, New Automation, and name it for webhook cleanup.
- 3Tell Notis to delete only the corresponding Basin webhook and include how to confirm its webhook ID from available context.
- 4Pick the Google Drive File Deleted or Trashed trigger and choose a report channel.
- 5Test with one real retirement event and verify the intended webhook ID before relying on it.
Questions about this workflow
Can the workflow safely infer a webhook ID from the deleted file?
Only if a reliable association is available in the prompt context. The delete action needs the correct webhook ID, so include or establish that association explicitly.
Does this delete the form too?
No. This action removes a specific webhook. It does not delete the Basin form.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Drive to Basin. A trigger fires from one place; an action lands in another.
Google Drive triggers
Basin actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create Form
Tool to create a new form in basin. use when you need to automate form setup with name, timezone, and project association; optionally configure redirect, notifications, or spam protection.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create Form Webhook
Tool to create a new webhook for a specific form. use when you need to programmatically add a webhook once you have the form id and callback url confirmed.
Comment Added (Docs/Sheets/Slides)
Triggers when a new comment is added to Google Docs, Sheets, or Slides.
Create Notification
Tool to create a new notification webhook. use when you need to forward form submissions to an external service.
File Created
Triggers when a new file is created in Google Drive.
Create Project
Tool to create a new basin project. use when you need a new organizational container for forms. example: "create a project named marketing leads."
File Deleted or Trashed
Triggers when a file is moved to trash or permanently deleted in Drive.
Delete Form
Tool to delete a form. use when permanently removing a form after it's no longer needed. ensure the form id is correct; this operation is irreversible.
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 Integration
Tool to delete a form webhook integration. use when removing an obsolete integration by id.
File Updated
Triggers when a file's metadata or content changes in Google Drive.
Delete Project
Tool to delete a project. use when you need to remove a project after confirming its id. returns the deleted project's details.
Google Drive Changes
Triggers when changes are detected in a Google Drive.
Delete Webhook
Tool to delete a specific webhook. use when you need to remove a webhook from a form after confirming its id.
Connect any two apps with Notis in the middle.
Google Drive and Basin, 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 Basin.