Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Code, Git & Developer Tools

Code, Git & Developer Tools

Create and Manage Short Links with Dub.co

When you run it, it checks whether a slug is free, then creates, retrieves and updates a short URL through the Dub.co API.

What it does

# README ## Dub.co API Workflow Configuration | Required | Input Field | Description | |----------|-----------------------|--------------------------------------------------| |✓| Dub API Key | _API Key for Dub.co integration._ | |✓| Long URL | _The long URL to be shortened._ | | | Custom Slug | _Slug is the path of shortened URL - default is random 7 characters._ | |✓| Project Slug | _Enter Your Dub project slug, The slug for the project to create links for. E.g. for app.dub.co/acme, the project slug is 'acme'._ | | | Custom Domain | _Custom domain linked to Dub.co._ | You'll need to add the details listed above in the "API Auth" node by clicking on it and filling the fields ==>

The steps

  1. When clicking "Test Workflow"
  2. API Auth
  3. CREATE
  4. IF Slug available
  5. RETRIEVE
  6. UPDATE
  7. Shortened URL
  8. Done

Similar automations