Skip to content
Notis

Update Dub links when Telegram messages change

Correct the source message once and have Notis keep the related Dub link current.

Trigger

Message Edited

Triggered when a message in a chat your bot can see is edited by its sender.

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

An updated destination in chat can leave an older short link pointing to the wrong page.

  • Catch destination corrections made in chat.
  • Update a matching Dub link when its domain and key identify it.
  • Reduce the risk of sharing an outdated destination.

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.
  • 3In one prompt, tell Notis how to identify the related Dub link and to update it when an edited message changes its destination or link details.
  • 4Select Telegram Message Edited as the trigger and choose where run reports should go.
  • 5Test by editing a real message with a known Dub link destination.

Questions about this workflow

Will this update any link mentioned in an edited message?

Describe in the prompt how Notis should identify the intended link and which edits warrant an update.

What does Dub use to match an existing link?

The upsert action updates a link when the domain and key match; otherwise it creates a new link.

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.

TriggerScheduled

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.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

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.

ActionInstant

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.

TriggerInstant

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.

ActionInstant

New Channel Post

Triggered when a new post is published to a channel where your bot is an administrator.

TriggerInstant

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.

ActionInstant

Callback Query Received

Triggered when a user taps an inline keyboard button attached to one of your bot's messages.

TriggerInstant

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.

ActionInstant

Message Edited

Triggered when a message in a chat your bot can see is edited by its sender.

TriggerInstant

Delete Tag

Tool to delete a tag from Dub. Use when you need to remove a tag that is no longer needed.

ActionInstant

New Chat Member

Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.

TriggerInstant

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.

ActionInstant

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.

ActionInstant

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.