Workflow variables
Last Update: Sep 2024 Est. Read Time:Within workflows, you may want to use secure credentials such as API keys. Most commonly, this is done via a REST API JSON action step, where you need to pass in the appropriate headers for authorization. Workflow variables allow you to store these credentials securely and access them from within a workflow.
Who can access this feature? | |
User types | Admins can create workflows. |
In this article
Create a workflow variable
To create a workflow variable, navigate to Workflow Options and select Workflow Variables. When creating a new workflow variable, remember that the name cannot contain spaces. Once saved, you can edit or delete this variable in the future.
Note: Variables you create are workflow-specific. If you duplicate a workflow that contains a variable, you must create a new variable for the duplicated workflow.
Access a workflow variable
Select the key icon and copy the desired workflow variable to access a workflow variable within the REST API JSON action step. Then, you can paste this value where the secure API token is needed for authorization.
To access a workflow variable within a standard entry field, click the icon on the right > Variables > and select the desired workflow variable.