Skip to content

Workflow Props

Workflow props are dynamic parameters that enable you to customize and reuse workflows efficiently. By defining props, you can pass specific values to the workflow, making it adaptable to various scenarios. This flexibility is essential for creating dynamic and efficient functionality.

Defining Props

To define props for a Workflow:

  1. Open the workflow configuration.
  2. Add the required props in the Props section.
  3. Specify the name, defaultValue, and whether the prop is required.

Example: Defining Workflow Props

Consider a workflow named sign_up.

Here, we define a prop email with a default value of 'example@gmail.com'.

Defining workflow props

In the Workflow Node settings, the email prop is accessed via the variable p, as shown below:

Workflow props in function editor