{
  "format": "rote-workflow",
  "version": 1,
  "tool": "cleaner",
  "name": "Email list cleanup",
  "steps": [
    {
      "id": "tpl-eml-empty",
      "type": "remove_empty",
      "columns": []
    },
    {
      "id": "tpl-eml-trim",
      "type": "transform",
      "columns": [],
      "change": {
        "kind": "trim"
      }
    },
    {
      "id": "tpl-eml-lower",
      "type": "transform",
      "columns": [
        "Email"
      ],
      "change": {
        "kind": "lower"
      }
    },
    {
      "id": "tpl-eml-names",
      "type": "transform",
      "columns": [
        "First Name",
        "Last Name"
      ],
      "change": {
        "kind": "title"
      }
    },
    {
      "id": "tpl-eml-has-email",
      "type": "filter_rows",
      "match": "all",
      "conditions": [
        {
          "kind": "text",
          "column": "Email",
          "op": "not_blank",
          "value": ""
        }
      ]
    },
    {
      "id": "tpl-eml-dedupe",
      "type": "dedupe_rows",
      "columns": [
        "Email"
      ],
      "keep": "first",
      "ignoreCase": true,
      "collapseWhitespace": true,
      "matchBlankKeys": false
    }
  ]
}
