Table of contents
- Use case
- Guide
Use case
When there is a need to convert incoming order data into a new format for a transport system, instead of writing complex transformation code, you can use the Template Transformer to define the desired output using a template (e.g., Mustache or XSLT), enabling fast, clear, and maintainable data mapping without custom scripts.
Follow the guide below to create the Template Transformer.
Guide
Step 1: Create a new transformer and select the data transformer - “Render a Template” option from the list. Users are able to write a Twig template.
Step 2: Input the template data in the initial format. Apply changes.
Step 3: Add variables, destination and result where applicable.
Step 4: Run a test and verify the result in the Transformer tester.