Ask AI
Skip to main content

Route to external page

Function: Route to external page

Redirect a user to another page outside of your application. This action is useful when you need to send your users to an external website, a different application, or a specific resource on the internet.

Input

  • Url (Text, Required): The complete web address (URL) where you want to send the user. For example, https://www.example.com/product-page. Make sure to provide the full URL, exactly as you would type it into a browser's address bar.
  • Target (Dropdown selection): Choose how the new page should open.
    • Self: The new page will open in the current browser window or tab, replacing your application's view.
    • New window/tab: The new page will open in a brand new browser window or tab, leaving your application open in the original window.

Output

This function does not produce any direct output that can be used in subsequent steps. Its primary purpose is to perform an immediate action: redirecting the user's browser.

Execution Flow

Real-Life Examples

Here are some practical ways you can use the "Route to external page" function:

  1. Redirecting to a Company Website:

    • Scenario: After a user successfully submits a feedback form, you want to direct them to your company's main website.
    • Inputs:
      • Url: https://www.yourcompany.com
      • Target: New window/tab
    • Result: The user's browser will open a new tab displaying https://www.yourcompany.com, while the feedback form in your application remains open in the original tab.
  2. Navigating to a Product Documentation Page:

    • Scenario: A user clicks a "Help" button within your application, and you want to send them to a specific section of your product's online documentation.
    • Inputs:
      • Url: https://docs.yourproduct.com/features/user-guide#getting-started
      • Target: Self
    • Result: The current browser window will navigate directly to the "Getting Started" section of your product documentation, replacing your application's view.
  3. Opening a Third-Party Payment Gateway:

    • Scenario: When a user initiates a payment, you need to redirect them to a secure external payment gateway to complete the transaction.
    • Inputs:
      • Url: https://secure.paymentgateway.com/checkout?orderId=12345 (This URL would typically be dynamically generated based on the order)
      • Target: New window/tab
    • Result: A new browser tab will open, displaying the payment gateway's checkout page, allowing the user to complete their payment securely without leaving your application's context in the original tab.