{
  "integrations": {
    "47efa244-dcb9-422e-a705-5b7cc4c04a09": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "createdAt": 1728486953675,
      "domain": "https://*.curvehero.com/#/main/main_pane/billingPane/*",
      "id": "47efa244-dcb9-422e-a705-5b7cc4c04a09",
      "isAuto": true,
      "isAutoClose": false,
      "isAutoRunAutomation": true,
      "matchElement": {
        "attribute": null,
        "isEnabled": true,
        "matchingValue": "Add deposit",
        "xPath": "//div[contains(@class,\"deposit-create-component\")]/div[1]/span[1]"
      },
      "name": "Curve - Deposit",
      "paths": {
        "address": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "customer_id": {
          "attribute": null,
          "regex": "",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "email": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "first_name": {
          "attribute": null,
          "regex": "Add deposit by (\\w+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//span[contains(text(), \"Add deposit by\")]"
        },
        "invoice_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class, \"patientNameContainer\")]/span/span"
        },
        "last_name": {
          "regex": "(\\w+)$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//span[contains(text(), \"Add deposit by\")]"
        },
        "note": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "phone": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "purchase_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "tax": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "transaction_amount": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//currency-field[@formcontrolname=\"amount\"]//input[1]"
        },
        "zip": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        }
      }
    },
    "c2034bf0-9e3e-474b-9298-dbb40da59904": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "createdAt": 1731966328548,
      "domain": "https://*curvehero.com/#/main/main_pane/billingPane/*",
      "id": "c2034bf0-9e3e-474b-9298-dbb40da59904",
      "isAuto": false,
      "isAutoClose": false,
      "isAutoRunAutomation": true,
      "matchElement": {
        "attribute": null,
        "isEnabled": true,
        "matchingValue": "Add patient payment",
        "xPath": "//span[contains(@class,\"header-text\")]"
      },
      "name": "CurveDental - Patient Payment",
      "paths": {
        "address": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "customer_id": {
          "attribute": null,
          "regex": "",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "email": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "first_name": {
          "regex": "^(\\w+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//select-field[@formcontrolname=\"payer\"]"
        },
        "invoice_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//span[@id=\"curve_HouseholdDropDownSelect_0\"]/span[1]"
        },
        "last_name": {
          "regex": "(\\w+)$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//select-field[@formcontrolname=\"payer\"]"
        },
        "note": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "phone": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "purchase_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "tax": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "transaction_amount": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//currency-field[@formcontrolname=\"paymentAmount\"]//input[contains(@class, \"mat-input-element\")]"
        },
        "zip": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        }
      }
    }
  },
  "steps": {
    "47efa244-dcb9-422e-a705-5b7cc4c04a09": {
      "53a93d3f-2fb4-47b9-8607-d5095c1e5593": {
        "id": "53a93d3f-2fb4-47b9-8607-d5095c1e5593",
        "integrationId": "47efa244-dcb9-422e-a705-5b7cc4c04a09",
        "steps": [
          {
            "automationLabel": "Payment Type",
            "id": "6143a842-7627-421b-9f9b-98cae6137b75",
            "path": "//select-field[@formcontrolname=\"paymentMethodId\"]//div[@class=\"mat-select-value\"]",
            "transactionPaymentTypeSettings": {},
            "type": {
              "label": "Click",
              "value": "click"
            },
            "useTransactionPaymentType": false,
            "value": null
          },
          {
            "automationLabel": "Choose Payment Type",
            "id": "a0a0b327-be97-49f0-b217-98f111d59d27",
            "path": "",
            "transactionPaymentTypeSettings": {
              "AMERICAN_EXPRESS": {
                "path": "//span[text()=\"American Express\"]"
              },
              "CHECKING": {
                "path": ""
              },
              "DEBIT": {
                "path": "//span[text()=\"Debit\"]"
              },
              "DINERS": {
                "path": "//span[text()=\"Visa\"]"
              },
              "DISCOVER": {
                "path": "//span[text()=\"Discover\"]"
              },
              "GENERAL_LEDGER": {
                "path": "//span[text()=\"Visa\"]"
              },
              "JCB": {
                "path": "//span[text()=\"Visa\"]"
              },
              "MASTERCARD": {
                "path": "//span[text()=\"Mastercard\"]"
              },
              "SAVINGS": {
                "path": ""
              },
              "UNKNOWN": {
                "path": "//span[text()=\"Visa\"]"
              },
              "VISA": {
                "path": "//span[text()=\"Visa\"]"
              }
            },
            "type": {
              "label": "Click",
              "value": "click"
            },
            "useTransactionPaymentType": true,
            "value": null
          }
        ],
        "type": "CHARGE"
      }
    },
    "c2034bf0-9e3e-474b-9298-dbb40da59904": {
      "396e1dc1-fcdd-4742-bb79-2e403bd64482": {
        "id": "396e1dc1-fcdd-4742-bb79-2e403bd64482",
        "integrationId": "c2034bf0-9e3e-474b-9298-dbb40da59904",
        "steps": [
          {
            "automationLabel": "Payment Type",
            "id": "8e04f5d7-65ee-488b-a8d2-cc8f0fbe9c40",
            "path": "//select-field[@formcontrolname=\"paymentType\"]//div[@class=\"mat-select-value\"]",
            "transactionPaymentTypeSettings": {
              "AMERICAN_EXPRESS": {
                "path": ""
              },
              "CHECKING": {
                "path": ""
              },
              "DEBIT": {
                "path": ""
              },
              "DINERS": {
                "path": ""
              },
              "DISCOVER": {
                "path": ""
              },
              "GENERAL_LEDGER": {
                "path": ""
              },
              "JCB": {
                "path": ""
              },
              "MASTERCARD": {
                "path": ""
              },
              "SAVINGS": {
                "path": ""
              },
              "UNKNOWN": {
                "path": ""
              },
              "VISA": {
                "path": ""
              }
            },
            "type": {
              "label": "Click",
              "value": "click"
            },
            "value": ""
          },
          {
            "automationLabel": "Choose Payment Type",
            "id": "8d16c10e-dae4-4929-9b21-29f88c617c0c",
            "path": "",
            "transactionPaymentTypeSettings": {
              "AMERICAN_EXPRESS": {
                "path": "//span[text()=\"American Express\"]"
              },
              "CHECKING": {
                "path": ""
              },
              "DEBIT": {
                "path": "//span[text()=\"Debit\"]"
              },
              "DINERS": {
                "path": "//span[text()=\"Visa\"]"
              },
              "DISCOVER": {
                "path": "//span[text()=\"Discover\"]"
              },
              "GENERAL_LEDGER": {
                "path": "//span[text()=\"Visa\"]"
              },
              "JCB": {
                "path": "//span[text()=\"Visa\"]"
              },
              "MASTERCARD": {
                "path": "//span[text()=\"Mastercard\"]"
              },
              "SAVINGS": {
                "path": ""
              },
              "UNKNOWN": {
                "path": "//span[text()=\"Visa\"]"
              },
              "VISA": {
                "path": "//span[text()=\"Visa\"]"
              }
            },
            "type": {
              "label": "Click",
              "value": "click"
            },
            "useTransactionPaymentType": true,
            "value": null
          }
        ],
        "type": "CHARGE"
      }
    }
  }
}