Workflow filter card with an all/any segmented toggle and a stack of monospace field-operator-value condition rows plus an add-filter link.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Automation9 } from "@/components/beste/piece/automation9";
<Automation9
match="all"
headerLabel="Only run if"
addFilterLabel="Add filter"
filters={[
{
"field": "status",
"op": "is",
"value": "\"paid\""
},
{
"field": "amount",
"op": ">",
"value": "100"
},
{
"field": "currency",
"op": "is",
"value": "\"USD\""
}
]}
/>