Create Dub links when you tap a Telegram button
Mark a destination ready with one tap, and let Notis prepare its short link in Dub.
Trigger
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Action
Upsert a Link
Tool to create or update a short link in Dub. Use when you need to create a new short link or update an existing one. If the link already exists (matching domain and key), it will be updated; otherwise, a new link will be created.
Why this helps
A destination can be discussed and approved in chat, then forgotten before anyone creates the link.
- Separate link-ready decisions from ordinary chat messages.
- Create the link when someone deliberately taps the relevant button.
- Keep the approval and link task together in Telegram.
Setup
Build it in a few focused steps.
- 1Connect Telegram and Dub to Notis once in the portal.
- 2Create an automation in the portal, or ask Notis conversationally to create it.
- 3Describe in one prompt which button tap means a destination is ready and that Notis should create or update its Dub short link using the available message context.
- 4Select Telegram Callback Query Received as the trigger and choose a channel for run reports.
- 5Test by tapping the configured inline button on a real message with a destination.
Questions about this workflow
Does this trigger on any Telegram button?
The automation starts when the bot receives a callback query. In the prompt, describe the button and message context that should signal a ready destination.
Can the link be updated if it already exists?
Yes. Dub's upsert action creates a link or updates one when the domain and key match.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Telegram to Dub. A trigger fires from one place; an action lands in another.
Telegram triggers
Dub actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Bulk Delete Links
Tool to delete multiple short links in bulk from Dub. Use when you need to remove multiple links at once. Maximum of 100 link IDs per request. Non-existing IDs are silently ignored.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Bulk Update Links
Tool to update multiple short links in bulk. Use when you need to apply the same updates to multiple links at once by specifying link IDs or external IDs.
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.
Create Domain
Tool to add a domain to a Dub workspace. Use when you need to create a new domain for shortening links. The domain must be verified before it can be used for link shortening.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
Create Tag
Tool to create a new tag in Dub. Use when you need to organize links by creating custom tags. Tags help categorize and filter links for better organization.
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Delete Domain
Tool to delete a domain from your Dub workspace. Use when you need to permanently remove a domain. The domain must exist and be owned by your workspace.
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
Delete Tag
Tool to delete a tag from Dub. Use when you need to remove a tag that is no longer needed.
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 Link Info
Tool to retrieve details of a specific short link from Dub. Use when you need to get comprehensive information about a link including its configuration, targeting settings, and performance metrics.
Get Links
Tool to retrieve a paginated list of links for the authenticated workspace. Use when you need to list links with optional filtering by domain, tags, folder, search terms, or user. Supports pagination and sorting for efficient retrieval of large link collections.
Connect any two apps with Notis in the middle.
Telegram and Dub, 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 Dub.