Text: Map To Number
String → number lookup. Reads a string and emits a number based on a static
mapping table. Every matching entry emits — on its own dedicated connector
and on result. When no entry matches, falls back to the static Default
value, or fails the step if it is not set.
Each table entry also exposes its own dedicated output connector — useful for routing the input down a specific downstream branch.
Items:
"low" → 1
"medium" → 5
"high" → 10
Default: 0
Input: "medium" → Result: 5
Input: "extreme" → Result: 0
Parameters
Lookup table — one entry per string-to-number mapping. Each entry has:
- Value — string to match against the input (exact equality).
- Number — number emitted when the entry matches.
Each entry adds its own dedicated per-entry output connector, labeled with the entry's target number. An empty table is a pure pass-through to the default.
Static fallback emitted when no entry matches. Leave empty to fail the step on no-match.
Input
Output
The matched number(s) (or the default fallback).
The default value, fired on no-match. This connector only exists when the
Default parameter is set.
Plus one dedicated output per configured entry (labeled with the entry's number), fired only when that entry matches.