Documentation
Display Rules
Conditional formatting that changes how a card looks based on its data.
Display Rules
Conditional formatting engine that transforms card values based on rules. Up to 10 rules per card, 5 conditions per rule.
Condition Sources
| Source | Description |
|---|---|
| rawResponse | Raw HTTP response body (before parsing) |
| extractedValue | Value after JSONPath extraction |
| httpStatus | HTTP status code (remote API cards only) |
| itemValue | Individual item's display value |
Operators
String Operators
contains/notContainsequals/notEqualsstartsWith/endsWithmatchesRegexisEmpty/isNotEmpty
Numeric Operators
greaterThan(>)lessThan(<)greaterOrEqual(>=)lessOrEqual(<=)
Rule Actions
| Action | Description |
|---|---|
| overrideValue | Replace displayed value |
| overrideIcon | Change SF Symbol icon |
| overrideEmoji | Change emoji |
| overrideColor | Change color (name or hex) |
| overrideType | Change card value type |
Example Rule
{
"conditions": [
{ "source": "extractedValue", "op": "greaterThan", "value": "80" }
],
"conditionMode": "all",
"action": {
"overrideValue": "Critical",
"overrideColor": "red",
"overrideIcon": "exclamationmark.triangle.fill"
},
"enabled": true
}
Logic: Use conditionMode: "all" for AND logic, "any" for OR. First matching rule wins.