{
  "integrations": {
    "e9721936-31fb-4779-ad62-07599c6520b8": {
      "action": {
        "value": "CHARGE",
        "label": "Charge",
        "labelReady": "Charged"
      },
      "avs": {
        "value": "BYPASS",
        "label": "Bypass"
      },
      "createdAt": 1689880857445,
      "cvvSettings": {
        "label": "Enable",
        "value": "enable"
      },
      "domain": "https://*.dentrixascend.com/pm#/ledger*",
      "id": "e9721936-31fb-4779-ad62-07599c6520b8",
      "name": "Dentrix Ascend",
      "paths": {
        "transaction_amount": {
          "attribute": null,
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//span[@id=\"patientPortion\"]/a[not(@title)]/text() | //span[@id=\"patientPortion\"]/a[@title]/@title",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "tax": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "invoice_number": {
          "attribute": null,
          "regex": "",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//a[@id=\"patientOverview\"]/span[1]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "purchase_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "hide",
            "label": "Hide"
          }
        },
        "first_name": {
          "attribute": null,
          "regex": "\\w*",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//a[@id=\"patientOverview\"]/span[1]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "last_name": {
          "regex": "\\w*$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//a[@id=\"patientOverview\"]/span[1]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "customer_id": {
          "attribute": null,
          "regex": "(\\d+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//*[@id=\"patientId\"]",
          "visibility": {
            "value": "hide",
            "label": "Hide"
          }
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "hide",
            "label": "Hide"
          }
        },
        "email": {
          "attribute": null,
          "regex": "",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//a[@name=\"mailAddress\"]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "phone": {
          "regex": "\\w ([\\w\\d() \\W]*)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//ul[@id=\"phones\"]/li[1]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "address": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "zip": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "note": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        }
      },
      "isAuto": true,
      "isAutoClose": false,
      "isAutoRunAutomation": true,
      "matchElement": {
        "isEnabled": false,
        "xPath": "",
        "matchingValue": "",
        "attribute": null
      }
    }
  },
  "steps": {
    "8a8c8481-529f-458a-8e95-3f89bf885183": {
      "3f936fc4-f4fc-45e5-aad4-3d39dd691f92": {
        "id": "3f936fc4-f4fc-45e5-aad4-3d39dd691f92",
        "integrationId": "8a8c8481-529f-458a-8e95-3f89bf885183",
        "steps": [
          {
            "id": "b58d0a1c-152a-4291-a1dc-b77fdf86dcab",
            "path": "//div[contains(@class,\"grid-submit\")]/input[1]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          }
        ],
        "type": "INVOICE"
      }
    },
    "e9721936-31fb-4779-ad62-07599c6520b8": {
      "8806a34a-cc43-4ca1-a5f5-13b251f317d3": {
        "id": "8806a34a-cc43-4ca1-a5f5-13b251f317d3",
        "integrationId": "e9721936-31fb-4779-ad62-07599c6520b8",
        "steps": [
          {
            "automationLabel": "Click Payment Button",
            "id": "7bf65202-d09e-4582-9152-6cef954e9abd",
            "path": "//button[@data-type=\"Payment\"]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Amount",
            "id": "7dc4bcca-e548-4312-b9ab-58ce205eb067",
            "options": [],
            "path": "//input[@id=\"amount\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Payment Method",
            "id": "aa7236e9-73ff-4deb-bbd6-06c56fe1ea64",
            "path": "//select[@id=\"paymentType\"]",
            "type": {
              "value": "dropdown",
              "label": "Dropdown"
            },
            "value": {
              "label": "Credit Card Payment",
              "value": "Credit Card Payment"
            }
          },
          {
            "automationLabel": "Tags",
            "id": "f1179413-4359-48a0-8164-684cc1579b05",
            "path": "",
            "transactionPaymentTypeSettings": {
              "AMERICAN_EXPRESS": {
                "path": "//div[text()=\"American Express\"]"
              },
              "DEBIT": {
                "path": "//div[text()=\"Debit\"]"
              },
              "DINERS": {
                "path": "//div[text()=\"OTHER\"]"
              },
              "DISCOVER": {
                "path": "//div[text()=\"Discover\"]"
              },
              "GENERAL_LEDGER": {
                "path": "//div[text()=\"OTHER\"]"
              },
              "JCB": {
                "path": "//div[text()=\"OTHER\"]"
              },
              "MASTERCARD": {
                "path": "//div[text()=\"MasterCard\"]"
              },
              "UNKNOWN": {
                "path": "//div[text()=\"OTHER\"]"
              },
              "VISA": {
                "path": "//div[text()=\"VISA\"]"
              }
            },
            "type": {
              "value": "click",
              "label": "Click"
            },
            "useTransactionPaymentType": true,
            "value": null
          },
          {
            "automationLabel": "Select Note",
            "id": "248348ce-9913-4324-abe9-2cab52c6589d",
            "path": "//a[contains(@href, \"#notesTab\")]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Adds Note",
            "id": "e6c933be-fc8d-4df0-bbe8-0addffde297f",
            "options": [],
            "path": "//div[@id=\"notesTab\"]/textarea[@id=\"note\"]",
            "placementOption": {
              "label": "Prepend",
              "value": "prepend"
            },
            "transactionApprovalSetting": {
              "label": "Last Four Digits of Card",
              "value": "LAST_FOUR_DIGITS"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "value": "PJ ID: {{transactionId}} | {{vault.accountType}} {{vault.lastFour}}"
          }
        ],
        "type": "CHARGE"
      },
      "b5b7aa1c-586a-4b9a-8070-eb56fe6a90e1": {
        "id": "b5b7aa1c-586a-4b9a-8070-eb56fe6a90e1",
        "integrationId": "e9721936-31fb-4779-ad62-07599c6520b8",
        "steps": [
          {
            "automationLabel": "Charge Adjustment",
            "id": "640b7a77-befe-4ffa-99a7-6bd64e18c1e7",
            "path": "//button[@data-type=\"ChargeAdjustment\"]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Refund Amount",
            "id": "ce2a5d0c-d136-4fca-b55d-13f60ab59bb3",
            "options": [],
            "path": "//input[@id=\"amount\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Click Type",
            "id": "c47b852e-e3dc-40ca-b849-9cf798a10952",
            "isSkip": false,
            "path": "//select[@id=\"adjustmentType\"]/following-sibling::span/input",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Type",
            "id": "acff8592-1920-45c7-952f-31ec24a337a5",
            "isSkip": false,
            "path": "//a[contains(text(),\"Patient Refund\")]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Wait",
            "id": "ba6f614d-c8c0-44a8-a446-eb9fafb27ec1",
            "path": "//body",
            "type": {
              "value": "wait",
              "label": "Wait"
            },
            "value": 1000
          },
          {
            "automationLabel": "Click Payment Date",
            "id": "40e67185-60ef-4fbc-9898-fe5683d279d2",
            "isSkip": false,
            "path": "//select[@id=\"allocatedLedgerID\"]/following-sibling::span/input",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Payment Date",
            "id": "54c474ad-a179-4d86-8a0a-3b5880c77783",
            "isSkip": false,
            "path": "//a[contains(text(), \"[None]\")]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Click Provider",
            "id": "209eca11-3778-4008-b9b7-a05216fbfaf2",
            "path": "//div[contains(@class,\"provider-dropdown\")]/span[1]/input[1]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Provider",
            "id": "26b2e66e-e540-45b0-8666-2d9d003f8177",
            "isSkip": false,
            "path": "//a[contains(text(),\"Power Block\")]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Click Notes Tab",
            "id": "c7b86e76-40c2-4fbf-b820-1c389b6f779d",
            "isSkip": false,
            "path": "//a[@href=\"#notesTab\"]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Note",
            "id": "015930f8-f57c-4d82-a594-6ee679f211ab",
            "isSkip": false,
            "options": [],
            "path": "//textarea[@id=\"note\"]",
            "placementOption": {
              "label": "Prepend",
              "value": "prepend"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "value": "PayJunction Refund"
          }
        ],
        "type": "REFUND"
      }
    }
  }
}