External api call using Oauth 2 token in Uipath

i find this post helpful for the issue I faced. Tagging here incase someone needs