Workflow action to navigate to url

Hello,

I am currently integrating stripe into my workflow through Xano. I set up a workflow where it gets the url of the product link, and i want the workflow to navigate to that url. How do i do that as an action in workflows?

Hi, you can add a custom js action and put this inside

window.location = <your-url>

How do I make it open in a new window?

nvm got it!

window.open(url) || window.location.replace(url);

for anyone who wants it, if popups are blocked, this code will open it on same tab

3 Likes