Clean up Agenty lists after OneDrive deletions
Prevent abandoned result lists from piling up after source cleanup.
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 List by ID
Tool to delete a specific list by its id. use when you need to permanently remove a list after confirming it exists.
Why this helps
Deleted source folders leave behind confusing lists and obsolete data destinations.
- Reduces stale collections
- Keeps source and destination lifecycles aligned
- Adds a clear cleanup report
Setup
Build it in a few focused steps.
- 1Connect OneDrive and Agenty once in Notis.
- 2Create an automation that explains which deleted items are safe to remove.
- 3Pick the OneDrive Item Deleted trigger.
- 4Choose a report destination.
- 5Test with one disposable source.
Questions about this workflow
Can deletion require a confirmation rule?
Yes. Instruct Notis to report candidates instead of deleting when your rule is not met.
Does it delete OneDrive data too?
No. The action targets the Agenty list.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link One drive to Agenty. A trigger fires from one place; an action lands in another.
One drive triggers
Agenty actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Clone Agent by ID
Tool to clone an existing agent by its id. use when you need to duplicate an agent's configuration and optionally start the clone immediately.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create Agent
Tool to create a new agent. use when you need to add an agent with configuration and optional auto-start.
Onedrivebasetrigger
Base trigger for OneDrive changes using Gmail-style state management. Subclasses override `filter_changes(...)` to extract only the relevant items.
Get Agent Templates
Tool to fetch all public agent templates and sample agents. use when listing available templates for users to select.
OneDrive File Created Trigger
Triggers when a new file is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
Delete Agent by ID
Tool to delete a single agent by its id. use when you need to permanently remove an agent after confirming it exists.
File Updated
Trigger that fires when a OneDrive file's content or metadata changes. Returns file ID, last modified time, and modifier info.
Fetch all agents
Tool to fetch all active agents under an account. use after authenticating when you need to list agents with pagination and sorting.
OneDrive Folder Created Trigger
Triggers when a new folder is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
Get Agent by ID
Tool to fetch details of a specific agent by its id. use when you need full agent configuration before taking further actions.
OneDrive Item Deleted Trigger
Triggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
Update Agent by ID
Tool to update an agent's configuration and settings by agent id. use when you need to modify an existing agent after retrieving its current settings. example: "update agent 123 with new name and tags."
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.
Create API Key
Tool to create a new api key. use when you need to provision access credentials for the api.
Connect any two apps with Notis in the middle.
One drive and Agenty, 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 Agenty.