# Segmentation criteria

> How to define criteria (level, age, weight, etc.) to automatically split the participants of a Cursillo into groups.

## Segmentation criteria

*This feature is part of Cursillos and is still under development (Pre environment); it is not available in production.*

**Segmentation criteria** let you define characteristics of your customers or participants (for example, level, age or weight) that Lueira uses to automatically split them into groups within a **Cursillo**, instead of having to create and assign the groups by hand.

**Path:** [School / Center / Activities > Settings > Segmentation criteria](https://admin.lueira.com/school/settings/criteria)

 

## Step 1: create a criterion

Click **"Add"** and define:

- **Name**: for example, "Level" or "Age".
- **Type**: **Range** (a number between a minimum and a maximum, with an optional unit, for example kg or years), **Boolean** (yes/no) or **Enumerated** (a list of named options).

## Step 2: add the criterion's values

Inside each criterion, click **"Add value"** to create the specific options that criterion can have. For example, for the "Level" criterion: Beginner, Intermediate, Advanced. For a Range-type criterion, each value also carries a minimum and/or a maximum (for example, "Children" = 0–12 years).

## Step 3: use the criteria in a Cursillo

When you create or edit a Cursillo, the wizard includes a **"Criteria"** step where you choose which segmentation criteria apply to that specific Cursillo (for example, Level and Age).

In the next step, **"Groups"**, you select which values of each criterion you want to use. When you click **"Generate groups"**, Lueira automatically creates one group for each possible combination of the selected values (for example, Level × Age can generate the groups "Beginner · Children", "Beginner · Adult", "Advanced · Children", "Advanced · Adult"). Each generated group can then be edited to adjust its name, maximum capacity, teacher/participants ratio, allowed days or status.

If you have any questions, don't hesitate to contact the Lueira support team!

Source: https://help.lueira.com/en/articles/criterios-de-segmentacion
