Lesson 49 lessons
Data Mapping and Transformations
Built-in functions
Make provides functions for common transformations: formatDate(), upper()/lower(), substring(), add()/subtract() for math, and if() for conditional values — all accessible from the field editor's function panel.
Combining multiple fields
Concatenate values from different modules into one field (e.g., {{firstName}} {{lastName}}) directly in the field editor, without needing a separate transformation step.
When to add a dedicated transform module
For complex logic beyond simple functions, add a "Set Variable" or "Text Parser" module as an intermediate step — this keeps downstream modules simple and makes the scenario easier to debug.
Key Takeaways
- Built-in functions handle dates, text, math, and conditionals in the field editor.
- Concatenate fields directly without a separate transformation step.
- Use a dedicated Set Variable/Text Parser module for complex intermediate logic.
- Keeping transformations organized makes scenarios much easier to debug.
Use a built-in function
In a field editor, use `formatDate()` to convert a raw date field into a human-readable format, and confirm the output looks correct after running the scenario.