Predicted value

Shipped

Routes to the recipient with the highest predicted outcome value.

Example

How Predicted value decides — the pool is evaluated and the winner is assigned. Each strategy selects differently.

type == "lead"selectedTriggerNew LeadWebhookScorePredicted valueStrategyae-westscore 96ae-eastscore 81centralscore 73Assigned
Show the code
// Predicted value selects from the pool and assigns.
engine.Route(ductor.Route{
Match: `routable.type == "lead"`,
Strategy: "predicted_value",
Pool: "sales-team",
})
 
// Durable, observable, exactly-once.
decision, err := engine.Dispatch(ctx, routable)

How it works

Scores candidates by predicted outcome value learned from outcome and quality history. An optional module that needs the outcome and quality stores.

Explainable