{
  "integrations": {
    "bc4c429a-f37b-400e-86ab-36b0cce1267d": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "createdAt": 1708633721053,
      "domain": "https://*asprodental.com/patients/*/info/ledger",
      "id": "bc4c429a-f37b-400e-86ab-36b0cce1267d",
      "isAuto": true,
      "isAutoClose": true,
      "isAutoRunAutomation": true,
      "matchElement": {
        "attribute": null,
        "isEnabled": false,
        "matchingValue": "",
        "xPath": ""
      },
      "name": "AsproDental - Ledger",
      "paths": {
        "address": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "customer_id": {
          "attribute": null,
          "regex": "",
          "type": {
            "label": "URL",
            "value": "url"
          },
          "value": {
            "label": "path: 41",
            "value": "pathname:1"
          }
        },
        "email": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "first_name": {
          "regex": "^\\w+",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[@id=\"patient_name_tab\"]/p[1]"
        },
        "invoice_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "last_name": {
          "regex": "\\b(\\w+)$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[@id=\"patient_name_tab\"]/p[1]"
        },
        "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": ""
        },
        "zip": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        }
      }
    }
  },
  "steps": {
    "8a8c8481-529f-458a-8e95-3f89bf885183": {
      "3f936fc4-f4fc-45e5-aad4-3d39dd691f92": {
        "id": "3f936fc4-f4fc-45e5-aad4-3d39dd691f92",
        "integrationId": "8a8c8481-529f-458a-8e95-3f89bf885183",
        "steps": [
          {
            "chosen": false,
            "id": "fe1cbf5a-aa23-4a81-917b-124b9cdb2822",
            "path": "//div[contains(@class,\"grid-submit\")]/input[1]",
            "selected": false,
            "type": {
              "label": "Click",
              "value": "click"
            },
            "value": ""
          }
        ],
        "type": "INVOICE"
      }
    },
    "bc4c429a-f37b-400e-86ab-36b0cce1267d": {
      "4d77f2f1-feff-415c-9d46-d96614bd5c2a": {
        "id": "4d77f2f1-feff-415c-9d46-d96614bd5c2a",
        "integrationId": "bc4c429a-f37b-400e-86ab-36b0cce1267d",
        "steps": [
          {
            "automationLabel": "Click Add Item",
            "id": "a3e957a6-792a-4a36-980a-240f89b0cabb",
            "path": "//span[@id=\"transaction_button_add_item\"]",
            "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": "Payment Code",
            "id": "cbc262ed-83c9-471d-9c69-ef0839a4e608",
            "path": "//input[@id=\"transaction_code_0\"]",
            "type": {
              "label": "Input",
              "value": "input"
            },
            "value": "REFUND"
          },
          {
            "automationLabel": "Wait",
            "id": "e4283e92-f18f-4fef-bb99-12415fb08651",
            "path": "//body",
            "type": {
              "label": "Wait",
              "value": "wait"
            },
            "value": 1000
          },
          {
            "automationLabel": "Open Note",
            "id": "e50788e3-4d3a-46b2-a4cf-eebcab6803e4",
            "path": "//span[@id=\"button_transaction_note_0\"]/img[1]",
            "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": "Enter Note",
            "id": "03eb94c2-8e29-470b-b39a-82dbdc241b15",
            "path": "//textarea[@id=\"textarea_transaction_note_0\"]",
            "type": {
              "label": "Input",
              "value": "input"
            },
            "value": "PayJunction Payment: {{transactionId}}, {{vault.accountType}}, Total Amount: {{amountTotal}}, Surcharge: {{amountSurcharge}}"
          },
          {
            "automationLabel": "Save Note",
            "id": "ad28b0e0-651c-49dc-80f8-49391eadb673",
            "path": "//span[@id=\"transaction_note_button_save\"]",
            "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": "Wait",
            "id": "622c8431-aa02-4bdc-99d4-4a6e944a9161",
            "path": "//body",
            "type": {
              "label": "Wait",
              "value": "wait"
            },
            "value": 1000
          },
          {
            "automationLabel": "Amount",
            "id": "917e1045-eb53-40d1-b6f3-1c91b4aea3de",
            "path": "//input[@id=\"transaction_charges_0\"]",
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          }
        ],
        "type": "REFUND"
      },
      "de65745d-6f4f-4082-8af3-7abafa856f6e": {
        "id": "de65745d-6f4f-4082-8af3-7abafa856f6e",
        "integrationId": "bc4c429a-f37b-400e-86ab-36b0cce1267d",
        "steps": [
          {
            "automationLabel": "Click Add Item",
            "chosen": false,
            "id": "d13e98d0-ce2e-4043-9507-a02f8325b15b",
            "path": "//span[@id=\"transaction_button_add_item\"]",
            "selected": false,
            "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": "Payment Type",
            "chosen": false,
            "id": "758c2651-2001-433e-90fe-1768b092515a",
            "path": "//input[@id=\"transaction_code_0\"]",
            "selected": false,
            "type": {
              "label": "Input",
              "value": "input"
            },
            "value": "PAYJ"
          },
          {
            "automationLabel": "Wait",
            "chosen": false,
            "id": "01192686-4dd5-4676-ae4c-810d6ae9cf0f",
            "isSkip": false,
            "path": "//body",
            "selected": false,
            "type": {
              "label": "Wait",
              "value": "wait"
            },
            "value": 1000
          },
          {
            "automationLabel": "Open Note",
            "chosen": false,
            "id": "14e37a15-5352-400a-95eb-473257ecb483",
            "path": "//span[@id=\"button_transaction_note_0\"]/img[1]",
            "selected": false,
            "transactionPaymentTypeSettings": {},
            "type": {
              "label": "Click",
              "value": "click"
            },
            "value": ""
          },
          {
            "automationLabel": "Enter Note",
            "chosen": false,
            "id": "4e774888-b91a-4cc3-8fde-f13c93a8fbc2",
            "path": "//textarea[@id=\"textarea_transaction_note_0\"]",
            "selected": false,
            "type": {
              "label": "Input",
              "value": "input"
            },
            "value": "PayJunction Payment: {{transactionId}},  {{vault.accountType}}, Total Amount: {{amountTotal}}, Surcharge: {{amountSurcharge}}"
          },
          {
            "automationLabel": "Save Note",
            "chosen": false,
            "id": "ac8c8f79-620a-4b41-a834-546c54c0a2e6",
            "path": "//span[@id=\"transaction_note_button_save\"]",
            "selected": false,
            "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": "Wait",
            "id": "e6d8c0db-f780-427f-ab6f-9480a02a08f1",
            "path": "//body",
            "type": {
              "label": "Wait",
              "value": "wait"
            },
            "value": 1000
          },
          {
            "automationLabel": "Amount",
            "chosen": false,
            "id": "bd95c765-3e15-4625-96e5-ca1575b973b6",
            "path": "//input[@id=\"transaction_credit_0\"]",
            "selected": false,
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          }
        ],
        "type": "CHARGE"
      }
    }
  }
}