Lists & collections

Store many values under one name — carts, tags, wishlists.

When you need to store many values — a shopping cart, selected tags, a wishlist — use a list. Lists are managed with the List / collection block.

Operations

OperationEffect
append / prependAdd a value to the end / start
removeRemove a value
clearEmpty the list
length → variableCount items
get (by index) → variableRead one item
join → variableJoin into a string (custom separator)
contains → variabletrue / false if the value is present

Reading a list into a message

A list isn’t plain text, so to show it, join it into a variable first:

List  cart  join → cart_text   (separator ", ")
Send  "Your cart: {{var.cart_text}}"

Building buttons from a list

Pair a list with a Dynamic keyboard to render one button per item automatically — perfect for menus, catalogs and pickers.