Configure blocks
Customize block properties and their behavior.
Overview
Blocks are individual steps of workflows, with configurable properties and exit nodes. Properties control the block’s behavior and appearance, while exit nodes define the paths users take after interacting with the block.
Block name and description
Every block includes a name and description. The name is displayed in the workflow, while the description can be used to provide additional context about the block.
Block properties
Block properties define a block’s behavior and appearance. Access these properties in the block edit panel. Hover over a property name to view additional details, such as description, key, and type.
Basic properties
Basic properties allow you to customize the block’s content, appearance, and behavior. These properties are defined by the block template and their types include:
- String: Input for string values.
- Number: Input for numeric values.
- Boolean: Checkbox for true/false values.
- Select: Dropdown menu to choose from predefined options.
Slot configuration
When a block is slottable (i.e., designed to render within your application), additional slot-specific properties are available:
- Slot ID: Specifies the slot where the block will be rendered, as defined in your application.
- Slot index: Controls the rendering order when multiple blocks share the same slot. Blocks with lower index render first.
These properties allow you to insert components into your application using predefined slots. Note that the slots need to be defined in your application before they can be used in Flows. See the SDK documentation for more information.
Page targeting
Page targeting allows you to determine where a block appears based on the current page pathname. This is useful for displaying blocks on specific pages or sections of your application. In wait step and wait properties, page targeting can be used to pause the workflow until the user navigates to a specific page or does a specific action on the desired page.
Options:
- Page operator: The operator that defines the pathname matching logic. Options include:
- Contains: The block appears if the pathname contains the specified value.
- Does not contain: The block appears if the pathname excludes the specified value.
- Matches regex: The block appears if the pathname matches the specified regular expression.
- Page values: The value(s) used to match the pathname. For example, if the operator is set to Contains, the block appears when the pathname contains the specified value. You can add multiple values to match against (in that case the values are combined with an OR operator).
Tour steps
For tour blocks, the steps property defines individual steps. Each step behaves like an individual block but is automatically connected to the previous and next steps via built-in previous
and continue
exit nodes and can be canceled through the cancel
exit node.
When adding steps into a tour block, you can:
- Add tour specific blocks from your library.
- Use built-in wait steps to pause the tour until a user interacts with your application (e.g., clicking a button or navigating to a specific page).
User properties
User properties fields allows you to target users based on their attributes. You can add multiple user properties to target users based on their attributes, in that case the properties are combined with an AND operator. User properties are only available in built-in logic blocks.
Options:
- Property name: The user attribute to target.
- Data type: The data type of the user attribute. See supported types.
- Operator: The operator to use when comparing the user attribute value.
- Values: The value(s) to compare against the user attribute. You can add multiple values to match against (in that case the values are combined with an OR operator).
Exit nodes
Exit nodes are transitions triggered by user interactions with a block. To configure:
- Click the
+
button beside the node key. - Select the destination block(s) to connect.
Users can transition to multiple blocks. If no exit nodes are connected, the workflow halts at the current block.
Each exit node can transition to multiple blocks. If no blocks are connected, the user instance stops at the current block. However, the workflows may continue if user is currently in other blocks.
Block positioning
You can drag and drop blocks within the workflow editor to adjust their visual layout. Note that position changes do not affect block functionality.
Removing a block
To remove a block:
- Click the
•••
menu in the block’s edit panel. - Select Delete block.
This removes the block and disconnects all associated paths.