Update Bitlink

bitly.update_bitlink
ActionBusiness appsconnection required

Calls the Bitly API with the connection's credentials.

Change a Bitlink's title, tags, destination, expiry or archived state; at least one of those fields must be set.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Bitly
Secret shape
{"access_token": "…"} — a Bitly generic access token, or {"client_id": "…", "client_secret": "…", "refresh_token": "…"}
Config it needs
group_guid, domain, organization_guid
Resolved by
config.connection_id, else node.connection_id

Configuration

6 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
bitlink
The Bitlink to act on, as domain/hash (bit.ly/2kZDMbT) or the full short URL.
stringYes——bit.ly/2kZDMbT
title
New title for the Bitlink.
stringNo———
long_url
New destination URL for the Bitlink.
stringNo—url format—
tags
Replacement tag set, as an array or a comma-separated list.
arrayNo—array of string—
archived
True archives the Bitlink, false restores it.
booleanNo———
expiration_at
ISO-8601 timestamp at which the Bitlink stops redirecting.
stringNo—iso8601 format—
  • At least one of title, long_url, tags, archived, expiration_at must be set.

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "bitlink": "bit.ly/2kZDMbT"
}

Output

One shape.

result

FieldTypeExample
id
The Bitlink id, domain and hash (bit.ly/2kZDMbT).
string—
link
The short URL, with its scheme.
string—
long_url
The destination the Bitlink redirects to.
string—
title
The Bitlink's title, empty when none was set.
string—
tags
The tags on the Bitlink.
array—
archived
True when the Bitlink is archived.
boolean—
created_at
ISO-8601 timestamp of when the Bitlink was created.
string—
custom_bitlinks
Custom back-half links pointing at this Bitlink.
array—
{
  "archived": false,
  "created_at": "",
  "custom_bitlinks": [],
  "id": "",
  "link": "",
  "long_url": "",
  "tags": [],
  "title": ""
}

See Update Bitlink run in a workflow.

In a technical demo we add the Bitly connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.