Filter Conditions

Workflow filter card with an all/any segmented toggle and a stack of monospace field-operator-value condition rows plus an add-filter link.

Only run if
allany
  • statusis"paid"
  • amount>100
  • currencyis"USD"

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
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\""
    }
  ]}
/>