Skip to content
Notis

Catch OneDrive deletions before they become a surprise

A deleted item can block someone else's work. Send a timely alert so the team can investigate or recover it.

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

Send Email

Sends an email via gmail api using the authenticated user's google profile display name, requiring `is html=true` if the body contains html and valid `s3key`, `mimetype`, `name` for any attachment.

Why this helps

A file disappears and the people relying on it only find out after their work is interrupted.

  • Make deletions visible quickly.
  • Give the team available item details for investigation.
  • Reduce time spent discovering why a shared item is missing.

Setup

Build it in a few focused steps.

  • 1Connect OneDrive and Gmail once in the Notis portal.
  • 2Create an automation in Automations, New Automation, or tell Notis what you want from any channel.
  • 3In one instruction, ask Notis to email your chosen team when a OneDrive file or folder is deleted, including available item details.
  • 4Pick the OneDrive Item Deleted trigger and choose where run reports should go.
  • 5Test with one real deletion event.

Questions about this workflow

Can the email restore the deleted item?

No. This workflow sends an alert. Recovery must be handled in OneDrive.

What will the alert include?

It can include item details returned by the trigger.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

One drive triggers

Gmail actions

Recurring trigger

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

TriggerScheduled

Modify email labels

Adds and/or removes specified gmail labels for a message; ensure `message id` and all `label ids` are valid (use 'listlabels' for custom label ids).

ActionInstant

Webhook trigger

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

TriggerInstant

Create email draft

Creates a gmail email draft, supporting to/cc/bcc, subject, plain/html body (ensure `is html=true` for html), attachments, and threading.

ActionInstant

Onedrivebasetrigger

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

TriggerPolling

Create label

Creates a new label with a unique name in the specified user's gmail account.

ActionInstant

OneDrive File Created Trigger

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

TriggerPolling

Delete Draft

Permanently deletes a specific gmail draft using its id; ensure the draft exists and the user has necessary permissions for the given `user id`.

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

Delete message

Permanently deletes a specific email message by its id from a gmail mailbox; for `user id`, use 'me' for the authenticated user or an email address to which the authenticated user has delegated access.

ActionInstant

OneDrive Folder Created Trigger

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

TriggerPolling

Fetch emails

Fetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval.

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

Fetch message by message ID

Fetches a specific email message by its id, provided the `message id` exists and is accessible to the authenticated `user id`.

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

Fetch Message by Thread ID

Retrieves messages from a gmail thread using its `thread id`, where the thread must be accessible by the specified `user id`.

ActionInstant

Connect any two apps with Notis in the middle.

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