Turn a clear approval into a ready document
When a reviewer taps the approval button on a bot message, Notis can generate the corresponding final document from your template.
Trigger
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Action
Generate documents from template
Tool to generate document(s) from a template by merging JSON data or uploading a data file. Use when you need to programmatically produce one or more documents and receive metadata including a download URL.
Why this helps
Approvals can linger in chat when the next step requires someone to remember and recreate a document.
- Make approval a clear signal for the next step.
- Reduce manual handoff after a review.
- Generate final documents from a consistent template.
Setup
Build it in a few focused steps.
- 1Connect Telegram and Docugenerate to Notis once in the portal.
- 2Create an automation in the portal or ask Notis to set one up conversationally.
- 3In one prompt, tell Notis to generate the specified final document only when it receives the relevant approval callback, and to use the reviewed information and selected template.
- 4Pick Telegram Callback Query Received as the trigger and select a channel for run reports.
- 5Test with one real inline approval and verify the output before using it operationally.
Questions about this workflow
Does this create the approval button?
No. The trigger listens for a user tapping an inline keyboard button attached to a bot message. The message and button must already exist.
Can different buttons mean different things?
Describe the intended approval button clearly in the prompt and test the callback behavior with your bot setup.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Telegram to Docugenerate. A trigger fires from one place; an action lands in another.
Telegram triggers
Docugenerate actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Generate documents from template
Tool to generate document(s) from a template by merging JSON data or uploading a data file. Use when you need to programmatically produce one or more documents and receive metadata including a download URL.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Generate documents as ZIP
Tool to bulk generate multiple documents into a ZIP archive. Use when you need a batch of docs packaged as ZIP.
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.
Generate document with attachments
Tool to generate a PDF with embedded attachments. Use when you need to bundle extra files into the PDF output.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
Generate document with merge
Tool to generate a PDF and append additional PDF files. Use when you need to merge extra pages into a generated document.
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Update Document
Tool to update a document's metadata. Use when renaming an existing document after confirming the document ID.
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
Get or list templates
Tool to retrieve or list existing templates. Use when needing template IDs and metadata before making updates or generating documents.
New Chat Member
Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.
Update Template
Tool to update a template’s file and settings. Use after confirming the template ID and desired inputs.
Connect any two apps with Notis in the middle.
Telegram and Docugenerate, 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 Docugenerate.