Skip to content
Notis

Keep Affinda clean when OneDrive files are deleted

Let source deletions trigger a deliberate cleanup of the matching parsed document.

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

Delete Document

Tool to delete a specific document by its id. use when you need to remove a document that is incorrect or no longer needed, after confirming the document id.

Why this helps

Deleted source files can leave orphaned documents and cluttered processing workspaces.

  • Reduce orphaned records
  • Keep workspaces tidy
  • Make deletion handling consistent

Setup

Build it in a few focused steps.

  • 1Connect OneDrive and Affinda in Notis once.
  • 2Create an automation for deleted source files.
  • 3Tell Notis to verify the matching Affinda document and delete it only when the match is certain.
  • 4Pick the OneDrive item deleted trigger and a report channel.
  • 5Test with one disposable document.

Questions about this workflow

Is deletion automatic?

The instruction can require a confirmed match before Affinda deletion proceeds.

Can I get a report before deletion?

Ask Notis to report candidates for approval instead of deleting immediately.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

One drive triggers

Affinda actions

Recurring trigger

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

TriggerScheduled

Batch Update Annotations

Tool to update multiple annotations in one request. use when you need to modify parsed values or other fields across many annotations at once.

ActionInstant

Webhook trigger

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

TriggerInstant

Create Collection

Tool to create a new collection. use after you have a valid workspace id and want to group documents by a specific extractor within that workspace.

ActionInstant

Onedrivebasetrigger

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

TriggerPolling

Create Document

Tool to upload a new document for parsing. use when you have the document file or a public url and need to extract structured data immediately.

ActionInstant

OneDrive File Created Trigger

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

TriggerPolling

Create Organization

Tool to create a new organization. use when you have a unique organization name and want to group resources under it.

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

Create RESTHook Subscription

Tool to create a new resthook subscription. use after confirming your webhook endpoint is ready to receive document event notifications.

ActionInstant

OneDrive Folder Created Trigger

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

TriggerPolling

Create Tag

Tool to create a new tag. use when you need to label documents in a specific workspace.

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

Create Validation Result

Tool to create a validation result. use when recording validation outcomes for a document after parsing.

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

Create Workspace

Tool to create a new workspace. use when you need to programmatically create a workspace container within an organization.

ActionInstant

Connect any two apps with Notis in the middle.

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