Skip to content
Notis

Delete retained 21risk PDFs on schedule

Make routine document cleanup happen on a known cadence so expired generated files do not pile up.

Trigger

Recurring schedule

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

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

Retention cleanup is easy to postpone when it depends on someone remembering every generated file.

  • Run predictable retention cleanup
  • Reduce stale generated artifacts
  • Keep deletion tied to supplied response ids

Setup

Build it in a few focused steps.

  • 1Connect 21risk and Api2pdf in Notis once.
  • 2Create an automation and tell Notis to delete each generated PDF whose response id is listed for retention cleanup.
  • 3Choose a notis_cron trigger and set the retention schedule.
  • 4Select where Notis should send run reports.
  • 5Test the automation with one real cleanup set.

Questions about this workflow

How does the workflow know what to delete?

The available request context must include the response ids for files whose retention has ended.

Can I review results?

Choose a report channel in Notis to receive the run result and any errors.

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.

TriggerScheduled

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.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Delete PDF

Tool to delete a previously generated pdf. use when you need to immediately remove a pdf by its response id.

ActionInstant

Extract PDF Pages

Tool to extract specific pages from a pdf document. use when you need only certain pages from a larger pdf file.

ActionInstant

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).

ActionInstant

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.

ActionInstant

Merge PDFs

Tool to merge multiple pdf documents into a single pdf. use when you need to concatenate several pdfs on the server-side.

ActionInstant

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.

ActionInstant

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.

ActionInstant

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.