[
  {
    "name": "Sample Device Update Workflow",
    "trigger": {
      "object_type": "Devices",
      "event_type": "update"
    },
    "conditions": [
      {
        "logic": "AND",
        "conditions": [
          {
            "field": "devVendor",
            "operator": "contains",
            "value": "Google"
          },
          {
            "field": "devIsNew",
            "operator": "equals",
            "value": "1"
          },
          {
            "logic": "OR",
            "conditions": [
              {
                "field": "devIsNew",
                "operator": "equals",
                "value": "1"
              },
              {
                "field": "devName",
                "operator": "contains",
                "value": "Google"
              }
            ]
          }
        ]
      }
    ],
    "actions": [
      {
        "type": "update_field",
        "field": "devIsNew",
        "value": "0"
      },
      {
        "type": "delete_device"
      }
    ]
  }
]