Dub

17 tools available

Short link management platform with analytics and API for creating, managing, and tracking branded short links

Connect Dub to Definable to automate repetitive tasks, sync data with the rest of your stack, trigger on real-world events. Personas call Dub's 17 tools directly from chat or scheduled flows. You can wire it into any persona to read, write, and react when an event fires.

Common workflows with Dub

01

Trigger on event

  1. Listen for a new event
  2. Parse and validate the payload
  3. Take an action with the linked tool
02

Daily summary

  1. Pull yesterday's activity
  2. Summarise with the model of your choice
  3. Send the digest via email or Slack
03

Cross-tool sync

  1. Read records from one app
  2. Transform with a persona
  3. Write the result back via this integration

Dub actions 17

Every Dub action below is a callable tool any Definable persona can invoke.

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.

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.

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.

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.

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.

Delete Tag

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

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.

Get Links Count

Tool to retrieve the count of links in workspace with optional filters. Use when you need to get the total number of links matching specific criteria such as domain, tags, folder, or search terms.

Retrieve List of Tags

Tool to retrieve a list of tags from Dub. Use when you need to fetch all tags or search for specific tags by name or IDs. Supports pagination and sorting by name or creation date.

Get Workspace

Tool to retrieve detailed information for a specific workspace. Use when you need to get workspace details including plan, usage limits, domains, users, and configuration settings.

List Domains

Tool to retrieve a list of domains for the authenticated workspace. Use when you need to view all domains, search for specific domains, or filter domains by archived status. Supports pagination for large result sets.

Track Deep Link Open Event

Tool to track a deep link open event in Dub. Use when you need to record when a user opens your app via a deep link. Supports both direct tracking via deepLink parameter or probabilistic tracking via dubDomain parameter.

Update Domain

Tool to update a domain configuration in Dub. Use when you need to modify domain settings like redirect URLs, placeholder text, archive status, or deep linking configurations.

Update Tag

Tool to update an existing tag by ID. Use when you need to change the name or color of a tag.

Update Workspace

Tool to update workspace settings in Dub. Use when you need to modify workspace name, slug, logo, or conversion tracking settings.

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.

Frequently asked questions

What can I automate with Dub on Definable?

Anything Dub exposes through its API. Common url shortener workflows on Definable include automate repetitive tasks, sync data with the rest of your stack, trigger on real-world events. Personas can call any of the 17 Dub tools directly, then chain the result into another integration without you writing code.

How does Dub authentication work?

Dub uses API_KEY, OAUTH2 on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.

Is the Dub integration included in my Definable plan?

Yes — every Definable plan, including Starter, includes access to all 17 Dub tools. You only need a separate Dub subscription if Dub itself charges per seat or per API call.

Is using Dub through Definable secure?

Every call from a persona to Dub is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.

How do I get started with Dub on Definable?

Sign up for Definable, open the integrations page, find Dub, and connect via OAuth or API key. You can immediately attach Dub to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.

What Dub actions does Definable expose?

Definable exposes all 17 Dub actions as callable tools — including `Bulk Delete Links`, `Bulk Update Links`, `Create Domain`, plus 14 more. Each tool gets a typed parameter schema so personas know exactly how to call it.

Ready to automate with Dub?

Wire it up in minutes. No coding required.

← All integrations