FlowDSL Node Catalog
Type Cast
Coerce a field between string, number, bool, and JSON-encoded forms.
Overview
| Property | Value |
|---|---|
| Node ID | core/type-cast |
| Kind | transform |
| Module | core-flowdsl |
| Repo | go-flowdsl |
| Handler | github.com/redelay/go-flowdsl/nodes/core.TypeCast |
| Icon | lucide:replace |
| Color | #8b5cf6 |
| Tags | cast, transform |
Outputs
out— (no description)
Settings
| Property | Type | Required | Default | UI Group | Description |
|---|---|---|---|---|---|
outputKey | string | yes | — | — | |
sourcePath | string | yes | — | — | |
targetType | string (string|int|float|bool|…) | yes | — | — |
Example
yaml
# Use this node in a flow:
nodes:
- id: my_step
name: My Step
kind: transform
action_ref: core/type-cast
config:
outputKey: "value"
sourcePath: some.packet.path
targetType: "value"