Skip to content
← Back to documentation
Technical Reference

Dub

Dub is the modern link attribution platform for creating, managing, and analysing short links, tracking conversions, and running affiliate programmes.

CategoryMarketing
Authenticationcustom
Version0.1.0
Published scopes0 published scopes
Last updatedSeptember 19, 2026

Overview

Connect Dub with Flows360

Dub is the modern link attribution platform for creating, managing, and analysing short links, tracking conversions, and running affiliate programmes.

Use the Dub connector to include its declared actions and events in Flows360 workflows without duplicating the integration logic inside each consuming system. This pinned connector version currently exposes 6 actions and 2 triggers.

Available actions

  • Create Link
  • Get Link
  • List Links
  • Update Link
  • Delete Link
  • Custom API Call

Available triggers

  • Link Clicked
  • Link Created

The capability list above is generated from the exact reviewed connector package so the public description stays aligned with the version Flows360 operates.

Technical guide

Technical reference

Package identity

  • Connector: Dub
  • Package: @activepieces/piece-dub@0.1.0
  • Exact artifact digest: sha256:f17d366c6e3f3ea3d0571fb07a76de3c394b7d81967d90ce1499dd02d433bb0a
  • Runtime: Activepieces-compatible deterministic worker
  • Source: the exact reviewed Activepieces source

Authentication

SECRET TEXT. Connection values are tenant-specific and remain in the consuming Studio instance; CDK stores definitions and field metadata, not customer credential values.

Action contracts

  • Create Link (create_link), Create a new shortened link in your Dub workspace. Classification: read.
  • Get Link (get_link), Retrieve details of a specific Dub link by its ID, external ID, or domain + key. Classification: read.
  • List Links (list_links), Retrieve a paginated list of links in your Dub workspace. Classification: read.
  • Update Link (update_link), Update an existing Dub link. Only the fields you fill in will be updated. Classification: read.
  • Delete Link (delete_link), Permanently delete a Dub link. This action cannot be undone. Classification: read.
  • Custom API Call (custom_api_call), Make a custom API call to a specific endpoint Classification: read.

Trigger contracts

  • Link Clicked, webhook.
  • Link Created, webhook.

Verification

Deterministic execution evidence is recorded for the pinned artifact, including 1 exercised action entrypoint and 0 exercised trigger entrypoints.

Capability summary

Authenticationcustom
Supported objects8
Supported actions6
Triggers2

Authentication

Authentication method: custom

Authentication profiles

connection · custom
  • API Key Required · protected credential

Supported objects

ObjectReadWriteNotes
Create Link Yes No Create a new shortened link in your Dub workspace.
Get Link Yes No Retrieve details of a specific Dub link by its ID, external ID, or domain + key.
List Links Yes No Retrieve a paginated list of links in your Dub workspace.
Update Link Yes No Update an existing Dub link. Only the fields you fill in will be updated.
Delete Link Yes No Permanently delete a Dub link. This action cannot be undone.
Custom API Call Yes No Make a custom API call to a specific endpoint
Link Clicked Yes No webhook trigger declared by the pinned package.
Link Created Yes No webhook trigger declared by the pinned package.

Supported actions

Create Link · Read

Create a new shortened link in your Dub workspace.

create_link · Risk: low · Retry: safe

