Delete expired 21risk PDFs automatically
Clear out generated compliance files when their retention period ends so cleanup does not depend on memory.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
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
Expired files linger when deletion is handled as a manual follow-up after an audit cycle.
- Reduce stale generated files
- Make retention cleanup repeatable
- Tie deletion to an explicit response id
Setup
Build it in a few focused steps.
- 1Connect 21risk and Api2pdf in Notis once.
- 2Create an automation and tell Notis to delete the generated PDF identified by the 21risk cleanup request.
- 3Choose a notis_webhook trigger for retention events sent to Notis.
- 4Select where Notis should send run reports.
- 5Test the automation with one real response id.
Questions about this workflow
What identifier is required?
The delete action needs the response id of the previously generated PDF.
Can a schedule handle retention cleanup?
Yes. Use a notis_cron trigger when your retention process follows a fixed recurring schedule.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link 21risk to Api2pdf. A trigger fires from one place; an action lands in another.
21risk 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.
Extract PDF Pages
Tool to extract specific pages from a pdf document. use when you need only certain pages from a larger pdf file.
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).
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.
Merge PDFs
Tool to merge multiple pdf documents into a single pdf. use when you need to concatenate several pdfs on the server-side.
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.
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.
21risk 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.