Skip to content
Notis

Check opportunities when a file disappears

A deleted file can reveal a pipeline risk before it becomes a missed follow-up.

Trigger

OneDrive Item Deleted Trigger

Triggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

Action

Get all opportunities

Pagination through opportunities in affinity yields basic info but excludes field data. for field data, use specified get endpoints. "export data from lists" permission needed.

Why this helps

Deleting a document can quietly remove the context behind an active opportunity.

  • Surface potentially affected opportunities
  • Create a deletion audit trail
  • Protect deal continuity

Setup

Build it in a few focused steps.

  • 1Connect OneDrive and Affinity in Notis.
  • 2Create an automation named Deleted file opportunity review.
  • 3Tell Notis to identify the deleted file context and summarize potentially related Affinity opportunities, noting uncertainty.
  • 4Pick the OneDrive Item Deleted trigger and select the report channel.
  • 5Test with one representative deleted file event.

Questions about this workflow

Can it restore the deleted file?

No. It only reads Affinity opportunities and reports possible impact.

How does it identify related opportunities?

It uses the file name, path, and any context you provide in the instruction.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link One drive to Affinity. A trigger fires from one place; an action lands in another.

One drive triggers

Affinity actions

Recurring trigger

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

TriggerScheduled

Get a company s list entries

Summarize company data across all lists, including list-specific fields and metadata like creation date and author. access requires "export data from lists" permission.

ActionInstant

Webhook trigger

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

TriggerInstant

Get a company s lists

Returns metadata for all the lists on which the given company appears.

ActionInstant

Onedrivebasetrigger

Base trigger for OneDrive changes using Gmail-style state management. Subclasses override `filter_changes(...)` to extract only the relevant items.

TriggerPolling

Get all companies

Affinity api allows paginated access to company info and custom fields. use `fieldids` or `fieldtypes` to specify data in a request. retrieve field ids/types via get `/v2/companies/fields`. export permission needed.

ActionInstant

OneDrive File Created Trigger

Triggers when a new file is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

TriggerPolling

Get all list entries on a list

Access and export essential data and metadata for companies, persons, or opportunities from a list, specifying data via `fieldids` or `fieldtypes`. "export data from lists" permission is necessary.

ActionInstant

File Updated

Trigger that fires when a OneDrive file's content or metadata changes. Returns file ID, last modified time, and modifier info.

TriggerPolling

Get all list entries on a saved view

Use the endpoint to access rows in a saved view with specific filters and selected fields from a web app. it doesn't maintain sort order, supports only sheet-type views, and requires export permissions.

ActionInstant

OneDrive Folder Created Trigger

Triggers when a new folder is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

TriggerPolling

Get all opportunities

Pagination through opportunities in affinity yields basic info but excludes field data. for field data, use specified get endpoints. "export data from lists" permission needed.

ActionInstant

OneDrive Item Deleted Trigger

Triggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.

TriggerPolling

Get all persons

The affinity api offers paginated access to person data using `fieldids` or `fieldtypes`. bulk extraction needs special permissions and supports multiple parameters.

ActionInstant

Item Moved or Renamed

Triggers when a file or folder is moved to a different path or renamed in OneDrive. Includes both old and new path/name data in the payload.

TriggerPolling

Get a person s list entries

Summary: browse rows for a person in all lists, showing field data and entry metadata like creation time and author. requires "export data from lists" permission.

ActionInstant

Connect any two apps with Notis in the middle.

One drive and Affinity, 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 Affinity.