Clean up PDF outputs after access changes
Remove obsolete generated copies when sharing rules change.
Trigger
Sharing Permission Added or Removed
Sharing Permission Added or Removed
Action
Delete PDF
Tool to delete a previously generated pdf. use when you need to immediately remove a pdf by its response id.
Why this helps
Generated PDFs can remain available after the source file is no longer shared.
- Reduce stale output exposure
- Keep generated files aligned with access changes
- Automate cleanup decisions
Setup
Build it in a few focused steps.
- 1Connect OneDrive and Api2pdf once in the Notis portal.
- 2Create an automation telling Notis which generated PDF response should be deleted when access is removed.
- 3Pick the Sharing Permission Added or Removed trigger.
- 4Choose where cleanup reports should go.
- 5Test with one real permission removal.
Questions about this workflow
Can this delete the original OneDrive file?
The action deletes a previously generated Api2pdf PDF response, not the source file.
What if permission is added instead?
Include the exact condition in your instruction so cleanup runs only when permission is removed.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link One drive to Api2pdf. A trigger fires from one place; an action lands in another.
One drive triggers
Api2pdf actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Add Header Footer
Tool to add headers and footers to a pdf document. use when you need consistent page numbering, titles, or custom branding on every page.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Delete PDF
Tool to delete a previously generated pdf. use when you need to immediately remove a pdf by its response id.
Onedrivebasetrigger
Base trigger for OneDrive changes using Gmail-style state management. Subclasses override `filter_changes(...)` to extract only the relevant items.
Extract PDF Pages
Tool to extract specific pages from a pdf document. use when you need only certain pages from a larger pdf file.
OneDrive File Created Trigger
Triggers when a new file is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
LibreOffice PDF to HTML
Tool to convert a pdf document to html using libreoffice. use when you need html output of a pdf file (experimental; images may be excluded).
File Updated
Trigger that fires when a OneDrive file's content or metadata changes. Returns file ID, last modified time, and modifier info.
LibreOffice Thumbnail
Tool to generate a thumbnail image of a document using libreoffice. use when you need a quick visual preview of a pdf or office file's first page.
OneDrive Folder Created Trigger
Triggers when a new folder is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
Merge PDFs
Tool to merge multiple pdf documents into a single pdf. use when you need to concatenate several pdfs on the server-side.
OneDrive Item Deleted Trigger
Triggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
Optimize PDF
Tool to optimize a pdf document to reduce file size while maintaining quality. use when you need to minimize storage or bandwidth for an existing pdf.
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.
Reorder PDF Pages
Tool to reorder pages of a pdf document. use when you need to rearrange pages into a new order by specifying page indices.
Connect any two apps with Notis in the middle.
One drive and Api2pdf, 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 Api2pdf.