Fluent Commerce Logo
Docs

Configure Multi-Customer-Tier Sourcing Logic

How-to Guide

Author:

Kirill Gaiduk

Changed on:

2 Oct 2025

Key Points

  • Use the Responsive Sourcing Framework to tailor sourcing by Customer tier, Order value, and campaign windows
  • Use the `createSourcingProfile` mutation to create new versions of Sourcing Profiles, which are immutable
  • Activate relevant Sourcing Profiles versions with the `activateSourcingProfile` mutation
  • Reference Sourcing Profiles within the corresponding Workflows
No alt text provided

Steps

Step arrow right iconCreate Sourcing Profile

1. Use the `createSourcingProfile` mutation to create a new Sourcing Profile, including its:
  • Primary Sourcing Strategies with their
  • Sourcing Conditions and Criteria
2. Configure your Sourcing Profile using the `CreateSourcingProfileInput` fields:
  • Assign a unique Reference for the Profile (for example, `USA_TIERED`)
  • Set Default Virtual Catalog to `BASE:USA` (or as required)
  • Set Default Network to `USA` (or as required)
  • Set Default Max Split to 5
3. Configure Primary Sourcing Strategies for:
  • Q3 Boost Strategy: Active only during the September campaign window; prioritizes proximity for Any-tier Customers
  • Gold Strategy: Preferred proximity for Gold-tier Customers; uses the Profile’s default flexibility for splitting Fulfillments when needed
  • Silver (Big) Strategy: For Silver Orders with total price ≥ 1000; applies banded distance and daily-capacity ranking. Allows up to 4 Fulfillments (`maxSplit` 3) to maintain service quality for higher-value Silver Orders
  • Silver (Small) Strategy: For Silver Orders with total price < 1000; applies distance exclusion, inventory-availability banding, and daily-capacity ranking. Limits to up to 2 Fulfillments (`maxSplit` 1) to reduce operational cost and complexity for smaller Orders
  • Bronze Strategy: For Bronze Customers; enforces distance and location-type exclusions with inventory-availability ranking. Restricted to a single Fulfillment only (`maxSplit` 0) to keep the most economical tier simple and cost-efficient
4. Organize Strategies in the `"sourcingStrategies": []` array to reflect the priority order:
  • Priority 1 → `Q3_Boost`
  • Priority 2 → `Gold`
  • Priority 3 → `Silver_Big`
  • Priority 4 → `Silver_Small`
  • Priority 5 → `Bronze`
5. Define Sourcing Conditions:
  • `orderCreationDateBetween` for campaign windows
  • `customerTierIn` for tier-based routing
  • `totalPriceGreaterThanOrEquals` and `totalPriceLessThan` for Order monetary value segmentation
6. Define Sourcing Criteria:
  • `locationDistance`, `locationDistanceBanded`, or `locationDistanceExclusion` to enforce distance rules
  • `locationDailyCapacity` to apply capacity-aware ranking
  • `inventoryAvailability` or `inventoryAvailabilityBanded` to ensure sufficient stock
  • `locationTypeExclusion` to prevent warehouse use for specific tiers
Sample createSourcingProfile Payload

Step arrow right iconUpdate your Workflow

Ensure the Sourcing Profile `ref` is specified in the `sourcingProfileRef` parameter of the CreateFulfilmentWithSourcingProfile Rule.