ComfyUI Node: append

Class Name

Basic data handling: DataListAppend

Category
Basic/Data List
Author
StableLlama (Account age: 861days)
Extension
Basic data handling
Latest Updated
2026-05-07
Github Stars
0.04K

How to Install Basic data handling

Install this extension via the ComfyUI Manager by searching for Basic data handling
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Basic data handling in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

append Description

Appends items to lists, streamlining dynamic list building and efficient data management.

append:

The DataListAppend node is designed to enhance your data manipulation capabilities by allowing you to add an item to the end of an existing list. This node is particularly useful when you need to dynamically build or modify lists by appending new elements. It simplifies the process of list management by automatically handling the addition of items, ensuring that your list is updated efficiently. This functionality is essential for tasks that require iterative data collection or when you need to expand a list with new data points. By using this node, you can streamline your workflow and focus on the creative aspects of your project without worrying about the technical details of list operations.

append Input Parameters:

list

This parameter represents the list to which you want to append an item. It can be any list of elements, and the node will create a copy of this list before appending the new item. The list can contain any type of data, and there are no specific constraints on its size or content. The default value is an empty list if not provided.

item

This parameter is the item you wish to add to the end of the list. It can be any data type, allowing for great flexibility in what you can append. The node will take the first element of this parameter if it is provided as a list. If no item is specified, the list remains unchanged. The default value is an empty list if not provided.

append Output Parameters:

list

The output is a modified list that includes the original elements plus the newly appended item. This updated list reflects the changes made by the node and can be used in subsequent operations or nodes. The output maintains the order of the original list, with the new item added at the end, ensuring that your data structure remains consistent and predictable.

append Usage Tips:

  • Use the DataListAppend node when you need to build a list incrementally, such as when collecting data points over time or during iterative processes.
  • Ensure that the item parameter is correctly specified to avoid appending unintended data. If the item is a list, only the first element will be appended.
  • Consider using this node in conjunction with other list manipulation nodes to create complex data structures or to prepare data for further processing.

append Common Errors and Solutions:

TypeError: 'NoneType' object is not iterable

  • Explanation: This error occurs when the list parameter is not provided or is set to None, causing the node to attempt to iterate over a non-existent list.
  • Solution: Ensure that the list parameter is always provided and is a valid list object. If you intend to start with an empty list, explicitly pass an empty list [].

IndexError: list index out of range

  • Explanation: This error can occur if the item parameter is expected to be a list but is empty, and the node attempts to access the first element.
  • Solution: Verify that the item parameter contains at least one element if it is provided as a list. If appending an empty item is acceptable, ensure that the logic accounts for this scenario.

append Related Nodes

Go back to the extension to check out more related nodes.
Basic data handling
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

append