Inputs

  • url · string · Required, The full destination URL the short link should redirect to.
  • domain · string · Optional, The domain to use for the short link (e.g. `dub.sh`). If omitted, the primary workspace domain is used.
  • key · string · Optional, Custom slug for the short link (e.g. `my-promo`). If omitted, a random 7-character slug is generated.
  • externalId · string · Optional, Your internal database ID for this link. Must be unique per workspace. Useful for looking up the link later.
  • title · string · Optional, A human-readable title for the link (used in the Dub dashboard).
  • description · string · Optional, A short description of what the link points to.
  • image · string · Optional, Custom link preview image (og:image). Used when Custom Link Previews (`proxy`) is enabled.
  • video · string · Optional, Custom link preview video (og:video). Used when Custom Link Previews (`proxy`) is enabled.
  • tags · array · Optional, List of tag names to attach to this link.
  • folderId · string · Optional, The unique ID of an existing folder to assign this link to.
  • expiresAt · string · Optional, ISO 8601 datetime when the link should expire (e.g. `2025-12-31T23:59:59Z`). Expired links redirect to the expiration URL.
  • expiredUrl · string · Optional, URL to redirect to after the link expires.
  • password · string · Optional, Password-protect the link. Visitors must enter this password before being redirected.
  • trackConversion · boolean · Optional, Whether to track conversions for this link.
  • proxy · boolean · Optional, Enable Custom Link Previews (og:title, og:description, og:image) for this link.
  • rewrite · boolean · Optional, Cloak the destination URL u2014 visitors see the short link URL in the browser.
  • doIndex · boolean · Optional, Allow search engines to index this short link.
  • archived · boolean · Optional, Archive this link immediately after creation.
  • ios · string · Optional, Redirect iOS device visitors to this URL instead.
  • android · string · Optional, Redirect Android device visitors to this URL instead.
  • comments · string · Optional, Internal notes about this link (not shown to visitors).
  • utm_source · string · Optional, UTM source parameter (e.g. `newsletter`, `twitter`).
  • utm_medium · string · Optional, UTM medium parameter (e.g. `email`, `social`).
  • utm_campaign · string · Optional, UTM campaign parameter (e.g. `spring-sale`).
  • utm_term · string · Optional, UTM term parameter for paid search keywords.
  • utm_content · string · Optional, UTM content parameter for A/B testing.
Get Link · Read

Retrieve details of a specific Dub link by its ID, external ID, or domain + key.

get_link · Risk: low · Retry: safe

Inputs

  • lookupMethod · string · Required, How to identify the link you want to retrieve.
  • linkId · string · Optional, The Dub-generated link ID (e.g. `clv3g2...`). Used when Look Up By = Link ID.
  • externalId · string · Optional, Your internal ID for the link. Pass with prefix `ext_` (e.g. `ext_123456`). Used when Look Up By = External ID.
  • domain · string · Optional, The domain of the link (e.g. `dub.sh`). Used when Look Up By = Domain + Key.
  • key · string · Optional, The slug of the link (e.g. `my-promo`). Used when Look Up By = Domain + Key.
List Links · Read

Retrieve a paginated list of links in your Dub workspace.

list_links · Risk: low · Retry: safe

Inputs

  • domain · string · Optional, Filter by a specific domain (e.g. `dub.sh`). Leave empty to return all domains.
  • tagNames · array · Optional, Filter by one or more tag names.
  • search · string · Optional, Search links by their URL, title, or slug.
  • userId · string · Optional, Filter links created by a specific user ID.
  • showArchived · boolean · Optional, Whether to include archived links in the results.
  • page · number · Optional, Page number for pagination (starts at 1).
  • pageSize · number · Optional, Number of links to return per page (1u2013100). Default is 100.
  • sort · string · Optional, Field to sort results by.
Update Link · Read

Update an existing Dub link. Only the fields you fill in will be updated.

update_link · Risk: low · Retry: safe

