Expand Bitlink
bitly.expand
ActionBusiness appsconnection required
Calls the Bitly API with the connection's credentials.
Return the destination URL behind a Bitlink with the connection's credential, without following the redirect.
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
1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
bitlink The Bitlink to act on, as domain/hash (bit.ly/2kZDMbT) or the full short URL. | string | Yes | — | — | bit.ly/2kZDMbT |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"bitlink": "bit.ly/2kZDMbT"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The Bitlink id, domain and hash. | string | — |
link The short URL, with its scheme. | string | — |
long_url The destination the Bitlink redirects to. | string | — |
long_urls Every destination when the link routes dynamically. | array | — |
created_at ISO-8601 timestamp of when the Bitlink was made. | string | — |
{
"created_at": "",
"id": "",
"link": "",
"long_url": "",
"long_urls": []
}See Expand 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.