SSIS Template Transform
Build a dynamic string for every row inside the Data Flow from upstream columns and SSIS variables, such as a JSON or XML document.
Template Transform is a free SSIS Data Flow transform that creates a dynamic string for each row. Put upstream columns (<%Country%>) and SSIS variables ({{User::MyVariable}}) anywhere in the template to produce the text you need, for example a simple JSON or XML document or an API request body.
Template Transform is free in every edition. The same download also includes a trial of the paid PowerPack components
- Data Flow Transform in SSIS
- Runs in your environment
- Also runs in Azure Data Factory
- Free component (FREE edition)

At a glance
What Template Transform can do
Template Transform creates a dynamic string for each row inside the Data Flow, using upstream columns and SSIS variables as placeholders anywhere in the template (for example to build an XML or JSON document).
Dynamic strings in data flow
Create a dynamic string for each row inside the data flow from a template.
TemplateTextholds the template- Result is in the
TemplateOutputcolumn
Column & variable placeholders
Use upstream columns or SSIS variables anywhere in the template.
- Columns:
<%CustomerEmail%> - Variables:
{{User::MyVariable}} - Insert Placeholders menu in the UI
Placeholder functions
Transform values inside the template with placeholder functions.
FUN_XMLENCODE/FUN_JSONENCODEto escape values<<FUN_SEQUENCE>>for row numbers,FUN_MD5for hashes
Build JSON or XML
Produce the JSON or XML document you need from a single input record.
- A simpler option than JSON Generator Transform for flat documents
API request bodies
Craft a JSON request per row and pass it to REST API Destination as the body.
- Batch rows into one request with a body header, footer and row separator
Varbinary to Base64
Binary columns used in the template are converted to Base64 automatically.
- Map
TemplateOutputto any destination column
Logging options
Control how much is logged during package execution.
LoggingMode: Normal, Medium, Detailed or DebuggingPrefixTimestampadds a timestamp to log messages
SQL Server 2012–2025 & ADF
Runs in your environment on SQL Server 2012–2025 and Azure-SSIS.
- SQL Server 2025, 2022, 2019, 2017, 2016, 2014, 2012 (32/64-bit)
- Azure Data Factory (SSIS IR)
- Design packages in Visual Studio 2017, 2019, 2022, or 2026
- Windows only (64-bit OS): Windows 7–11 or Windows Server 2012–2025
See all features
- Free component, included in every SSIS PowerPack edition
- Create dynamic strings inside the data flow
- Use upstream column names as placeholders (e.g.
<%CustomerEmail%>) - Use user / system variables as placeholders (e.g.
{{User::MyVariable}}) - Placeholder functions such as
FUN_XMLENCODE,FUN_JSONENCODE,FUN_SEQUENCEandFUN_MD5 - Insert Placeholders menu with columns, variables and function examples
- Create XML or JSON documents from a single input record
- Build JSON request bodies for API calls with REST API Destination
- Binary (Varbinary) columns converted to Base64 automatically
- Output column
TemplateOutputcan be mapped to any destination - Logging modes (Normal, Medium, Detailed, Debugging) with optional timestamp prefix
Support for SQL Server 2025, 2022, 2019, 2017, 2016, 2014, 2012 (32/64-bit) and Azure Data Factory
SQL Server 2012–2025
How it works
From the toolbox to your first run.
Key steps from the Template Transform page and help file, with the screens you will see in SSDT.
Write the template and insert placeholders.
Connect a source to ZS Template Transform and double-click it. Type the template text and use Insert Placeholders to add upstream columns (<%ID%>), variables ({{System::ContainerStartTime}}) or function examples. The example builds a Smartsheet JSON row for each record.
- Encode values:
<%Country,FUN_XMLENCODE%>,<%Country,FUN_JSONENCODE%> - Result goes to the
TemplateOutputcolumn (DT_NTEXT)

Send TemplateOutput downstream.
Map TemplateOutput to any destination column, or use it as the request body in Web API Destination. With batching on, set Body Header [, Body Footer ] and a comma row separator to send many rows in one request.
- Binary columns are converted to Base64 automatically
- Use Derived Column to cast the DT_NTEXT output to another type

Inside the UI
Key settings, as they appear in SSDT.
Real screens from the Template Transform product page. Step through them, or open any shot at full size.
Drag and drop
Drag OLE DB Source, ZS Template Transform and ZS Web API Destination into the Data Flow and connect them.
Articles
Worked examples that use Template Transform.
Compatibility and requirements
Designed to stay inside your SSIS runtime.
- SQL Server 2012 through 2025, 32-bit and 64-bit
- Windows only, 64-bit OS required. SQL Server Express and Web editions do not include SSIS
- Azure Data Factory SSIS Integration Runtime
- Self-hosted: credentials and data stay in your environment (external API calls still reach that service)
- Fully functional 30-day trial of SSIS PowerPack
FAQ
Questions teams ask before they drop Template Transform on the canvas.
What is Template Transform?
Template Transform is a free SSIS Data Flow transform that creates a dynamic string for each row. You use upstream columns and SSIS variables as placeholders anywhere in the template to produce the text you need, such as a simple XML or JSON document.
Is Template Transform free?
Yes. It is included in the FREE edition of SSIS PowerPack, as well as in the Standard, Professional and Enterprise editions. See compare editions.
How do I insert columns and variables?
Use <%ColumnName%> for an upstream column and {{User::MyVariable}} for a user or system variable, or pick them from Insert Placeholders. Add a function to encode values, for example <%Country,FUN_XMLENCODE%> or <%Country,FUN_JSONENCODE%>.
What else can I do with placeholder functions?
For example, <<FUN_SEQUENCE>>adds row numbers, and FUN_MD5 produces a hash from several columns to compare records. Binary (Varbinary) columns are converted to Base64 automatically. The output column is DT_NTEXT; cast it with a Derived Column if you need another type.
Which SQL Server versions can I run it on?
SQL Server 2025, 2022, 2019, 2017, 2016, 2014, and 2012 (32- and 64-bit), plus Azure Data Factory with an SSIS Integration Runtime (packages must target SQL Server 2017). See Compatibility and requirements.
Free in every edition
Install SSIS PowerPack and drag Template Transform onto the Data Flow.
Build a dynamic string for every row inside the Data Flow from upstream columns and SSIS variables, such as a JSON or XML document.
- Data Flow Transform in SSISTemplate Transform appears in the toolbox after you install PowerPack.
- Free to useTemplate Transform is included in the FREE edition of SSIS PowerPack.
- Live supportQuestions? Talk to a ZappySys engineer.
Talk to an engineer before or during your trial.