Find the first matching pattern and return its associated value and route.
Inputs and outputs
Inputs
| Connector | Type | Required |
|---|---|---|
Value | any | Yes |
Patterns | list | Yes |
Default Value | any | No |
Outputs
| Connector | Type |
|---|---|
Result | any |
Route | text |
Matched | boolean |
What the block does
The block computes its result directly in the installed add-on using only the connected values. No external service is required.
Errors and recovery
Missing, mistyped, non-finite, oversized, or unknown input stops the block and marks it as failed. Correct the highlighted connector or visible setting and run the workflow again.
Example workflow
Connect invoice-created to value and a List with {"kind":"type","value":"text","result":"billing","route":"text-value"} to patterns. Read billing from result and text-value from route. Use matched to distinguish a match from the default.
