Remove obsolete Documint templates after source deletion
When a source is intentionally retired, clear its matching template before it becomes a trap for future work.
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 Template
Tool to permanently delete a single template by its id. use when you need to remove an outdated or unused template; ensure the template id is correct before calling.
Why this helps
Deleted source material leaves outdated templates available long after they should be retired.
- Removes confirmed obsolete templates
- Keeps template libraries trustworthy
- Cuts accidental reuse
Setup
Build it in a few focused steps.
- 1Connect OneDrive and Documint once in Notis.
- 2Create an automation named Retire deleted source template.
- 3Describe that Notis should verify the deleted OneDrive item maps to an obsolete Documint template, then delete that template only when the identifier and retirement intent are clear.
- 4Pick the OneDrive Item Deleted trigger and choose where run reports go.
- 5Test with one intentionally retired source and its linked template.
Questions about this workflow
Will every deleted OneDrive item delete a template?
No. Instruct Notis to act only when the source is explicitly linked to an obsolete template and the identifier is clear.
Is the Documint deletion permanent?
Yes. The action permanently deletes one template, so use a confirmation rule in the instruction.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link One drive to Documint. A trigger fires from one place; an action lands in another.
One drive triggers
Documint actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Delete Template
Tool to permanently delete a single template by its id. use when you need to remove an outdated or unused template; ensure the template id is correct before calling.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Get Template
Tool to retrieve a single template by its id. use when you need to fetch details of a specific template before generating documents.
Onedrivebasetrigger
Base trigger for OneDrive changes using Gmail-style state management. Subclasses override `filter_changes(...)` to extract only the relevant items.
List Documents
Tool to list all documents in the authenticated user's account. use after obtaining a valid api key.
OneDrive File Created Trigger
Triggers when a new file is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
List Templates
Tool to list all templates in the authenticated user's account. use after obtaining a valid api key.
File Updated
Trigger that fires when a OneDrive file's content or metadata changes. Returns file ID, last modified time, and modifier info.
Update Template
Tool to update a single template by its id. use when you need to modify an existing template's settings or layout after fetching its current details.
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 Documint, 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 Documint.