{
  "integrations": {
    "8202a49f-d57d-4588-8309-8f473fa7a56c": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "avs": {
        "label": "Bypass",
        "value": "BYPASS"
      },
      "createdAt": 1698178146737,
      "cvvSettings": {
        "label": "Enable",
        "value": "enable"
      },
      "domain": "https://app.shopmonkey.cloud/order/*",
      "id": "8202a49f-d57d-4588-8309-8f473fa7a56c",
      "isAuto": false,
      "isAutoClose": false,
      "isAutoRunAutomation": true,
      "matchElement": {
        "attribute": null,
        "isEnabled": false,
        "matchingValue": "",
        "xPath": ""
      },
      "name": "ShopMonkey",
      "paths": {
        "address": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "customer_id": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "email": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"lg:flex-nowrap\")]/div[1]/div[1]/div[2]/div[2]/div[1]/p[contains(text(), \"@\")]"
        },
        "first_name": {
          "regex": "^\\w+",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//h4[@data-testid=\"selectedCustomer\"]"
        },
        "invoice_number": {
          "regex": "(\\d+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//h2[contains(@class,\"my-[5px]\")]"
        },
        "last_name": {
          "regex": "\\w+$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//h4[@data-testid=\"selectedCustomer\"]"
        },
        "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": "//h3[@data-testid=\"ledgerGrandTotal\"]"
        },
        "zip": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        }
      }
    }
  },
  "steps": {
    "8202a49f-d57d-4588-8309-8f473fa7a56c": {
      "5298c982-945f-43e2-9787-32c0b5fe5b80": {
        "id": "5298c982-945f-43e2-9787-32c0b5fe5b80",
        "integrationId": "8202a49f-d57d-4588-8309-8f473fa7a56c",
        "steps": [
          {
            "automationLabel": "Hosted Invoice URL ",
            "chosen": false,
            "id": "0273e500-cb54-4044-a1b1-cd3a2e2531b6",
            "path": "//div[contains(@class,\"style-module-formGroup_last-\")]/div[1]/div[1]/textarea[1]",
            "selected": false,
            "type": {
              "label": "Input",
              "value": "input"
            },
            "value": "Below is a link to the invoice you requested. {{}}: {{hostedInvoiceUrl}}"
          }
        ],
        "type": "INVOICE"
      },
      "ee07e105-59d7-4047-9baf-1e54eb7a4260": {
        "id": "ee07e105-59d7-4047-9baf-1e54eb7a4260",
        "integrationId": "8202a49f-d57d-4588-8309-8f473fa7a56c",
        "steps": [
          {
            "automationLabel": "New Payment Button",
            "chosen": false,
            "id": "eeff003d-9a4d-4de5-a8ff-05f32a2b83bb",
            "isSkip": false,
            "path": "//button[@data-testid=\"ledgerPaymentButton\"]",
            "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": "Click Amount",
            "id": "7ae88e96-80a7-4466-a96e-cfce4b173842",
            "path": "//input[@id=\"total\"]",
            "transactionPaymentTypeSettings": {},
            "type": {
              "label": "Click",
              "value": "click"
            },
            "value": ""
          },
          {
            "automationLabel": "Amount",
            "chosen": false,
            "id": "100c5f09-53bc-4398-96ef-77ff5af66cbd",
            "isSkip": false,
            "options": [
              {
                "enabled": false,
                "label": "Format with \"$\"",
                "name": "FORMAT_INPUT_WITH_DOLLAR"
              }
            ],
            "path": "//input[@id=\"total\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "selected": false,
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Payment Method - Other",
            "chosen": false,
            "id": "2942902b-8e7e-4408-9e62-337fd79e6b9e",
            "isSkip": false,
            "path": "//button/p[contains(text(), 'Other')]",
            "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": "Notes",
            "chosen": false,
            "id": "9ad5c71c-d74f-4e9d-8c23-2adc741486ca",
            "isSkip": false,
            "options": [
              {
                "name": "FORMAT_INPUT_WITH_DOLLAR"
              }
            ],
            "path": "//input[@id=\"note\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "selected": false,
            "type": {
              "label": "Input",
              "value": "input"
            },
            "value": " ID:  {{transactionId}}  Total Amount:  {{amountTotal}}  Surcharge: {{amountSurcharge}}"
          }
        ],
        "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": "a1ac71b3-25d4-4573-9ad9-93c6d9930c9a",
            "path": "//div[contains(@class,\"grid-submit\")]/input[1]",
            "selected": false,
            "type": {
              "label": "Click",
              "value": "click"
            },
            "value": ""
          }
        ],
        "type": "INVOICE"
      }
    }
  }
}