Torq’s Parameters utility step allows you to predefine values such as integrations, emails, JSON objects, or text strings that can be easily referenced throughout the workflow. This makes your workflows more flexible and easier to update; no need to edit multiple steps when a single value changes.
Add and configure parameters
Add the step: Drag the Workflow Parameters step onto your workflow canvas.
Create a parameter: Click + Add Parameter to define a new workflow parameter.
Select a parameter type: Choose the parameter type that best matches your intended use. See the table below.
Name the parameter: Give the parameter a clear, descriptive name to make it easily recognizable throughout your workflow.
Add description (optional): Provide context to help collaborators understand the parameter’s purpose.
Add a placeholder (optional): Enter example text that appears in the input field to guide users on the expected format or value.
Save the parameter: Click Save to store the configuration.
The fields shown in the Create Parameter dialog depend on the parameter type you select.
Type | Description |
Short text | Single-line text such as names, IDs, or URLs |
Long text | Multi-line text such as descriptions, messages, or JSON strings |
JSON | Structured data in JSON format (objects or arrays) |
Number | Numeric values such as counts, limits, or durations |
Boolean | True/false toggles to enable or disable logic |
Single select | A dropdown list where the user selects one option |
Multi select | A dropdown list allowing multiple selections |
File | Attach a file to be referenced or passed to other steps |
Integration | Reference a connected integration |
Interaction Flow | Select and reuse an Interaction Flow defined elsewhere in the workspace |
Resume execution | Used to pause and later resume a workflow execution programmatically |
Edit or delete parameters
Edit or delete a parameter: Hover over an existing parameter and click the three-dot menu (…) to edit or delete it.
Update values in the step: Update parameter values directly in the step when needed.
Run and apply parameters
Run the step: Execute the Workflow Parameters step to set the defined values.
Re-run when updated: If you add or modify parameters, re-run the step to apply changes to the workflow.
Reference parameters
Use your defined parameters throughout the workflow using the
{{ $.workflow_parameters.parameter_name }} syntax.
For example, "email": "{{ $.workflow_parameters.alert_email }}".
