Template Block
Template renders a text template with current Flow variables and saves the rendered result for later Blocks.
At a glance
What it does
Template turns a reusable text pattern into a rendered string. It replaces variable references with current values, then writes the result to an output variable.
Use it to build URLs, labels, filenames, messages, search phrases, and other strings that combine fixed text with Flow data.
Use it when
- Build a URL path or query from variables.
- Create a readable label from extracted data.
- Format text before sending it to another Block or integration.
Do not use it when
- You only need to store a simple value; use Variables.
- You need numeric calculation or data conversion.
- The target Block already accepts the variables directly.
Settings
Write the template text and choose the output variable name. The template editor uses normal Scrapeer variable syntax.
Template
Required: No- Variables
- Yes
- Description
- Text pattern rendered with current Flow variables, such as {{company}} jobs.
Output variable
Required: Recommended- Variables
- Variable name
- Description
- Name that stores the rendered text. The schema default is templateOutput.
Outputs
Template writes the rendered string to the configured output variable.
outputVariableNamestringThe rendered template saved under the configured variable name.
renderedstringRendered text shown in the run output.
Example Flow
Template is useful when a later Block needs one setting built from several values.
- Define values such as {{baseUrl}} and {{searchTerm}}.
- Render a template such as {{baseUrl}}?q={{searchTerm}} into {{searchUrl}}.
- Use {{searchUrl}} in Go To URL or another later Block.
Errors and fixes
Start with symptoms visible in the editor or Inspector, then check the earliest Block that produced the wrong page state, variable, or output.
The rendered text contains empty gaps.
- Check
- Check whether every referenced variable exists before Template runs.
- Fix
- Create or extract the missing variables earlier in the Flow.
A later Block cannot use the template result.
- Check
- Check that the output variable name is set.
- Fix
- Set an output variable name and reference it with {{variableName}}.
Local and cloud runs
Local and cloud runtimes both interpolate Template text with current Flow variables.
The worker writes the rendered result when an output variable name is present, so keep the output variable populated.