Segmentation segmentation

Description description

The Segmentation activity lets you create one or several segments from a population calculated by activities placed earlier in the workflow. At the end of the activity, they can be processed in one single transition or different transitions.

NOTE
By default, a member of the inbound population can only belong to one single segment. The filters are applied according to the order of the segments in the activity.

Related topics:

Context of use context-of-use

The Segmentation activity is generally placed after targeting activities (query, intersection, union, exclusion, etc.) in order to define the standard population based on which the segments are formed.

Related topics

Configuration configuration

  1. Drag and drop a Segmentation activity into your workflow.

  2. Select the activity, then open it using the button from the quick actions that appear.

  3. In the General tab, select the Resource type on which the segmentation has to be carried out:

    • Database resource if the segmentation is carried out on data that already exists in the database. Select the Filtering dimension depending on the data that you want to segment. By default, segmentation is carried out on the profiles.
    • Temporary resource if the segmentation is carried out on the workflow’s temporary data: select the Targeted set containing the data to segment. This use case can be encountered after importing a file or if the data in the database was enriched.
  4. Select the outbound transition type that you would like to use:

    • Generate one transition per segment: one outbound transition is added for each configured segment at the end of the activity.
    • Generate all segments in one transition: all configured segments are regrouped into one single outbound transition. Specify the transition label. The members of each segment keep the segment code that has been assigned to them.
  5. Add a segment by using the or Add an element button and specify the standard properties:

    • Do not activate the transition if the population is empty: the segment will only be enabled if data is retrieved.
    • Filter initial population (query): lets you filter this segment’s population.
    • Limit segment population: lets you limit the segment size.
    • Filter and limit segment population: lets you filter the segment population and limit its size.
    • Label: segment label.
    • Segment code: code assigned to the segment population.The segment code can be personalized using a standard expression and events variables (see this page).
    • Exclude segment from population: lets you exclude the specified segment from the outbound population of the activity. This option can only be used if the Generate all segments in the same transition option is selected.

  6. Open the detail view of the segment to access the latter’s configuration options. To do this, check the relevant box in the activity’s segment list, then select .

  7. If the option to filter the initial population is checked, open the Filter tab and specify your segment’s population. The filters are based on the filtering dimension selected in step 4. Consult the Query editing section for further information on population filtering.

    If the segmentation is carried out on a temporary resource, the count and preview of the population are not available in this tab.

  8. If the option to limit the segment size is checked, open the Limitation tab.

    First, select the Type of limit that you would like to use:

    • Random sampling: the segment population is selected randomly taking into account the configuration of the Filter tab, if necessary.
    • Ordered sampling: the segment population is selected in an ordered way. You must consequently specify the columns to be taken into account and the type of sorting to be applied. For example, if you select the Age field as the sort column while applying a Descending sort and setting a limit of 100, only the profiles of the top 100 oldest people will be kept.

    Now specify the size Limit of the segment:

    • Size (as a % of the initial population): specify the segment size by using a percentage of the activity’s initial population.

    • Maximum size: specify a maximum number of members for the segment population.

    • By data grouping: you can limit the segment population according to the values of a specific field of the inbound population. Select the field for grouping, then specify the values to be used.

    • By data grouping (as a %): you can limit the segment population according to the values of a specific inbound population field by using a percentage. Select the field to apply the grouping, then specify the values to be used.

      note note
      NOTE
      Different limitations for each value can be used. For example, you can specify a grouping for the Gender field and limit the population with Male members to 10 and the population with Female members to 30 people. If you use several data grouping fields, all the groupings have to have the same size.

  9. Confirm the configuration of your segment.

  10. Add as many segments as necessary by repeating steps 6 to 10 of this procedure.

  11. If necessary, edit the parameters in the Advanced options tab:

    • The Enable overlapping of outbound populations option defines how to manage profiles belonging to several segments:

      • When the option is not enabled, the Segmentation activity checks a profile is not present in several output transitions, even if this profile meets the criteria of several subsets.
      • When the option is enabled, the profiles can be found in several subsets if they meet their filter criteria.
    • If the inbound population has already been assigned a segment code that you want to keep, check the Concatenate the code of each segment option. The segment code specified in the activity will be added to the initial segment code.

    • If you need to exploit the remaining population, check the Generate complement option. See Use case: Creating deliveries with a complement.

  12. Confirm the configuration of your activity and save your workflow.

recommendation-more-help
3ef63344-7f3d-48f9-85ed-02bf569c4fff