Articles on: Discover the Creator

🎒 Inventory

Example link:

Inventories use List variables. This is a type of variable that can hold multiple values of the same type (boolean, numeric, text or image).

There is no default value to put in this type of variable.

They are very useful to create an inventory or to represent all possible options of a value in a database (Single/multiple select in Airtable).

You can directly add a value to this List by using the block 🟦 Add to a list.

The block 🟦 Retrieve from a list allows to retrieve one of the numbered values from the list. Each value has an index number.

Thus, if we retrieve the value in index 1, we will retrieve here the 1st element entered by the user.

The block 🟦 List contains allows to check if the list contains a specific value, like different words, and thus different textual values.

Be careful, you have to use a List contains block for each value you want to check.

Updated on: 15/04/2021

Was this article helpful?

Share your feedback


Thank you!