Custom insights
Create custom insight rules and review persisted state from Settings.
Last updated:
Use Settings → Custom insights to define custom threshold rules on top of the built-in Insights engine.
What custom insights do
Each custom rule:
- watches one supported operational signal
- stores the current rule state in
insight_rule_state - opens a
findingonly when the rule is inwarnorfail - resolves the open finding automatically when the rule returns to
info
This keeps the dashboard readable:
- state answers “what is true right now?”
- finding answers “is there an active incident?”
Supported rule types
Current self-serve templates:
- Low-stock SKUs
- Recent error events
- Manual stock actions
- Cancelled orders
- Dispatch SLA overdue orders
Create a rule
- Open Settings → Custom insights.
- Select New custom rule.
- Enter a rule name.
- Choose an insight type.
- Set warning and fail thresholds.
- Preview the live result.
- Save the rule.
Rule behaviour
- Active rules appear in the Control Centre Insights panel.
- Active custom rule incidents contribute to the sidebar Insights badge.
- Paused rules remain defined but do not open new findings.
- Deleting a rule resolves any open finding for that rule and removes its persisted state row.
Preview before save
The rule modal includes a live preview so operators can confirm:
- current value
- resulting severity
- summary/message text
- destination action link
Ask Eden about a rule
Eden can now answer clear custom-rule questions in Assistant using:
- the saved rule definition
- the latest persisted rule state
- the latest finding status
- template-specific evidence (for example low-stock samples or recent error sources)
Example prompts:
Which custom insight rules are currently failing?Why is custom rule "Warehouse low stock watch" currently failing?What are the warn and fail thresholds for custom rule "Recent error events"?