Skip to main content

Radio Buttons

Creates a group of radio buttons for single-choice user selection in chat interfaces.

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

  • ID - The unique identifier for the radio button group.

Options

  • Options - An array of text options for the radio buttons.
  • Custom Options - An array of custom option objects with additional properties.

Output

  • Payload - The response object containing information about the user's radio button selection.

How It Works

The Radio Buttons node creates a group of radio buttons in chat interfaces where users can select only one option. When executed, the node:

  1. Creates a radio button group with the specified options
  2. Displays the radio buttons in the chat interface
  3. Waits for user interaction with the radio buttons
  4. Returns a payload with information about the user's single selection

Requirements

  • A valid chat interface or messaging platform
  • Properly configured radio button options or custom options

Error Handling

The node will return specific errors in the following cases:

  • Empty or invalid ID
  • Invalid option format
  • Issues with custom option objects
  • Communication errors with the messaging platform

Usage Notes

  • Radio buttons allow users to select only one option from a group
  • The payload output contains information about which option was selected
  • Radio buttons are useful for collecting single-choice user preferences or answers
  • Both Options and Custom Options can be used together to define the radio button items
  • Custom Options allow for more complex option configurations
  • Radio buttons are typically used for mutually exclusive choices