K
Docs
API ReferencePiecesGet List Item
🎯

Get List Item

base.list.getBase SetUtility

Returns the item at a zero-based index — 0 is first, 1 is second, and so on. Great for showing the top scorer or a random pick you already stored.

On the canvas

This is what Get List Item looks like when you place it on your flow. Each field below is something you configure in the inspector panel.

🎯
Get List Item
base.list.get
Utility
listrequired
{{sorted}}
indexrequired
0
asrequired
item

Config fields

FieldTypeReqWhat it does
list
{{sorted}}
textyesList 📋
index
0
textyesIndex (0 = first)
as
item
textyesSave item as ✨

Sparks this piece adds

After this piece runs, these values are available as sparks in every node downstream.

{{row}}stringList item at index

Output ports

outputItem spark is ready
📐

In TypeScript, this would be…

Not something you need to write — just a look at what Kitcord does for you.

TypeScript
const item = list[Number(index)];
// index 0 = first — {{item}}