Dynamic
Operation | Format | Description | Example |
---|---|---|---|
Conditional Value |
| Compares a variable to a set of condition-result pairs and returns the corresponding result when the variable matches a condition (also known as a "switch" function). If the variable does not match any of the conditions, the default value is returned. | Input: Result: If |
Convert Inner Items to Array |
| Iterates over inner items and creates an object for each inner item using one or more key-value pairs for each object. This formula is only available in the module builder; you cannot use this formula in the formula builder, independent of inner item logic. | Input: ConvertInnerItemsToArray(["key1","Initiative Id"]) Result: [{"key1": "INIT5Gd40jR2d7h"}, {"key1": "INITjr5Pwx6Gr0q"}, {"key1": "INITRtv8lp2Sx7d"}] |
Convert Object to Keyed Array |
| Reformats JSON objects not in an array into a JSON array, replacing the root key with The main use case for this formula is handling API responses in JSON format, where this formula enables you to more easily iterate on records returned in non-array responses. | Input: Result: Note in the above example that the node key is added to each object in the resulting array as the value for key "tonkean_original_key", creating a unique identifier for that record. |
Subtract |
| Difference between two values. | Input: Result: |
Sum |
| Sum of two values. | Input: Result: |
Text Analysis |
| Compares a variable to a set of expression-result pairs and returns the corresponding result when the variable matches an expression (also known as a "switch" function). If the variable does not match any of the expressions, the ( | Input: Result: |