Overview
Pipeline Settings let you customize how the Bronze → Silver → Gold pipeline behaves for your workspace. You can define custom field mappings (Silver), adjust scoring weights (Gold), enable auto-triggers, and use preview mode to test changes safely.Accessing pipeline settings
Via UI:- Navigate to Settings → Pipeline
- The settings page shows tabs for Silver Mappings, Gold Weights, and Behavior
GET /api/workspace/{workspaceId}/settings/pipeline— read current settingsPUT /api/workspace/{workspaceId}/settings/pipeline— update settings
Silver field mappings
Silver mappings define how non-standard source fields are mapped to the Alana product schema.Why you need mappings
When supplier files use column names like"item_code" instead of "sku", or "prod_name" instead of "title", Silver won’t know how to map them without explicit configuration.
Mapping rules
Each mapping rule has:| Property | Type | Description |
|---|---|---|
sourceField | string | The column name as it appears in the source file |
targetField | string | The Alana schema field to map to |
transform | string (optional) | Transformation to apply: "uppercase", "lowercase", "trim", "prefix:X", "suffix:X" |
Example mappings
Available target fields
| Target field | Type | Description |
|---|---|---|
title | string | Product name |
sku | string | Stock-keeping unit |
gtin | string | Global Trade Item Number |
price | number | Selling price |
originalPrice | number | Pre-discount price |
currency | string | ISO 4217 code |
brand | string | Brand name |
categoryPath | string | Category hierarchy (> separated) |
description | string | Full product description |
shortDescription | string | Brief description |
primaryImageUrl | string | Main image URL |
availability | string | Stock status |
Gold scoring weights
Gold weights define the importance of each of the 7 scoring stages. All weights must sum to 100.Default weights
| Stage | Default weight |
|---|---|
| Identity (SKU, GTIN, brand) | 20% |
| Taxonomy (category depth) | 15% |
| Content (title, description, bullets) | 25% |
| Media (images, video) | 20% |
| Pricing (price, currency, original) | 10% |
| Attributes (category-specific specs) | 5% |
| SEO (slug, meta, keywords) | 5% |
Custom weight example
For a media-heavy catalog (e.g., fashion photography):Behavior settings
| Setting | Type | Default | Description |
|---|---|---|---|
autoTriggerSilver | boolean | false | Run Silver automatically after every Bronze ingest |
autoTriggerGold | boolean | false | Run Gold automatically after Silver completes |
previewMode | boolean | false | Simulate pipeline changes without writing to products |
autoTriggerGold: true is not recommended for large catalogs. Gold scoring has a cost and can be slow for 10,000+ products. Use manual or scheduled triggering instead.Preview mode
WhenpreviewMode: true, pipeline operations simulate transformations and return what would happen — without modifying any product records.
Use preview mode to:
- Test a new Silver mapping before applying it to real data
- See how new Gold weights would affect scores
- Validate field mapping logic without risk
Example preview response (Silver)
Read current settings
Update settings
Score coherence
Gold scores are recalculated only when Gold is triggered. If you changegoldWeights, existing scores on products are stale until Gold is re-run. A banner in the UI warns when settings have changed since the last scoring run.
To refresh scores after changing weights:
Best practices
Configure mappings before the first import
Configure mappings before the first import
If your supplier files use non-standard column names, configure Silver mappings before importing. This ensures your first import lands correctly without requiring a re-import.
Use preview mode for mapping changes
Use preview mode for mapping changes
Before applying new mappings to a live catalog, enable preview mode and run Silver on a small selection. Review the
newValues output to confirm mappings behave as expected.Re-run Gold after changing weights
Re-run Gold after changing weights
After updating Gold weights, trigger a full catalog re-analysis so all product scores reflect the new configuration.
Enable autoTriggerSilver for automated feeds
Enable autoTriggerSilver for automated feeds
If you have a recurring import job (daily supplier feed, nightly CSV), enable
autoTriggerSilver: true so imported products are normalized automatically.