Skip to content

Return a value

The Return a value action passes data forward in your workflow - it is much like a variable, however it is only momentarily stored for the run of the workflow. The returned value can then be accessed via the 'result' field of the workflow action.

How it works

  1. Add a Return a value action to your workflow

  2. Set the value you want to return

The text value "WeWeb" set to being returned

In subsequent actions, access the returned value via the 'result' field of the workflow action:

The retrieved value from the subsequent action

While this is a dedicated action for returning values, other actions like Custom JavaScript can also make data available via its respective 'result' field through their return statements.

TIP

This action provides a clean way to pass processed data back when used in reusable workflows that are executed within other workflows. It's also useful for storing intermediate results that you need to use in later steps of your workflow, making your data flow clearer and more organized.