Divider
Displays a visual divider in chat interfaces to separate content sections.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- Session Id - Unique identifier for the UI client connection.
Options
- Border - Specifies the border style. Can be "Solid", "Dashed", "Dotted", "Double", "Groove", "Ridge", "Inset", "Outset", or "None".
- Thickness - Border thickness (1-5).
Output
- None (this is a display-only widget)
How It Works
The Divider node creates a visual divider widget that separates content sections in chat interfaces. When executed, the node:
- Validates the provided Session ID
- Retrieves the thickness value (defaults to 1 if not provided)
- Creates a divider widget with the specified border style and thickness
- Sends the widget to the client with the specified session ID
Requirements
- A valid session ID for an active client connection
- Properly configured client interface that can display divider widgets
Error Handling
The node will return specific errors in the following cases:
- Empty or invalid Session ID
- Session not found for the provided ID
- Thickness is required but not provided
- Failed to send widget to client
Usage Notes
- The Session ID must match an active client connection
- The divider is a visual element only and does not collect user input
- Different border styles can be used to create visual variety in chat interfaces
- Thickness values range from 1 (thinnest) to 5 (thickest)