Skip to main content

Module: External Injector

Externally-fed value. Like Module::Constant but the value is supplied by the parser caller at execution time (e.g. an HTTP query parameter, a CLI argument, or a workflow input) rather than baked into the configuration. Falls back to Default value when the caller doesn't provide anything.

Example
Value name: "tenant_id"
Value type: String
Default value: "demo"

Caller supplies "acme" → Output: "acme"
Caller supplies nothing → Output: "demo"

Parameters

Value typerequired

The type the caller-supplied value must match (String, Number, Bool, JSON, …). Drives the wire type of the value output.

Value namerequired

Name used to identify this injected value when it is overridden at run time (e.g. through the API). Must be unique within the parser. Also used as the label of the output connector.

Default value

Value emitted when the caller does not supply one. When unset and no value is provided, the parser run fails at start with MissingInjectedValue.

Input

This function has no input connectors.

Output

Value

The caller-supplied value, or the default fallback. In the editor this connector is labeled with the configured Value name (connector key value).