Clear out a generated PDF on request
When a team member identifies a generated PDF that should be removed, handle the cleanup from the conversation.
Trigger
Channel Message Received
Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.
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
Tracking down an old generated file and deleting it manually can slip behind more urgent work.
- Handle a direct cleanup request in context.
- Use the generated PDF's response ID for removal.
- Reduce lingering file cleanup tasks.
Setup
Build it in a few focused steps.
- 1Connect Slack and Api2pdf to Notis once in the portal.
- 2Create an automation in the portal or ask Notis conversationally.
- 3Write one instruction to delete a previously generated PDF only when its Api2pdf response ID is provided and the channel message clearly requests removal.
- 4Select the Slack channel-message trigger and choose a run-report channel.
- 5Test with a safe generated PDF response ID that is okay to delete.
Questions about this workflow
What identifier is needed?
The action deletes a previously generated PDF using its Api2pdf response ID.
Can a vague cleanup message trigger deletion?
Tell Notis to require both a clear request and the exact response ID before acting.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Slack to Api2pdf. A trigger fires from one place; an action lands in another.
Slack 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.
New Channel Created Trigger
Triggered when a new channel is created in Slack.
Extract PDF Pages
Tool to extract specific pages from a pdf document. use when you need only certain pages from a larger pdf file.
Channel Message Received
Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.
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).
Direct Message Received
Triggered when a new direct message (DM) is sent to a user in Slack. Catches all DMs across all DM channels.
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.
Message Reaction Added
Triggered when a reaction is added to a message in Slack. Supports optional filtering by channel and emoji name.
Merge PDFs
Tool to merge multiple pdf documents into a single pdf. use when you need to concatenate several pdfs on the server-side.
Message Reaction Removed
Triggered when a reaction is removed from a message in Slack. Supports optional filtering by channel and emoji name.
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.
Reaction Added Trigger
DEPRECATED: use `SLACK_MESSAGE_REACTION_ADDED` instead. Triggered when a reaction is added to a message in Slack.
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.
Slack 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.