Articles on: Blocks Creator
This article is also available in:

🟦 Link

🟦 Link



The Link block allows you to instantly redirect the user to an external web page (URL) from a Celestory application.


This block is ideal for linking to a corporate site, a payment page, an external PDF document or any other online resource without leaving the main experience.


πŸ“₯ Entries


  • link (Text): Full URL address to which the user will be redirected (eg: https://www.celestory.io).
  • newTab (Boolean): Determines whether the page opens in a new tab (True, default) or replaces the current tab (False).


πŸ“€ Outings


  • out (Flow): Continues logic execution in the background if the page was opened in a new tab.


πŸ’‘ Example of use


Scenario: Redirection to an external payment page


  1. The user clicks a β€œPay Now” button in your app.
  2. The logic flow reaches the Link block.
  3. The link field is configured with the URL of the payment provider (eg: https://paiement.secure.com/checkout).
  4. The newTab option is left True to keep the Celestory app in the background.
  5. The block opens the payment page in a new tab, while allowing the Celestory logic to continue (eg: trigger a timer to check the payment status).


βš™οΈ Technical Details

  • Redirection behavior: The block uses the window.open() API for new tabs or window.location.href for replacing the current tab.
  • Security: URLs must be complete (including https:// or http://) to avoid navigation errors. Relative links are not supported.

Updated on: 04/03/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!