Web Hook Return Value

Trying with the bit.ly shorten URL API call using Web Hook. The web hook has been setup successfully, and it returned with the following response.

how do we retrieve the returned respond “link” so that we can include in into the next Step/Process

"Response": "{\"created_at\":\"2021-06-13T03:17:14+0000\",\"id\":\"bit.ly/shorturl\",\"link\":\"https://bit.ly/shorturl\",\"custom_bitlinks\":[],\"long_url\":\"https://longurlhere",\"archived\":false,\"tags\":[],\"deeplinks\":[],\"references\":{\"group\":\"https://api-ssl.bitly.com/v4/groups/xxxxxx\"}}",

Trying this, just now sure how do we return the link

1 Like

Great job Eugene! I was shortening my links manually with bitly. Very cool that you are doing it automatically! I’m sure you’ll figure it all out soon.

image

2 Likes

Thanks @Steve I see too bad, that the web hook is “fire and forget” as i see that the REST API is returning respond. thought we can retrieve it.

as for bit.ly shorten API, it will call the API, and it will return the shorten URL in the respond. if that’s the case, how can shorten the URL with the web hook?

just out of no way, trying out with the REST API to see how can it shorten the URL.

i was curious to know, how do we manual shorten the URL and then concatenate it with the existing parameter and still got it working.

just could not get it work.

Hi Eugene, I looked up what I had working sending SMS via Twilio. I have had this workflow “disabled” for a while because I set up a Bot to do the same thing with the Notification system. I don’t think this will help you automatically build your URL/Link, but below is my “SMS Body” and how I had my =CONCATENATE() set up. Glad I just disabled that Workflow rather than deleting it! Good luck!

New Meeting
Date <<<Meeting Date>>>
Host <<<Host>>>
Click this Link to Confirm Role
<<concatenate(“http://bit.ly/ConfirmRole”,linktorow([_ComputedKey], “Confirm Roles_Detail”))>>
1 Like

For some reason, this system is stripping out “Meeting Date” and “Host” from inside the <<>> in my last comment. My concatenate line looks the OK, same as what I pasted in from my app editor.

1 Like

@Stephen_Mattison
try using the </> icon on top of the text field when you answer :wink:
image

2 Likes

Fixed.

anyone has any idea how can we shorten a URL with the bit.ly API?