Hudu icon

Hudu

Interact with Hudu REST API

List Options → Create

AI-generated

Overview

This node interacts with the Hudu REST API to create a new list option within a specified list. It is useful for automating the management of list options in Hudu, such as adding new selectable items to dropdown lists or other list-based fields. For example, it can be used to programmatically add new options to a list of categories or statuses in a Hudu system.

Use Case Examples

  1. Create a new status option in a project management list to track task progress.
  2. Add a new category option to an asset classification list automatically when new categories are introduced.

Properties

Name Meaning
List Name or ID Specifies the target list by name or ID where the new list option will be created. This can be selected from existing lists or provided via an expression.
Name The name of the new list option to be created within the specified list.

Output

JSON

  • id - The unique identifier of the created list option.
  • name - The name of the created list option.
  • list_id - The ID of the list to which the option belongs.
  • created_at - Timestamp when the list option was created.
  • updated_at - Timestamp when the list option was last updated.

Dependencies

  • Requires an API key credential for authenticating with the Hudu REST API.

Troubleshooting

  • Ensure the 'List Name or ID' is valid and corresponds to an existing list in Hudu; otherwise, the creation will fail.
  • The 'Name' property must be provided and not empty; missing this will cause an error.
  • API authentication errors may occur if the API key credential is missing or invalid.
  • If the node throws an error about an unknown resource, verify that the resource parameter is correctly set to 'list_options'.

Discussion