Check email context after a OneDrive item is deleted
A deletion should trigger a quick context check before it becomes a costly mystery.
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
List Messages
List messages from an agentmail inbox
Why this helps
Deleted files are hard to recover when the original request or approval is buried in email.
- Find related requests faster
- Support recovery decisions
- Reduce investigation time
Setup
Build it in a few focused steps.
- 1Connect OneDrive and Agent mail in the Notis portal.
- 2Create an automation for deletion context checks.
- 3Tell Notis to list relevant Agent mail messages about the deleted item and summarize possible recovery instructions.
- 4Pick the OneDrive Item Deleted trigger.
- 5Choose a report channel and test with one real deletion event.
Questions about this workflow
Can it restore the deleted item?
No. This workflow lists email context for review. Restoration must be handled through OneDrive.
What information is used to find messages?
Notis can use the deleted item's available name, path, identifier, and timing to search messages.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link One drive to Agent mail. A trigger fires from one place; an action lands in another.
One drive triggers
Agent mail actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Get Message
Get a specific message from an agentmail inbox
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
List Messages
List messages from an agentmail inbox
Onedrivebasetrigger
Base trigger for OneDrive changes using Gmail-style state management. Subclasses override `filter_changes(...)` to extract only the relevant items.
Send Email
Send an email using agentmail api
OneDrive File Created Trigger
Triggers when a new file is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
File Updated
Trigger that fires when a OneDrive file's content or metadata changes. Returns file ID, last modified time, and modifier info.
OneDrive Folder Created Trigger
Triggers when a new folder is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
OneDrive Item Deleted Trigger
Triggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
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.
Connect any two apps with Notis in the middle.
One drive and Agent mail, 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 Agent mail.