FlowRunner
PricingContact
Theme
Start Free

Create and manage branded short links in Dub, the open source link management platform. Agents create, update, and upsert links, organize them with tags and domains, and pull click, lead, and sale attribution analytics for a workspace or a single link.

10 actions API key available
Dub website ↗ Platform Documentation ↗ Capability data verified 2026-07-28
A new campaign asset is ready with its destination URL
List Domains confirms the branded domain to mint against
Upsert Link creates the tracked short link, or returns the existing one if this destination already has a link, so no duplicates fragment the analytics
Create Tag and tagging on creation file the link under its campaign
The short link and its QR code URL post to the marketing channel, ready to ship
A scheduled Get Analytics pull compares each campaign link's clicks, leads, and sales against expectations
A marketer reviews the link-cleanup proposal each quarter and decides what actually gets deleted, because a deleted link's redirects stop working everywhere it was ever printed

What This Integration Enables

Short links are small infrastructure with long lives: a link minted for a campaign today will sit in email footers, printed QR codes, and social bios for years, quietly routing traffic and accumulating attribution data. This connector treats them that way. FlowRunner agents mint branded links idempotently, organize them with tags and domains, and pull the click, lead, and sale analytics that make Dub more than a shortener: it is the attribution join between the link you shipped and the revenue it produced. - Mint branded short links for campaigns, emails, and social posts programmatically - Deduplicate creation with Upsert Link, one link per destination, always - Pull clicks, leads, and sales as totals, timeseries, or breakdowns by country, device, browser, or referrer - Organize links with workspace tags and custom domains - Cross-reference links with your own database via external IDs The destructive edge here is real: deleting a link kills every redirect it ever served. That is why cleanup runs through FlowRunner's [human-in-the-loop](/concepts/human-in-the-loop) review rather than an agent's notion of stale.

Without FlowRunner

Links are minted ad hoc Everyone shortens URLs their own way, and the same destination ends up with four competing links
Attribution is a spreadsheet argument Clicks live in the shortener, conversions live elsewhere, and nobody joins them
Old links are landmines Deleting or editing a link breaks QR codes on printed material nobody remembered

With FlowRunner

One destination, one link Upsert Link makes minting idempotent, so analytics accumulate on a single link per destination
Click, lead, and sale in one query Get Analytics returns the full attribution chain, grouped by time, geography, device, or referrer
Link lifecycle is governed Creation is automated, edits are tracked, and deletion happens only through reviewed cleanup

Use Case Scenarios

Campaign links minted on demand, never duplicated

Each new landing page URL from the campaign brief flows through Upsert Link against the branded domain, tagged by campaign via the workspace tags. If a teammate already minted a link for that destination, the agent gets the existing one back instead of splitting the click data across duplicates. The finished short link and QR code URL post to [Slack](/integrations/slack), and the campaign ships with tracking already in place.

The attribution dashboard that fills itself

On a daily schedule, the agent iterates campaign-tagged links from List Links, calls Get Analytics per link for clicks, leads, and sales over the trailing window, and appends the rows to [Google Sheets](/integrations/google-sheets). Grouped breakdowns by referrer and device land in a second tab. The weekly marketing review reads a current dashboard instead of someone's morning-of export, and underperforming placements surface while the campaign can still be adjusted.

Personalized tracked links from form responses

A [Typeform](/integrations/typeform) response supplies each partner's destination URL. The agent mints a link per partner with Upsert Link, sets the external ID to the partner's CRM record for cross-referencing, and writes the short link back to the partner record in [HubSpot](/integrations/hubspot). When quarterly reviews come around, Get Analytics scoped by Link ID answers exactly which partner drove which clicks, leads, and sales.

Human-in-Loop Highlight

Delete Link is the operation with consequences that outlive the workspace: the redirect stops working immediately, everywhere the short link exists, including the QR code on last year's conference banner and the URL in a thousand sent emails, and the freed slug becomes available for anyone to claim next. Update Link carries a quieter version of the same risk when it changes a destination or key. So link retirement is a reviewed act. The quarterly cleanup agent assembles its case per candidate: link, destination, tags, age, and the clicks it still received last quarter, and posts the list. A marketer strikes the links that still appear on live material, approves the rest, and only then do the deletions run. The agent's job is to make the decision easy, with traffic evidence attached; the decision to break a redirect belongs to someone who can be asked about it later.

Agent processes routinely
Detects exception requiring judgment
Clear match Continues automatically
Ambiguous Routes to human via email
Human decides
Agent resumes with decision

Agent Capabilities

10 actions

Links

6
  • List Links Retrieves a paginated list of workspace links, filterable by free-text search, domain, and tag, optionally including archived links. Each link returns its slug, destination, tags, and click, lead, and sale metrics.
  • Get Link Retrieves a single link by domain and key, returning the full object with destination, tags, metadata, and metrics.
  • Create Link Creates a short link for a destination URL, with the workspace's primary domain and a random slug as defaults, plus optional external ID, expiration date, and comment. Returns the link with its short URL and QR code URL.
  • Update Link Updates a link by ID, changing only supplied fields: destination, domain and key, external ID, expiration, comments. Handled with care, since a changed destination rewrites where existing traffic lands.
  • Delete Link Permanently deletes a link by ID. Redirects stop working and the slug frees up; cannot be undone. The operation this page's human gate exists for.
  • Upsert Link Creates a link for a destination URL or returns the existing one if the workspace already has it. The idempotent default that keeps analytics consolidated.

Analytics

1
  • Get Analytics Retrieves click, lead, and sale analytics for the workspace or one link, grouped as a single count, a timeseries, or a breakdown by country, city, device, browser, OS, or referrer, over a chosen interval.

Domains

1
  • List Domains Retrieves the workspace's configured domains with slug, verification status, and primary flag. The reference for minting links on the right brand.

Tags

2
  • List Tags Retrieves workspace tags with ID, name, and color, the organizing scheme behind campaign filtering.
  • Create Tag Creates a new tag with a name and optional color, for filing links as campaigns spin up.

Frequently Asked Questions

What can FlowRunner do with Dub?

FlowRunner agents can run List Links, Get Link, and Create Link in Dub, plus 7 more actions.

Does connecting Dub to FlowRunner require OAuth?

No. Dub connects to FlowRunner with an API key, no OAuth flow required.

Can Dub trigger a FlowRunner workflow automatically?

Dub doesn't currently expose triggers in FlowRunner. It connects as an action step inside workflows started by another trigger.

Start building with Dub

$100 in credits. No card required. Connect in minutes.