AreaCacaoDocs
FormulationIngredients

Custom fields

Define your own account-level fields to capture extra information on your ingredients.

What it is

Custom fields let you extend your ingredient information with your own data that the standard catalog doesn't capture: origin, certification, batch number, etc. The fields you define are at your account level.

How to get there

From the ingredient catalog, click the Custom fields button in the header. A modal opens with the subtext "Define your own fields to capture extra information on your ingredients (origin, certification, batch, etc.).".

Sections of the modal

The modal shows the Defined fields (N) list —with the number of created fields in parentheses— and a table of the fields you've already created:

ColumnContent
LabelVisible name of the field.
KeyInternal key of the field.
TypeData type of the field.
RequiredWhether the field is mandatory.

Each row has a pencil icon to edit and a trash icon to delete. If you haven't created any yet, you'll see "No fields defined yet. Create your first one to extend your catalog.".

Create a field

Open the editor

Click New field. A blank sub-form opens.

Fill in the details

  • Label (required) — the visible name of the field, for example Country of origin.
  • Key (internal) — the internal key. It's auto-generated from the label in snake_case format, must start with a lowercase letter, and can't be changed once the field is created.
  • Type — choose between Text, Number, Date, Select (dropdown), or Boolean (yes/no).
  • Options (comma-separated) — only for the Select type: the list of values separated by commas, for example Venezuela, Ecuador, Madagascar.
  • Help text (optional) — supporting text for whoever fills in the field.
  • Required field — checkbox to mark the field as mandatory.

Save

Click Create field. The field appears in the list of defined fields.

Edit and delete

  • Edit (pencil icon) — opens the editor with the field's details. The internal key is locked and can't be modified.
  • Delete (trash icon) — removes the field definition, with a confirmation prompt first. Values you've already captured on ingredients are not removed: they stay saved, although without their definition.

Validations

  • The Label is required: if you leave it empty, you'll see "Label is required".
  • The Key must start with a lowercase letter and be in snake_case; otherwise you'll see "Invalid key — it must start with a lowercase letter and be snake_case".

Today this screen is for defining the fields. Capturing values happens on each custom ingredient in your account; the modal itself hints at this with the note "Once defined, you can capture values on each custom ingredient.". Don't confuse the two: custom fields add data columns; custom ingredients are brand-new full sheets.

Next steps

On this page