Text: Map To Number
String → number lookup. Reads a string and emits a number based on a static
mapping table. The first matching entry wins. When no entry matches, falls
back to the static Default value, or fails the step if neither is set.
Each table entry also exposes its own dedicated output connector — useful for routing the input down a specific downstream branch.
Example
Items:
"low" → 1
"medium" → 5
"high" → 10
Default: 0
Input: "medium" → Result: 5
Input: "extreme" → Result: 0
Parameters
Items—REQUIRED
Lookup table — one entry per string-to-number mapping. Each entry has:
- From — string to match against the input (exact equality).
- To — number emitted when the entry matches.
Each entry adds its own dedicated per-entry output connector.
Default
Static fallback emitted when no entry matches. Leave empty to fail the step on no-match.
Input
String—REQUIRED
The string to look up.
Output
Result
The matched number (or the default fallback).
Default
The default value, fired on no-match.
Plus one dedicated output per configured entry, fired only when that entry matches.