Get Long URL
Use this action to retrieve the original long URL associated with the specified bitlink.
Using the Get Long URL Action
To use this action in your workflow, connect it to ThingWorx Flow. To create a flow, do the following:
1. Drag the Get Long URL action under the Bitly connector to the canvas, place the pointer on the action, and then click or double-click the action. The Get Long URL action window opens.
2. Edit the label name, if needed. By default, the label name is same as the action name.
3. To add a new authorization, refer to the Authorize Bitly section in the Bitly connector topic.
* 
If you previously added a Bitly authorization, select an authorization from the list.
4. In the Specify Link Using field, select how you want to specify the link:
Bitlink—Refer to the section Specifying a Link Using Bitlink
Id—Refer to the section Specifying a Link Using Id
5. Go to the section Specifying a Link Using Bitlink or Specifying a Link Using Id.
Specifying a Link Using Bitlink
To specify a link using a Bitlink, do the following:
1. In the Specify Link Using field, select Bitlink.
2. In the Bitlink field, enter the bitlink for which you want to retrieve the long URL.
Click Add to enter multiple bitlinks.
3. Click + to view the additional fields:
In the Additional Fields section, click Add, and then enter the following details:
Field Name—User Interface field name of the Bitly service that you want to add. The field name should be same as specified in the API documentation.
Value—Value for the specified user interface field.
Click Add to enter multiple additional fields.
4. Click Done.
Specify Link Using Id
To specify a link using Bitly Id, do the following:
1. In the Specify Link Using field, select Id.
2. In the Bitly Id field, enter the Id for which you want to retrieve the long URL. Click Add to enter multiple Bitly Id.
3. Click + to view the additional fields:
In the Additional Fields section, click Add, and then enter the following details:
Field Name—User Interface field name of the Bitly service that you want to add. The field name should be same as specified in the API documentation.
Value—Value for the specified user interface field.
Click Add to enter multiple additional fields.
4. Click Done.
Was this helpful?