-
-
Input schema
-
{JSON.stringify(selectedSkill?.input_schema || {}, null, 2)}
-
-
-
Result
-
{error || JSON.stringify(result, null, 2) || "No run yet."}
-
+
+ {trends.map((item) => (
+
+ {item.label}
+ {typeof item.value === "number" && item.metric.includes("pipeline") ? `$${item.value.toLocaleString()}` : item.value}
+
+ ))}
+
+
+
+ Filters
+ Segment: {filters.segment}
+ Owners: {(filters.owners || []).join(", ")}
+ Stages: {(filters.stages || []).join(", ")}
+
+
+ Prioritized exceptions
+
+ {exceptions.length ? exceptions.map((item) => (
+
+ {item.account}
+ {item.reason}
+ {item.recommended_action}
+
+ )) :
No exceptions over the threshold.
}
+
+
+ Dashboard data
+
+
+ | Account | Owner | Stage | Amount | Status | Risk |
+
+ {rows.map((row) => (
+
+ | {row.account} | {row.owner} | {row.stage} | ${Number(row.amount_usd).toLocaleString()} | {row.status} | {row.risk_score} |
+
+ ))}
+
+
+
+ >
+ )}