Keep updated PDFs ready to share
When the source message changes, prepare the revised attachment for easier sharing.
Trigger
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
Action
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.
Why this helps
An updated file can lose its optimized version when a conversation gets edited or corrected.
- Processes a corrected attachment without restarting the workflow manually.
- Keeps file preparation aligned with the latest Telegram message.
- Reduces friction when a document is revised.
Setup
Build it in a few focused steps.
- 1Connect Telegram and Api2pdf to Notis once in the portal.
- 2Create an automation in the portal or ask Notis in plain language.
- 3In one instruction, say to optimize the revised PDF attached to an edited Telegram message.
- 4Select the message edited trigger and a channel for run reports.
- 5Test by editing a message to include an updated sample PDF.
Questions about this workflow
Will it use the revised attachment?
Describe in the prompt that the action should process the document attached to the edited message.
Why use the edit trigger?
It is useful when the corrected document arrives as an edit to a message the bot can see.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Telegram to Api2pdf. A trigger fires from one place; an action lands in another.
Telegram 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 Message Received
Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.
Extract PDF Pages
Tool to extract specific pages from a pdf document. use when you need only certain pages from a larger pdf file.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
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).
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
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 Edited
Triggered when a message in a chat your bot can see is edited by its sender.
Merge PDFs
Tool to merge multiple pdf documents into a single pdf. use when you need to concatenate several pdfs on the server-side.
New Chat Member
Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.
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.
Telegram 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.