Skip to content
Bitly

How to use Bitly

MarketingCost: 1 credit per runTechnical reference

What it is for

URL shortening and link management platform with analytics.

Bitly triggers check for new data periodically, every few minutes, so there may be a short delay.

Set up the connection

Authentication type: Custom credentials

  1. 1Sign in to Bitly and look for the API or integrations section in its settings.
  2. 2Create an API key or token with the permissions you need and copy it.
  3. 3In flooows, add a Bitly step, click "Connect" and paste it into: Access Token.
  4. 4Save the connection: it is stored encrypted and is never shown in plain text.
Connection fieldTypeRequired
Access TokenSecret keyYes

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Archive Bitlink: fill in Group, Bitlink; use the data selector to map values from earlier steps.
  • Create Bitlink: fill in Long URL, Group; use the data selector to map values from earlier steps.
  • Create QR Code: fill in Group, Destination Type, Destination; use the data selector to map values from earlier steps.

Tips

  • •Test each step before publishing to see the exact output structure.
  • •Enable retries on steps that call external services.

Triggers (1)

Events that can start a flow. Expand each one to see its fields.

New Bitlink CreatedPeriodic check5 fields
FieldTypeRequired
Polling IntervalFixed listNo
GroupList (from your account)Yes
Title Filter (Optional)TextNo
Tag Filter (Optional)TextNo
Include Archived BitlinksYes / NoNo

Actions (6)

Operations available as flow steps. Expand each one to see its fields.

Archive Bitlink2 fields
FieldTypeRequired
GroupList (from your account)Yes
BitlinkList (from your account)Yes
Create Bitlink10 fields
FieldTypeRequired
Long URLTextYes
GroupList (from your account)Yes
DomainList (from your account)No
TitleTextNo
TagsList of valuesNo
Force New LinkYes / NoNo
Mobile App IDTextNo
App URI PathTextNo
App Install URLLong textNo
Install TypeFixed listNo
Create QR Code30 fields
FieldTypeRequired
GroupList (from your account)Yes
Destination TypeFixed listYes
DestinationDynamic fieldsYes
TitleTextNo
Archive on CreateYes / NoNo
Style: Background ColorTextNo
Style: Dot Pattern ColorTextNo
Style: Dot Pattern TypeFixed listNo
Corner 1 (Top-Left): ShapeFixed listNo
Corner 1 (Top-Left): Inner ColorTextNo
Corner 1 (Top-Left): Outer ColorTextNo
Corner 2 (Top-Right): ShapeFixed listNo
Corner 2 (Top-Right): Inner ColorTextNo
Corner 2 (Top-Right): Outer ColorTextNo
Corner 3 (Bottom-Right): ShapeFixed listNo
Corner 3 (Bottom-Right): Inner ColorTextNo
Corner 3 (Bottom-Right): Outer ColorTextNo
Gradient: StyleFixed listNo
Gradient: Color 1TextNo
Gradient: Color 2TextNo
Gradient: Angle (for Linear)NumberNo
Gradient: Exclude CornersYes / NoNo
Frame: TypeFixed listNo
Frame: Primary ColorTextNo
Frame: Secondary ColorTextNo
Frame: Background ColorTextNo
Frame: TextTextNo
Branding: Logo Image GUIDTextNo
Branding: Show Bitly LogoYes / NoNo
Specs: Error CorrectionFixed listNo
Get Bitlink Details2 fields
FieldTypeRequired
GroupList (from your account)Yes
BitlinkList (from your account)Yes
Update Bitlink9 fields
FieldTypeRequired
GroupList (from your account)Yes
BitlinkList (from your account)Yes
TitleTextNo
ArchivedYes / NoNo
TagsList of valuesNo
App URI PathTextNo
App Install URLLong textNo
Mobile OSFixed listNo
Install TypeFixed listNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

Authentication error

The connection expired or the key was revoked: reconnect it from Connections.

Field not found or empty

Re-test the previous step and remap the field in the data selector.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps