Keragon’s Data Mapper helper is a powerful tool that allows you to create simple lookup tables directly within your workflows. This action helps you map values from previous steps to corresponding outputs, making it ideal for scenarios like converting text labels to codes, categorizing data, or performing value translations without external systems.
How to Use the Data Mapper Helper
-
Open your workflow editor.
-
Click the + icon to add a new step.
-
In the step selection panel, click "Helpers".
-
From the Helpers options, select "Data Helpers".
-
Choose the "Data Mapper" action.
Configure Data Mapper Settings
-
Lookup Key(s):
-
Map a variable from a previous step that you want to search for in the mapping table.
-
If using multiple values, switch the input type to an array and provide the values accordingly.
-
-
Map Configuration:
-
Define your mapping pairs by specifying:
-
Key: The value you’re searching for.
-
Value: The result to return if the key matches.
-
-
Examples
In the example below, we have configured a data mapper to retrieve the diagnosis in text format from a Patient form and find the corresponding mapping.
-
Click "Save" to apply changes.
Test the Step
-
Click "Test Step" to verify the mapping.
-
Go to the Outputs tab to view the mapped result.
Example Result:
-
If the diagnosis field from a form is
"Desmoid tumor of chest wall"
, the output will be"D48.111"
.