Hudu icon

Hudu

Interact with Hudu REST API

List → Get Many

AI-generated

Overview

This node operation retrieves multiple lists from the Hudu system based on specified filters and options. It is useful for scenarios where you need to fetch a collection of lists, such as for reporting, data synchronization, or bulk processing. For example, you can search for lists by partial or exact name, limit the number of results, or choose to return all available lists.

Use Case Examples

  1. Fetch all lists with names containing 'Project'.
  2. Retrieve up to 50 lists with an exact name match 'Marketing'.
  3. Return all lists and wrap the results in a single item to avoid rate limiting downstream.

Properties

Name Meaning
Filters Filters to apply when retrieving lists, including partial or exact name matching.
Return All Whether to return all matching results or limit the number of results.
Limit Maximum number of results to return when 'Return All' is false.
Wrap Results in Single Item Whether to return all results as a single item containing an 'items' array and a 'count' field, useful to prevent downstream nodes from executing once per result item, which can cause rate limiting issues.

Output

JSON

  • items - Array of list objects returned when results are wrapped in a single item.
  • count - Number of list items returned when results are wrapped.

Dependencies

  • Hudu REST API

Troubleshooting

  • If the resource parameter is not set to 'lists', the node will throw an error indicating the resource is unknown.
  • If the operation parameter is not 'getAll' for lists, the node will not execute this logic.
  • Ensure API credentials for Hudu are correctly configured to avoid authentication errors.
  • If 'Return All' is false and 'Limit' is set too low, you may not get all desired results.

Discussion