---
agentTools:
  projectIndex: https://help.logichub.com/llms.txt
---

# appendToList

Append the contents of a table to a list

Appends the contents of the parent table to a list. The schema of the list must be a subset of the schema of the parent table - in other words, every column described in the list schema must be present in the parent table.

Depending on the overflow policy on the list, if we were to reach the maximum number of elements for the list we would either return an error or silently delete the oldest entries.

[block:api-header]
{
  "title": "Operator Usage in Easy Mode"
}
[/block]

1. Click **+** on the parent node.
2. Enter the **Append To List** operator in the search field and select the operator from the **Results** to open the operator form.
3. In the **Table** drop-down, enter or select a table from which to source the data.
4. In the **List Name** drop-down, enter or select a name of the list to which you want to append the rows.
5. Click **Run** to view the result.
6. Click **Save** to add the operator to the playbook.
7. Click **Cancel** to discard the operator form.

[block:api-header]
{
  "title": "Usage Details"
}
[/block]

[block:code]
{
  "codes": [
    {
      "code": "appendToList(input_table, list_name)",
      "language": "text",
      "name": "LQL Command"
    }
  ]
}
[/block]

**Input Parameters:**

`input_table`: Name of the input table.

`list_name`: The name of the list. This is a string.