Remove generated PDFs when their work is done
Send a cleanup request for a generated document and remove it by its Api2pdf response ID.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Delete PDF
Permanently deletes a generated PDF from storage.
Why this helps
Generated files can linger after review, leaving cleanup as one more task to remember.
- Deletes a previously generated PDF using its response ID.
- Lets an explicit webhook request initiate cleanup.
- Helps make document cleanup part of a defined handoff.
Setup
Build it in a few focused steps.
- 1Connect Agenty and Api2pdf once in the Notis portal.
- 2Create a Notis automation and name it for generated PDF cleanup.
- 3Tell Notis to use Agenty to identify the PDF response ID supplied for cleanup and delete that PDF with Api2pdf.
- 4Pick a webhook trigger and choose where run reports should go.
- 5Test with one real generated PDF response ID that is ready to delete.
Questions about this workflow
What identifier is required?
The action deletes a previously generated PDF by its response ID.
Can this recover a deleted file?
No recovery behavior is described by the action. Treat the request as cleanup for a PDF you intend to remove.
Does it delete a local PDF by filename?
The provided action description specifies deletion by response ID, not by a local filename.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Agenty to Api2pdf. A trigger fires from one place; an action lands in another.
Agenty triggers
Api2pdf actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Add Header Footer
Converts HTML to a PDF with headers and footers on each page.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Delete PDF
Permanently deletes a generated PDF from storage.
Check API Status
Check whether the PDF conversion service is available and responding.
Extract PDF Pages
Extracts selected pages from a PDF into a new document.
LibreOffice PDF to HTML
Converts a PDF document to HTML.
LibreOffice Thumbnail
Creates a thumbnail preview of a document’s first page.
Merge PDFs
Combines multiple PDF documents into one.
Optimize PDF
Reduces a PDF’s file size while maintaining its quality.
Connect any two apps with Notis in the middle.
Agenty 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.