Inputs

  • linkId · string · Required, The ID of the link to update (e.g. `clv3g2...`). Find this from the Create Link or List Links actions.
  • url · string · Optional, Update the destination URL the link redirects to.
  • key · string · Optional, Update the short link slug (the part after the domain).
  • title · string · Optional, Update the human-readable title.
  • description · string · Optional, Update the link description.
  • image · string · Optional, Update the custom link preview image (og:image).
  • video · string · Optional, Update the custom link preview video (og:video).
  • tags · array · Optional, Replace the link's tags with this new list of tag names. Send an empty array to clear all tags.
  • folderId · string · Optional, Move this link to a different folder by its ID.
  • expiresAt · string · Optional, ISO 8601 datetime when the link should expire. Set to empty to remove expiration.
  • expiredUrl · string · Optional, URL to redirect to after expiration.
  • password · string · Optional, Update the password for this link. Leave blank to remove password protection.
  • trackConversion · boolean · Optional, Whether to track conversions for this link.
  • proxy · boolean · Optional, Enable or disable Custom Link Previews (og:title, og:description, og:image) for this link.
  • rewrite · boolean · Optional, Toggle URL cloaking.
  • doIndex · boolean · Optional, Allow search engines to index this short link.
  • archived · boolean · Optional, Archive or unarchive the link.
  • ios · string · Optional, Update the iOS-specific redirect URL.
  • android · string · Optional, Update the Android-specific redirect URL.
  • comments · string · Optional, Update internal notes for this link.
  • utm_source · string · Optional, Update the UTM source parameter.
  • utm_medium · string · Optional, Update the UTM medium parameter.
  • utm_campaign · string · Optional, Update the UTM campaign parameter.
  • utm_term · string · Optional, Update the UTM term parameter.
  • utm_content · string · Optional, Update the UTM content parameter.
Delete Link · Read

Permanently delete a Dub link. This action cannot be undone.

delete_link · Risk: low · Retry: safe

Inputs

  • linkId · string · Required, The ID of the link to delete (e.g. `clv3g2...`). Find this from the Create Link or List Links actions.
Custom API Call · Read

Make a custom API call to a specific endpoint

custom_api_call · Risk: low · Retry: safe

Inputs

  • url · object · Required
  • method · string · Required
  • headers · object · Optional, Authorization headers are injected automatically from your connection.
  • queryParams · object · Optional, Appended to the URL as ?key=value.
  • body_type · string · Optional
  • body · object · Optional
  • response_is_binary · boolean · Optional, Enable for files like PDFs, images, etc.
  • failsafe · boolean · Optional, On a failed request, output the error instead of failing the step.
  • timeout · number · Optional, Seconds to wait for a response. Empty: up to the flow limit (10 min).
  • followRedirects · boolean · Optional, Follow 3xx redirects instead of returning them as the response.

Triggers

Link Clicked · Webhook

Triggers in real time whenever one of your Dub short links is clicked.

Inputs

  • md · string
Link Created · Webhook

Triggers in real time whenever a new short link is created in your Dub workspace.

Inputs

  • md · string

Setup

Setup

  1. Add the Dub connector to the workflow in the target Flows360 Studio instance.
  2. Create or select the tenant-specific connection required by the connector. Connection secrets remain in the Studio connection boundary and are not copied into CDK documentation.
  3. Provide the connection fields declared by the pinned package:
  • No provider credential fields are declared by the pinned package.
  1. Select the required action or trigger and complete its declared input fields. Required and optional inputs are defined by the exact package schema.
  2. Test the workflow in the appropriate environment before enabling production scheduling or event delivery.

Limitations

Limitations and operational notes

  • This content describes @activepieces/piece-dub@0.1.0; provider behaviour can change independently and should be revalidated when the provider or connector version changes.
  • Only the 6 actions and 2 triggers declared by this pinned package are represented here.
  • Tenant credentials and connection values are not stored in the public connector record.
  • Provider-side permissions, account entitlements, quotas and rate limits remain subject to the connected provider account and are not inferred when the package does not declare them.
  • Deterministic execution evidence is recorded for the pinned artifact, including 1 exercised action entrypoint and 0 exercised trigger entrypoints.

Troubleshooting

Why canu2019t the connector authenticate?

Check the tenant connection in Studio and confirm every required Dub connection field is present. Re-authorise OAuth-based connections if the provider token or consent has expired. Do not place credential values in CDK content or logs.

Why is an action or trigger unavailable?

Confirm that the workflow is using @activepieces/piece-dub@0.1.0 and compare the requested capability with the declared action and trigger list for this version. A capability that is not declared by the pinned package should not be presented as supported.

What should I check after a provider-side change?

Revalidate authentication, required fields, action/trigger behaviour and provider documentation before publishing refreshed connector content or moving a new package version into production.