Transforms are template-based data processors that convert submission data from one format to another. Use them to prepare data entering a module or format data leaving a module for export, display, or downstream systems. Transforms are scoped to the module. Workflows have their own separate set of transforms, managed in the Workflow Builder.
To open Transforms, select the Definition drop-down in the Module Builder toolbar and choose Transforms.
![[docs-interactive-image:{"surface":"module-builder/definition-dropdown","hotspotStyle":"pulse","anchors":{"Transforms":"transforms-list"},"hide":["Definition","Tests","Translations","History"]}] The Module Builder toolbar with the Definition drop-down open, listing Definition, Tests, Transforms, Translations, and History](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/api_upload_20261119_195142_d21476ece5d64ea9b3f07f008c9580b9.png?sv=2026-02-06&spr=https&st=2026-11-23T00%3A45%3A25Z&se=2026-11-23T01%3A03%3A25Z&sr=b&sp=r&sig=5IsKMc%2FJdU42Yn7hHNCiaFezmte236fdR5q7qWTcc6U%3D)
Transform Types
Each transform uses a template language to process data. Unqork supports the following types:
Type | Format |
|---|---|
XML | |
JSON | |
XML | |
Plain text |
Output transforms support every type. transforms support NJK (JSON) only.
Transforms List
The Transforms list is the panel at the left of the Transforms view. Each transform in the list displays the following:
Name: The transform name.
Direction: A badge that reads Input or Output.
Type: A badge that names the template type, like NJK (PDF).
Details: Expands to display Created by, Last Modified, and Last Modified by.
Select a transform to open it in the editor at the right. When no transform is selected, the editor displays "Select a transform or create a new one." and a Create Transform button. When the module has no transforms, the list displays "No transforms configured."
Editor Actions
When a transform is open, the following buttons display at the top right of the editor:
Action | Description |
|---|---|
Download | Downloads the transform template as a file. The file contains the template as the editor displays it, including unsaved edits. |
Delete | Opens the Delete Transform dialog. Select Delete to remove the transform permanently, or Cancel to keep it. |
Creating a Transform
Select the green plus button at the top of the Transforms list (Add transform), or select Create Transform in the editor. The Create Transform form opens in the editor.
Field | Description |
|---|---|
Transform Name | A unique name for the transform. Required. Must contain only letters, digits, and hyphens, and must not begin or end with a hyphen. The name cannot be changed after the transform is created. |
Direction of Transform | Sets whether the transform runs on data entering the module or data leaving it. Options include: Input or Output. Output is selected by default. |
Type of Transform | The template language and output format. See Transform Types. |
Transform | The template code that defines how data is transformed. Required. |
XSD (XML Schema Definition) input validation is not available.
Select Create to save the transform, or Cancel to discard it. To change an existing transform, select it in the list, edit it, and select Update.
Unsaved Changes
When a transform has unsaved edits, the following situations open an Unsaved Changes prompt:
Selecting another module in the Explorer: The prompt offers Cancel, Discard Changes, and Save & Continue. Cancel keeps the transform open. Discard Changes leaves without saving. Save & Continue saves the transform and then leaves.
Selecting another transform, adding a transform, or canceling an edit: The prompt offers Cancel and Discard & Continue. Discard & Continue discards the edits and goes on with the action.
Switching to another view in the same module, like Translations, keeps the unsaved edits until Creators return to Transforms. An edited transform enables its Update button only after the transform type or the template changes.
Long Names
Long transform names and details wrap in the Transforms list and in the editor. The full text stays readable, and the Download and Delete controls stay in view.
Creating Transforms with the Build Agent
Creators can ask the Build Agent to produce a document or data file from module data. Examples include a quote PDF, an application summary, or an XML file for an integration. The agent writes the template, saves it as a transform on the module, and renders it with sample data to check the result. Creators do not need to name a transform type. The agent chooses NJK (PDF), NJK (XML), or NJK (TXT) from the request.
The following prompts are examples:
"Add a Download quote PDF button that produces a one-page quote with the first name and premium."
"Create an XML version of this quote that I can send to an integration."
"Create a plain-text summary of the order."
The agent can also read, change, and delete the transforms on a module. To open the module's transforms, see Transforms List. To wire a PDF to a button, the agent adds the components that run the transform. See Opening a Generated PDF.
Approving Transform Changes
When the Approval setting requires it, the agent pauses before it saves or deletes a transform. A confirmation card names the transform and the module. For example, "Agent wants to edit the transform “quote-summary-pdf” on Transforms Demo." The card says edit for new transforms and for changes to existing ones. Delete requests say delete.
Allow: Approves that one change. The approval covers that transform only, not the module's components or its other transforms.
Deny: Cancels the change.
Always allow edits: Approves the change and sets Approval to Protected. On a delete card, Always allow (incl. deletes) approves the change and sets Approval to Automatic.
Every delete displays its own card, even after the Creator approves edits to the same transform. Some requests cannot work, like deleting a transform that does not exist. For these requests, the agent explains the issue in the chat, displays no card, and changes nothing. For the Approval options, see Build Agent Reference.
Changes in the Transforms View
The Transforms list updates when the agent saves or deletes a transform. Creators do not need to reload the page. If a Creator has the same transform open, the editor responds as follows:
The agent saves a transform that has no unsaved edits: The editor displays the new version.
The agent saves a transform that has unsaved edits: The editor keeps the Creator's edits, and a warning displays once for that version. Selecting Update replaces the agent's version with the Creator's edits.
The agent deletes the open transform: The editor clears, and a warning displays.
Reviewing the Output
After the agent saves a transform, it renders the transform with sample data and reports what it checked. Creators review the result before they rely on it. To check it, open the transform and run Test Transform with a real submission. See Testing a Transform. Creators can also select the button that runs the transform in UI View.
When a template fails to render, the error message names the line and the cause of the issue.
The following limits apply to PDF output:
PDFs always print on US Letter size. The page size in a template's CSS is ignored. Margins in the template apply.
The agent can check only short PDFs, about three pages. Longer PDFs still work in the application, but the agent cannot review them.
Rolling Back Transform Changes
Rolling back a Build Agent task undoes the task's transform changes. A changed template returns to its earlier version, a deleted transform is restored, and a transform the task created is removed. When the platform cannot undo a transform, a warning names the transform and the reason. See Rollback.
Testing a Transform
The editor for an existing transform includes a Test Transform section for validating the transform against a submission's data.
Field | Description |
|---|---|
Submission ID | The ID of the submission to use as the data source for the test. Required to run the test. |
JSON and XML | Sets the format of the test input. |
Input | The submission data that the test runs through the transform. |
Output | The result of the transform after Run Test finishes. |
Select Run Test to run the transform against the submission data. Review Output to confirm the transform produces the expected result. When the test fails, an alert above the Input and Output fields describes the issue.
Writing Templates
NJK Templates
NJK templates use {{ }} syntax to reference submission data and metadata. The template structure is the same for all NJK types. The selected type determines the output format (JSON, PDF, XML, or plain text).
{
"fullName": "{{ data.firstName }} {{ data.lastName }}",
"submissionDate": "{{ data.created | date('MM/DD/YYYY') }}"
}
The following variables are available:
Variable | Description |
|---|---|
| The submission's field values, referenced by Property ID. |
| Submission metadata, including suffix and other system values. |
The Build Agent can write NJK templates. Review its template and use Test Transform to verify the output. See Creating Transforms with the Build Agent.
XSL
XSL transforms use standard XSL Stylesheet syntax to process and output XML from submission data.
Changelog
Date | Change |
|---|---|
— | Initial publication. |
2026-11-19 | Added an interactive image of the Definition drop-down that shows where to open Transforms. |
2026-11-19 | Added Creating Transforms with the Build Agent: example prompts, approval cards, Transforms view updates, output review, PDF limits, and rollback. Linked it from Writing Templates and See Also. |
2026-11-19 | Corrected how to open Transforms, the layout of the Transforms list and its Details, the editor actions, the Create Transform form fields, and the Test Transform section to match the 9.2 interface. |
2026-11-17 | Added the Unsaved Changes prompts, when Update is available, and wrapping of long transform names. Corrected the save button labels to Create, Update, and Cancel. Corrected the Explorer trigger for the Unsaved Changes prompt. Replaced "numbers" with "digits" in the name rule. Fixed the Module Settings link. |