Skip to main content
All CollectionsBuild AutomationsWorkflowsData
Nest Context Expressions: Dynamic Key References in Torq
Nest Context Expressions: Dynamic Key References in Torq

Dynamically reference keys in Torq workflows using nested context expressions.

Updated over 2 months ago

You can nest context expressions when you want to access keys (or secrets, integrations, etc.) in an event or a step output using another dynamic key value.

For example:

{{ $.step_1.{{ $.step_2.key_2 }}.inner_key_2 }}

You can also refer to integration values and secrets by dynamically providing their names, like so:

{{ $.integrations.{{ $.some_step.required_integration_name }}.some_value_from_the_integration }}
Did this answer your question?