Workflow memory is a feature that allows you to store data as a variable that can be accessed at any point within a workflow, or within other workflows. Workflow memory will persist even after a workflow has run, unlike typical data that lives within the life of a workflow run.
Setting Memory
To set workflow memory, you can create an action at any point using the app “Set Memory”
.png)
Within the config of the action, you can add any number of key-value pairs, setting the value based on any other action within the workflow.
.png)
Value: This can be set from any other action, system, webhook parameters, or any other value accessible from within the workflow builder
Saves On: This determines at which point the memory is saved, on
success
,failure
, oralways
Expires After: This determines how long the value will retain in memory
Scope: Here you can determine the scope of the memory, either workflow-specific or global (within a given Company)
Once configured, memory will be saved once the workflow step is run.
Accessing Memory
Workflow Memory can be accessed through the “Workflow Memory” button at the top for reference, and within any workflow step for use in the workflow itself.
.png)
Within a mapper or any other workflow step, the key-value pairs will always be accessible
.png)