{
  "integrations": {
    "66dd8bf9-c787-41a0-b0ee-66ecf230f131": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "createdAt": 1687295075295,
      "domain": "https://vet.digitail.io/patients/*/health-card",
      "id": "66dd8bf9-c787-41a0-b0ee-66ecf230f131",
      "isAuto": false,
      "isAutoClose": false,
      "isAutoRunAutomation": true,
      "matchElement": {
        "attribute": null
      },
      "name": "Elevate - Health-Card",
      "paths": {
        "address": {
          "regex": "\\d+",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//a[contains(@class,\"client-address\")]"
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "customer_id": {
          "attribute": null,
          "regex": "",
          "type": {
            "label": "URL",
            "value": "url"
          },
          "value": {
            "label": "path: 1226838",
            "value": "pathname:1"
          }
        },
        "email": {
          "attribute": null,
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[span[contains(@class,\"dt-icon dt-icon-email icon\")]]//following::div/div"
        },
        "first_name": {
          "regex": "(\\w+)\\s",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//span[contains(@class,\"PetOwner-textStyling\")]/div[1]/div[1]/span[1]"
        },
        "invoice_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "last_name": {
          "regex": ".*\\s(\\w+)$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//span[contains(@class,\"PetOwner-textStyling\")]/div[1]/div[1]/span[1]"
        },
        "note": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//span[contains(@class,\"PetOwner-textStyling\")]/div[1]/div[1]/span[1]"
        },
        "phone": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "purchase_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "transaction_amount": {
          "attribute": {
            "label": "value",
            "value": "value"
          },
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//input[@name=\"amount\"]"
        },
        "zip": {
          "regex": "(\\d+),\\s\\w+$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//a[contains(@class,\"client-address\")]"
        }
      }
    },
    "8ac40d27-1e2b-442b-8d6e-7df3dbbe8075": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "createdAt": 1687288848263,
      "domain": "https://vet.digitail.io/patients/*/*/file-case",
      "id": "8ac40d27-1e2b-442b-8d6e-7df3dbbe8075",
      "isAuto": true,
      "isAutoClose": false,
      "isAutoRunAutomation": true,
      "matchElement": {
        "attribute": null
      },
      "name": "Digitail - Invoice",
      "paths": {
        "address": {
          "regex": "^(.*)\\,\\s*\\w+\\s*,",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//a[contains(@class,\"styles__StyledContactInfoLink-sc-x1igc6-4\")]"
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "customer_id": {
          "attribute": null,
          "regex": "",
          "type": {
            "label": "URL",
            "value": "url"
          },
          "value": {
            "label": "path: 1226838",
            "value": "pathname:1"
          }
        },
        "email": {
          "attribute": null,
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"client-details\")]"
        },
        "first_name": {
          "regex": "(\\w+)\\W",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//span[contains(@class,\"user-name\")]"
        },
        "invoice_number": {
          "attribute": null,
          "regex": "Invoice (.*)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//span[contains(text(),\"Invoice DGT\") ]"
        },
        "last_name": {
          "regex": "\\s+(\\w+)$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//span[contains(@class,\"user-name\")]"
        },
        "note": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//span[contains(@class,\"user-name\")]"
        },
        "phone": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "purchase_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "transaction_amount": {
          "attribute": {
            "label": "value",
            "value": "value"
          },
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//input[contains(@name,\"amount\")]"
        },
        "zip": {
          "attribute": null,
          "regex": "(\\d{5}),",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//a[contains(@class,\"styles__StyledContactInfoLink-sc-x1igc6-4\")]"
        }
      }
    }
  },
  "steps": {
    "66dd8bf9-c787-41a0-b0ee-66ecf230f131": {
      "636bc913-da02-462b-b5d1-5a020e900d9a": {
        "id": "636bc913-da02-462b-b5d1-5a020e900d9a",
        "integrationId": "66dd8bf9-c787-41a0-b0ee-66ecf230f131",
        "steps": [
          {
            "automationLabel": "Amount",
            "chosen": false,
            "id": "3b0b7b9b-d1ac-477c-93a9-8918aba86416",
            "path": "//input[contains(@name,\"amount\")]",
            "selected": false,
            "transactionApprovalSetting": {
              "label": "Total Amount",
              "value": "AMOUNT"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Description",
            "chosen": false,
            "id": "517e6e46-24ce-4e67-9c02-4be3cecb753e",
            "path": "//textarea[contains(@name,\"description\")]",
            "selected": false,
            "type": {
              "label": "Input",
              "value": "input"
            },
            "value": "id: {{transactionId}} : {{vault.type}} : {{vault.accountType}} : {{vault.lastFour}}"
          },
          {
            "automationLabel": "Card Type",
            "id": "ec0394ab-d9c9-48ac-b8bd-ad25f0880a37",
            "path": "",
            "transactionPaymentTypeSettings": {
              "AMERICAN_EXPRESS": {
                "path": "//div[@data-test-id='card-type-american']"
              },
              "CHECKING": {
                "path": "//div[@data-test-id='card-type-other']"
              },
              "DEBIT": {
                "path": "//div[@data-test-id='card-type-other']"
              },
              "DINERS": {
                "path": "//div[@data-test-id='card-type-other']"
              },
              "DISCOVER": {
                "path": "//div[@data-test-id='card-type-discover']"
              },
              "GENERAL_LEDGER": {
                "path": "//div[@data-test-id='card-type-other']"
              },
              "JCB": {
                "path": "//div[@data-test-id='card-type-other']"
              },
              "MASTERCARD": {
                "path": "//div[@data-test-id='card-type-mastercard']"
              },
              "SAVINGS": {
                "path": "//div[@data-test-id='card-type-other']"
              },
              "UNKNOWN": {
                "path": "//div[@data-test-id='card-type-other']"
              },
              "VISA": {
                "path": "//div[@data-test-id='card-type-visa']"
              }
            },
            "type": {
              "label": "Click",
              "value": "click"
            },
            "useTransactionPaymentType": true,
            "value": null
          }
        ],
        "type": "CHARGE"
      }
    },
    "8ac40d27-1e2b-442b-8d6e-7df3dbbe8075": {
      "3b104efc-3235-4ecb-b90b-183173d4c8a0": {
        "id": "3b104efc-3235-4ecb-b90b-183173d4c8a0",
        "integrationId": "8ac40d27-1e2b-442b-8d6e-7df3dbbe8075",
        "steps": [
          {
            "automationLabel": "Amount",
            "chosen": false,
            "id": "1de320ff-0688-4062-9ebe-8c5fd67ef26a",
            "path": "//input[contains(@name,\"amount\")]",
            "selected": false,
            "transactionApprovalSetting": {
              "label": "Total Amount",
              "value": "AMOUNT"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Description",
            "chosen": false,
            "id": "f065a1db-f268-4505-bd71-e525510fa997",
            "path": "//textarea[contains(@name,\"description\")]",
            "selected": false,
            "type": {
              "label": "Input",
              "value": "input"
            },
            "value": "id: {{transactionId}} : {{vault.type}} : {{vault.accountType}} : {{vault.lastFour}}"
          },
          {
            "automationLabel": "Payment Type",
            "chosen": false,
            "id": "9e4f0a56-7024-4350-9c5a-2043dd939647",
            "isSkip": true,
            "path": "//span[@id=\"react-select-2-live-region\"]",
            "selected": false,
            "transactionPaymentTypeSettings": {
              "AMERICAN_EXPRESS": {
                "label": "Card",
                "value": "Card"
              },
              "CHECKING": {
                "label": "Check",
                "value": "Check"
              },
              "DEBIT": {
                "label": "Card",
                "value": "Card"
              },
              "DINERS": {
                "label": "Card",
                "value": "Card"
              },
              "DISCOVER": {
                "label": "Card",
                "value": "Card"
              },
              "GENERAL_LEDGER": {
                "label": "Card",
                "value": "Card"
              },
              "JCB": {
                "label": "Card",
                "value": "Card"
              },
              "MASTERCARD": {
                "label": "Card",
                "value": "Card"
              },
              "SAVINGS": {
                "label": "Check",
                "value": "Check"
              },
              "UNKNOWN": {
                "label": "Card",
                "value": "Card"
              },
              "VISA": {
                "label": "Card",
                "value": "Card"
              }
            },
            "type": {
              "label": "Dropdown",
              "value": "dropdown"
            },
            "useTransactionPaymentType": true,
            "value": null
          },
          {
            "automationLabel": "Card Type",
            "chosen": false,
            "id": "a18076f5-9c9e-4da8-b9d4-160677c02df1",
            "path": "",
            "selected": false,
            "transactionPaymentTypeSettings": {
              "AMERICAN_EXPRESS": {
                "path": "//div[@data-test-id='card-type-american']"
              },
              "CHECKING": {
                "path": "//div[@data-test-id='card-type-other']"
              },
              "DEBIT": {
                "path": "//div[@data-test-id='card-type-other']"
              },
              "DINERS": {
                "path": "//div[@data-test-id='card-type-other']"
              },
              "DISCOVER": {
                "path": "//div[@data-test-id='card-type-discover']"
              },
              "GENERAL_LEDGER": {
                "path": "//div[@data-test-id='card-type-other']"
              },
              "JCB": {
                "path": "//div[@data-test-id='card-type-other']"
              },
              "MASTERCARD": {
                "path": "//div[@data-test-id='card-type-mastercard']"
              },
              "SAVINGS": {
                "path": "//div[@data-test-id='card-type-other']"
              },
              "UNKNOWN": {
                "path": "//div[@data-test-id='card-type-other']"
              },
              "VISA": {
                "path": "//div[@data-test-id='card-type-visa']"
              }
            },
            "type": {
              "label": "Click",
              "value": "click"
            },
            "useTransactionPaymentType": true,
            "value": null
          }
        ],
        "type": "CHARGE"
      }
    }
  }
}