Skip to content
Notis

Review customer records when a policy file is deleted

A deleted file can prompt a check that the customer record still has the needed context.

Trigger

File Deleted or Trashed

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

Action

Create task post endpoint

Creates a new task in agencyzoom; ensure `assigneeid`, `customerid`, or `leadid` are valid existing entities if provided, and use `contactemail`, `customerid`, or `leadid` to link the task to a contact.

Why this helps

Removing a policy file from Drive can go unnoticed by teammates who rely on it for customer context.

  • Prompt a review when a relevant policy document is removed.
  • Avoid treating file deletion as a policy cancellation.
  • Link the reminder to a customer only when the match is reliable.

Setup

Build it in a few focused steps.

  • 1Connect Google Drive and Agencyzoom once in the Notis portal.
  • 2Create an automation in Automations, New Automation, and give it a name and prompt.
  • 3Tell Notis to create a review task for a deleted policy file only when its customer can be matched, and not to infer policy cancellation from deletion.
  • 4Pick the Google Drive File Deleted or Trashed trigger and choose where run reports go.
  • 5Test with one real file deletion event.

Questions about this workflow

Does deleting the file delete a policy in Agencyzoom?

No. This workflow creates a review task. It does not delete or change a policy.

Does the trigger include the file details?

It indicates that a file was moved to trash or permanently deleted. Ask Notis to use only the identifying context available in the event.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Google Drive triggers

Agencyzoom actions

Recurring trigger

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

TriggerScheduled

Authenticate for JWT via V4 SSO

Authenticates a user via v4 single sign-on (sso) using the provided callback `code` (typically required for success) to retrieve a jwt and initial user session information.

ActionInstant

Webhook trigger

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

TriggerInstant

Batch create contacts

Creates 1 to 5 new contacts in agencyzoom in a single batch api call.

ActionInstant

Comment Added (Docs/Sheets/Slides)

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

TriggerPolling

Batch create leads

Creates up to 5 new leads in agencyzoom; all referenced entity ids (e.g., pipeline, user, custom field names) must exist, and organization `name` is required if `isbusiness` is true.

ActionInstant

File Created

Triggers when a new file is created in Google Drive.

TriggerPolling

Batch delete tasks

Deletes multiple agencyzoom tasks in a batch; task deletion is permanent and the response indicates overall batch success, not individual task status.

ActionInstant

File Deleted or Trashed

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

TriggerPolling

Change lead status

Updates a lead's lifecycle status (e.g., active, won, lost, x-dated) and can optionally manage its workflow, pipeline, stage, source, or associated tags.

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

Mark task as completed

Marks an existing and accessible task in agencyzoom as 'completed'; this action does not return the full updated task object.

ActionInstant

File Updated

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

TriggerPolling

Create a customer note

Adds a new note to an existing customer's profile using their id; cannot be used to edit or retrieve existing notes.

ActionInstant

Google Drive Changes

Triggers when changes are detected in a Google Drive.

TriggerPolling

Create a driver for an opportunity

Creates a new driver record associated with an existing agencyzoom opportunity using its id; full driver details are handled by the api endpoint directly, not specified in this action's request.

ActionInstant

Connect any two apps with Notis in the middle.

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