Previous Steps Access
Learn how to use the step alias to reference flow data.
Last updated
Was this helpful?
Learn how to use the step alias to reference flow data.
Last updated
Was this helpful?
The Previous Steps Access feature allows you to reference data from a previous step (connector or capsule) in subsequent steps of the flow through . With it, you can access payloads directly using custom aliases that align with your pipeline needs.
This reduces the effort required for manual data management and decreases the need to use the connector.
When configuring a connector, you can define a Alias. This allows you to reference data in subsequent connectors that support Double Braces. See below an example using the JWT V2 connector:
The name defined for the Alias to be referenced correctly must:
Use only alphanumeric characters and hyphens.
Use only lowercase letters.
Start with a letter.
End with an alphanumeric character.
Contain a maximum of 30 characters.
Suggestion: Connector name + numeric identification. For example, csv-to-json-v1-3
.
Click the connector whose output you want to reference in the next steps.
Name your Alias.
Fill in the other connector settings as usual.
Click Confirm.
Select the connector that will consume the output you saved through Double Brace Alias.
Fill in the connector settings as usual.
Paste the name of the Double Braces Alias you created using the {{ step.step-alias }}
syntax. For example: {{ step.csv-to-json-v1-3 }}
, the step-alias being csv-to-json-v1-3.
Click Save.
Open the Canvas to . You can also modify an existing pipeline if you wish.
Execute the pipeline using the .