Skip to main content

Page Inputs

This node retrieves parameters passed to the current page.

The Page Inputs node accesses URL path parameters and query string variables.

The Page Inputs node is the bridge between the URL and your page logic. If a user visits /product/123?color=red, this node allows you to extract 123 and red as usable data variables within your graph.

Inputs

Configuration

DataDescription
Path ParametersA list of parameter names expected in the URL path (e.g., "id", "slug").
Query ParametersA list of parameter names expected in the query string (e.g., "sort", "page").

Outputs

Parameters

DataDescription
*Dynamic output ports corresponding to the defined Path and Query parameters.

Usage

Retrieving an ID

  1. On your Page node, set Url Path to user/{userId}.
  2. Place a Page Inputs node on the graph.
  3. The node should automatically detect userId (or you can add it manually to Path Parameters).
  4. Connect the userId output to a REST node to fetch user data.

Retrieving Search Query

  1. Add q to Query Parameters.
  2. Connect the q output to a Filter Collection node or search logic.

Detailed Behavior

  • Auto-Sync: The node attempts to sync with the parent Page node to automatically populate Path Parameters from the URL structure.
  • Reactivity: If the URL changes (e.g., query param update) without a full page reload, the outputs of this node update immediately.

Troubleshooting

  • Value is Undefined: Check the URL in the browser address bar. If the parameter isn't there, the output will be undefined.
  • Case Sensitivity: Parameter names are case-sensitive. ID is different from id.