Skip to content
Notis

Review agent work when a Drive source is deleted

When a Drive source disappears, Notis can retrieve your Agenty jobs for a focused follow-up check.

Trigger

File Deleted or Trashed

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

Action

Fetch all jobs

Tool to fetch all jobs under an account. use when you need to view and filter the list of jobs with pagination and sorting.

Why this helps

Deleting a source file does not automatically make it clear which agent jobs may have used it.

  • Create a prompt follow-up when source material is removed.
  • Bring job history into a cleanup review.
  • Avoid losing track of agent work tied to a removed file.

Setup

Build it in a few focused steps.

  • 1Connect Google Drive and Agenty once in the Notis portal.
  • 2Create an automation in Automations, New Automation, and name the review workflow.
  • 3Tell Notis to retrieve Agenty jobs after a Drive deletion and summarize which may need review based on available job details.
  • 4Pick File Deleted or Trashed as the trigger and choose where run reports go.
  • 5Test with a real, safe deletion event and review the report.

Questions about this workflow

Can this prove which jobs used the deleted file?

Only if the available job details or your agent configuration preserve that relationship. Otherwise ask Notis to flag possible jobs for review.

Does this stop jobs automatically?

No. This workflow retrieves jobs for review. Stopping a job requires the job's id and the separate stop action.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Google Drive triggers

Agenty actions

Recurring trigger

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

TriggerScheduled

Clone Agent by ID

Tool to clone an existing agent by its id. use when you need to duplicate an agent's configuration and optionally start the clone immediately.

ActionInstant

Webhook trigger

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

TriggerInstant

Create Agent

Tool to create a new agent. use when you need to add an agent with configuration and optional auto-start.

ActionInstant

Comment Added (Docs/Sheets/Slides)

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

TriggerPolling

Get Agent Templates

Tool to fetch all public agent templates and sample agents. use when listing available templates for users to select.

ActionInstant

File Created

Triggers when a new file is created in Google Drive.

TriggerPolling

Delete Agent by ID

Tool to delete a single agent by its id. use when you need to permanently remove an agent after confirming it exists.

ActionInstant

File Deleted or Trashed

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

TriggerPolling

Fetch all agents

Tool to fetch all active agents under an account. use after authenticating when you need to list agents with pagination and sorting.

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

Get Agent by ID

Tool to fetch details of a specific agent by its id. use when you need full agent configuration before taking further actions.

ActionInstant

File Updated

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

TriggerPolling

Update Agent by ID

Tool to update an agent's configuration and settings by agent id. use when you need to modify an existing agent after retrieving its current settings. example: "update agent 123 with new name and tags."

ActionInstant

Google Drive Changes

Triggers when changes are detected in a Google Drive.

TriggerPolling

Create API Key

Tool to create a new api key. use when you need to provision access credentials for the api.

ActionInstant

Connect any two apps with Notis in the middle.

Google Drive and Agenty, 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 Agenty.