{
  "integrations": {
    "399f7d55-ba10-4268-8fdc-128f195fb341": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "createdAt": 1690482088763,
      "domain": "https://*.advancedmd.com/amds/creditcard/app*",
      "id": "399f7d55-ba10-4268-8fdc-128f195fb341",
      "isAuto": true,
      "isAutoClose": false,
      "isAutoRunAutomation": true,
      "matchElement": {
        "attribute": null
      },
      "name": "AdvancedMD - CoPay",
      "paths": {
        "address": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "customer_id": {
          "attribute": null,
          "regex": "/149618/(\\d+)/",
          "type": {
            "label": "URL",
            "value": "url"
          },
          "value": {
            "label": "hash (#!/copay/149618/123077/412998?officekey=149618&username=ASHLEY&token=149618BwxvPTdp0bSnVbC8M%2BwTrJLq2p17IlOywBififHeIoFlGSvaSNrNeTK6PgQAKT6fH2Gj%2Ft%2Fed%2BUIXDnxjwcjK%2BjnftuvuI05Tn4k3YfyO0nIOuJkZibS05Ytvm6avi17lI%2F2ZakWzv52WQM%2Ft%2FOVQ%2F3avCng11XmrBVNuZaVaoxQpaGCx9f1CRaoMUcxjcNhmPb508QjnpGgdxJaavamoQ%3D%3D)",
            "value": "href:hash"
          }
        },
        "email": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "first_name": {
          "attribute": null,
          "regex": "\\w+ - \\w+, (\\w+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"pageheader\")]"
        },
        "invoice_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "last_name": {
          "regex": "\\b.-.(\\w+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"pageheader\")]"
        },
        "note": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "phone": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "purchase_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "transaction_amount": {
          "attribute": null,
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//input[@ng-model=\"copay.paymentAmount\"]"
        },
        "zip": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        }
      }
    }
  },
  "steps": {
    "399f7d55-ba10-4268-8fdc-128f195fb341": {
      "0680a740-01dd-43d6-9ca0-1cb9726b7216": {
        "id": "0680a740-01dd-43d6-9ca0-1cb9726b7216",
        "integrationId": "399f7d55-ba10-4268-8fdc-128f195fb341",
        "steps": [
          {
            "automationLabel": "Amount",
            "id": "fc973573-3ab2-45ab-a925-b355cd3d8747",
            "path": "//input[@ng-model=\"copay.paymentAmount\"]",
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Method of Payment",
            "chosen": false,
            "id": "50db9f67-3651-4863-af30-808d81bfe1eb",
            "path": "//select[@ng-model=\"copay.paymentMethod\"]",
            "selected": false,
            "transactionPaymentTypeSettings": {
              "AMERICAN_EXPRESS": {
                "label": "AMERICAN EXPRESS",
                "value": "6"
              },
              "CHECKING": {
                "label": "CHECK",
                "value": "2"
              },
              "DEBIT": {
                "label": "OTHER CARD",
                "value": "7"
              },
              "DINERS": {
                "label": "OTHER CARD",
                "value": "7"
              },
              "DISCOVER": {
                "label": "DISCOVER",
                "value": "5"
              },
              "GENERAL_LEDGER": {
                "label": "OTHER CARD",
                "value": "7"
              },
              "JCB": {
                "label": "OTHER CARD",
                "value": "7"
              },
              "MASTERCARD": {
                "label": "MASTER CARD",
                "value": "4"
              },
              "SAVINGS": {
                "label": "CHECK",
                "value": "2"
              },
              "UNKNOWN": {
                "label": "OTHER CARD",
                "value": "7"
              },
              "VISA": {
                "label": "VISA",
                "value": "3"
              }
            },
            "type": {
              "label": "Dropdown",
              "value": "dropdown"
            },
            "useTransactionPaymentType": true,
            "value": null
          },
          {
            "automationLabel": "Authorization #",
            "id": "6f5f9d4a-4892-4052-b5e0-28e5e4467d09",
            "path": "//input[@ng-model=\"copay.authNumber\"]",
            "transactionApprovalSetting": {
              "label": "Transaction ID",
              "value": "TRANSACTION_ID"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          }
        ],
        "type": "CHARGE"
      }
    },
    "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": "144ad097-50ae-4406-aa50-a3155fbbb35a",
            "path": "//div[contains(@class,\"grid-submit\")]/input[1]",
            "selected": false,
            "type": {
              "label": "Click",
              "value": "click"
            },
            "value": ""
          }
        ],
        "type": "INVOICE"
      }
    }
  }
}