Accessing Variable Data
All variables defined in the workflow can be easily accessed in other blocks. To access a defined variable, use{{$variable.myvar}}.
Accessing Block Data
- Action Block: To access data from any other action block, regardless of its position in the workflow, use the following syntax:
action-name is the name of the action block you want to retrieve the outputs from, and val is the output value of that block.
For example, to access the outputs of an action block named createOne, you would use {{$createOne.val}}.
Spaces are not allowed in the action block name.
- API Endpoint Action Block: The
API Endpointreturns headers, body, params and queryparams. You can access the outputs of this block by
- Headers: Information sent along with the request, like authentication details.
- Body: The main content of the response from the website/service.
- Params: Specific details included in the URL path (like page numbers or IDs).
- QueryParams: Additional details added to the URL after a question mark (?).
- HTTP Request Action Block: The
HTTP Requestreturns response and status. You can access the outputs of this block by
Accessing Secrets Data
All the secrets defined in theSecrets section of the Project console can be accessed in the workflow. If you need to use a secret in your workflow, you can access it using the following syntax: