{
  "integrations": {
    "b3e0c992-2dd1-4729-b206-4ea25d8983a1": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "createdAt": 1723044259758,
      "domain": "https://www.chirohd.com/app",
      "id": "b3e0c992-2dd1-4729-b206-4ea25d8983a1",
      "isAuto": true,
      "isAutoClose": true,
      "isAutoRunAutomation": true,
      "matchElement": {
        "attribute": {
          "label": "class",
          "value": "class"
        },
        "isEnabled": true,
        "matchingValue": "invoice-area",
        "xPath": "//div[contains(@class,\"invoice-area\")]"
      },
      "name": "ChiroHD - New Transaction",
      "paths": {
        "address": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "customer_id": {
          "regex": "\\d+",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"profile-info\")]//div[contains(text(), \"ID:\")]"
        },
        "email": {
          "attribute": null,
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//input[@formcontrolname=\"email\"]"
        },
        "first_name": {
          "regex": "",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//input[@formcontrolname=\"first_name\"]"
        },
        "invoice_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "last_name": {
          "regex": "",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//input[@formcontrolname=\"last_name\"]"
        },
        "note": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "phone": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "purchase_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "transaction_amount": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//*[contains(text(), \"Balance:\")]/following-sibling::div"
        },
        "zip": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        }
      }
    }
  },
  "steps": {
    "b3e0c992-2dd1-4729-b206-4ea25d8983a1": {
      "52dfac58-35d5-4a4c-ace4-cdd2c18b86e2": {
        "id": "52dfac58-35d5-4a4c-ace4-cdd2c18b86e2",
        "integrationId": "b3e0c992-2dd1-4729-b206-4ea25d8983a1",
        "steps": [
          {
            "automationLabel": "Select Payment",
            "id": "371c7752-65fa-4f5f-8ff4-ccbc984f5715",
            "isSkip": false,
            "path": "//button[contains(text(), \"Payment\")]",
            "transactionPaymentTypeSettings": {},
            "type": {
              "label": "Click",
              "value": "click"
            },
            "useTransactionPaymentType": false,
            "value": null
          },
          {
            "automationLabel": "Payment Type",
            "id": "29a990b9-2c0c-46de-9264-9f989586d866",
            "isSkip": false,
            "path": "//*[@formcontrolname=\"payment_type_id\"]",
            "transactionPaymentTypeSettings": {},
            "type": {
              "label": "Click",
              "value": "click"
            },
            "useTransactionPaymentType": false,
            "value": null
          },
          {
            "automationLabel": "Select Type",
            "id": "3dbb3508-e584-45c9-a84c-861d9a8a9e16",
            "path": "",
            "transactionPaymentTypeSettings": {
              "AMERICAN_EXPRESS": {
                "path": "//span[contains(text(), \"American Express\")]"
              },
              "CHECKING": {
                "path": ""
              },
              "DEBIT": {
                "path": "//span[contains(text(), \"Debit\")]"
              },
              "DINERS": {
                "path": "//span[contains(text(), \"Unknown CC\")]"
              },
              "DISCOVER": {
                "path": "//span[contains(text(), \"Discover\")]"
              },
              "GENERAL_LEDGER": {
                "path": "//span[contains(text(), \"Unknown CC\")]"
              },
              "JCB": {
                "path": "//span[contains(text(), \"Unknown CC\")]"
              },
              "MASTERCARD": {
                "path": "//span[contains(text(), \"MasterCard\")]"
              },
              "SAVINGS": {
                "path": ""
              },
              "UNKNOWN": {
                "path": ""
              },
              "VISA": {
                "path": "//span[contains(text(), \"Visa\")]"
              }
            },
            "type": {
              "label": "Click",
              "value": "click"
            },
            "useTransactionPaymentType": true,
            "value": null
          }
        ],
        "type": "CHARGE"
      }
    }
  }
}