Make a document follow-up one tap away
A button on a Telegram message can signal that an identified Aryn document should be retrieved.
Trigger
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Action
Get Document by ID
Tool to retrieve a document by id. use after both docset and document ids are available.
Why this helps
Small follow-up tasks can stay open because locating and requesting the right document takes extra steps.
- Turn a deliberate button tap into a document lookup.
- Keep document follow-up tied to the relevant Telegram message.
- Reduce repeated manual retrieval steps.
Setup
Build it in a few focused steps.
- 1Connect Telegram and Aryn to Notis once in the portal.
- 2Create a portal automation named for button-triggered document retrieval.
- 3Write one plain-language prompt asking Notis to retrieve the Aryn document identified in the callback context when a user taps the relevant inline button.
- 4Select Telegram Callback Query Received as the trigger and choose a channel for run reports.
- 5Test by tapping the button on a real message that identifies the docset and document.
Questions about this workflow
What does the button need to identify?
The retrieval action needs both a docset ID and a document ID.
Can any Telegram button trigger it?
The prompt should describe which relevant button tap represents the document retrieval request.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Telegram to Aryn. A trigger fires from one place; an action lands in another.
Telegram triggers
Aryn actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create DocSet
Tool to create a new docset. use when you need to allocate a storage container before adding documents.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create DocSet
Tool to create a new docset. use when you need to allocate a storage container before adding documents.
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.
Delete DocSet
Tool to delete a docset and all its documents. use after confirming the docset id, when you need to permanently remove a docset and its contents.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
Generate plan
Tool to generate a query plan without executing it. use when you need to review the logical plan before running your query (e.g., "generate a plan for revenue breakdown by region").
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Get DocSet Metadata
Tool to retrieve metadata for a specific docset. use when you have the docset id and optionally need usage statistics.
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
Get Document by ID
Tool to retrieve a document by id. use after both docset and document ids are available.
New Chat Member
Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.
Get Document Binary
Tool to retrieve the binary content of a document by docset id and document id.
List Async Tasks
Tool to list all outstanding asynchronous tasks for the account. use when you need to check pending or running tasks.
Connect any two apps with Notis in the middle.
Telegram and Aryn, 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 Aryn.