Login
Free Sign Up
Docs
/

Experience - Build URL

Type identifier: experience:buildUrl Category: Flow Operations

Description

The Experience - Build URL node resolves the published path of an Experience and builds a shareable URL, targeting the cloud or a Ligantic app endpoint. Optional datum inputs are resolved and appended to the URL.

Input Handles

Handle

Type

Description

trigger

control

Triggers URL construction.

(datum inputs)

varies

Values for the configured datum inputs, if any.

Output Handles

Handle

Type

Description

url

string

The built Experience URL.

success

control

Triggered when the URL is built successfully.

error

control

Triggered when URL construction fails.

Configuration Options

Option

Type

Default

Description

Experience

cuid2

-

The Experience to build the URL for. Required when the Flow runs.

Target

cloud | app

cloud

Where the URL points: the cloud, or a Ligantic app endpoint.

App Endpoint

cuid2 | ligantic_app_endpoint

-

The app endpoint to use when Target is app.

Datum Inputs

datum inputs

-

Optional datum inputs resolved and appended to the URL.

Behaviour

  1. Resolves the published path for the configured Experience (fails if the Experience is not published)
  2. Resolves any configured datum inputs
  3. Builds the URL against the cloud base URL or the resolved app endpoint
  4. Emits url and success

Examples

Cloud URL

Configuration:

  • Experience: (selected)
  • Target: cloud

Output: https://<cloud>/spaces/<spaceId>/experiences/<publishedPath>

App URL with Datum Inputs

Configuration:

  • Experience: (selected)
  • Target: app
  • App Endpoint: (selected)
  • Datum Inputs: id (wired)

Output: the app endpoint URL with the published path and resolved datum values.