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
| Data | Description |
|---|---|
| Path Parameters | A list of parameter names expected in the URL path (e.g., "id", "slug"). |
| Query Parameters | A list of parameter names expected in the query string (e.g., "sort", "page"). |
Outputs
Parameters
| Data | Description |
|---|---|
| * | Dynamic output ports corresponding to the defined Path and Query parameters. |
Usage
Retrieving an ID
- On your Page node, set Url Path to
user/{userId}. - Place a Page Inputs node on the graph.
- The node should automatically detect
userId(or you can add it manually to Path Parameters). - Connect the
userIdoutput to a REST node to fetch user data.
Retrieving Search Query
- Add
qto Query Parameters. - Connect the
qoutput 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.
IDis different fromid.