I'm using retool cloud and need get the environment that execute in workflow, similar how you can use in selfhosting: {{retoolContext.environment}}
You can access the environment via {{workflowContext.environment}}
!
Is a function inside the workflow
@zeroray Ah, I see! Thanks for sharing. This may be a bug, where the Headers section doesn't have access to the workflowContext
scope for REST API resource queries inside functions; I have filed a report internally. For now, I recommend using a standard REST API resource query block (instead of a REST query inside a function block), because this issue seems to only be present inside functions.