---
name: "Marketing: Dub.co"
description: Link shortening, QR codes, and click analytics platform. Run it via run_marketing_tool (tool="dub").
version: 1
situations: links, dub.co
requires-secrets: DUB_API_KEY
requires-packages:
---

# Marketing: Dub.co (Links)

Link shortening, QR codes, and click analytics platform.

Call the `run_marketing_tool` tool with `tool: "dub"` and `args: [...]` — args is the same
`{resource} {action} [--flag value ...]` shape as the CLI itself. Output is JSON on stdout.

Example: `run_marketing_tool` with `tool="dub"`, `args=["--help"]`.

Use `--dry-run` on any command to preview the request without sending it. Run with no arguments (or `--help`) to see available commands.

Needs the secret(s) `DUB_API_KEY` set in the vault (Secrets UI) — ask the operator to add them if
`run_marketing_tool` reports they're missing.
