Skip to main content

Parameter Utilities

Define, store, and reuse parameters across your workflows.

Updated this week

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

  1. Add the step: Drag the Workflow Parameters step onto your workflow canvas.

  2. Create a parameter: Click + Add Parameter to define a new workflow parameter.

  3. Select a parameter type: Choose the parameter type that best matches your intended use. See the table below.

  4. Name the parameter: Give the parameter a clear, descriptive name to make it easily recognizable throughout your workflow.

  5. Add description (optional): Provide context to help collaborators understand the parameter’s purpose.

  6. Add a placeholder (optional): Enter example text that appears in the input field to guide users on the expected format or value.

  7. 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
(e.g., Slack, Jira, ServiceNow)

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

  1. Edit or delete a parameter: Hover over an existing parameter and click the three-dot menu () to edit or delete it.

  2. Update values in the step: Update parameter values directly in the step when needed.

Run and apply parameters

  1. Run the step: Execute the Workflow Parameters step to set the defined values.

  2. 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 }}".

Did this answer your question?