Configure Recipes to Map Your Data with the Consumer Goods Schema (Optional)
Salesforce provides several customizable out-of-the-box recipes.
Required Editions
| Available in: Professional, Enterprise, and Unlimited editions where Consumer Goods Cloud is enabled. |
You can update the default recipes if these scenarios occur.
- If your schema deviates from the Consumer Goods (CG) schema.
- When there’s a change from an existing entity to a custom entity.
- When the data doesn’t load properly.
- An app stopped working due to incorrect data values.
Out-of-the-box Recipes
| Recipe Name | Description | Output |
|---|---|---|
| Training Calendar Recipe | Creates the training window and scoring window calendar. |
|
| Training Store Calendar | Creates a cross product between the stores and weeks. | Training store calendar dataset |
| Sales Features Recipe | Derives sales features, such as sales_change. |
|
| Visit Features Recipe | Derives visit-based features, such as num_days_since_last_visit. | Visit features dataset |
| Promotion Features Recipe | Derives promotion features, such as the number of products promoted last week. | Promotion features dataset |
| Scoring Recipe | Generates the scoring dataset. | Scoring dataset |
| Case Features Weekly | Processes the case features weekly. | Weekly case features dataset |
| Combining Recipe | Combines the data from all the recipes. |
|
Scenario 1: When the Data Is From a Different Object
You have an object that contains data on visits, retail stores, and product promotions. The CG schema requires that the data of each of these parameters be stored in separate objects. To map such an object to the CG schema, edit the training input recipe and then add a load node to import the data. To match the object with the CG schema-required fields, perform either the join, filter, or transform operation.
Scenario 2 - When the Data Is From the Same Object but Contains Different Column Names
The product priority column in the store object is named customer_priority. This column name is different from the default name (priority) that is provided in the CG schema. To ensure that this object complies with the CG schema, edit the scoring input recipe and add a transform node to rename customer_priority as priority.

