{
  "integrations": {
    "8202a49f-d57d-4588-8309-8f473fa7a56c": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "createdAt": 1698178146737,
      "domain": "https://app.shopmonkey.io/orders/*",
      "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,\"style-module-infoPanel__details-\")]/span[2]"
        },
        "first_name": {
          "regex": "^\\w+",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//h2[contains(@class,\"style-module-infoPanel__name-\")]"
        },
        "invoice_number": {
          "regex": "(\\d+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//h5[contains(@class,\"style-module-heading_orderNumber-\")]/span[2]"
        },
        "last_name": {
          "regex": "\\w+$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//h2[contains(@class,\"style-module-infoPanel__name-\")]"
        },
        "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": "//div[contains(@class,\"style-module-total-\")]/span[1]"
        },
        "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",
            "path": "//button[contains(@class,\"style-module-btn_fullWidth-\")]",
            "selected": false,
            "transactionPaymentTypeSettings": {},
            "type": {
              "label": "Click",
              "value": "click"
            },
            "value": ""
          },
          {
            "automationLabel": "Payment Method - Other",
            "chosen": false,
            "id": "2942902b-8e7e-4408-9e62-337fd79e6b9e",
            "path": "//div[contains(@class,\"style-module-selectionItemsContainer-\")]/button[6]",
            "selected": false,
            "transactionPaymentTypeSettings": {},
            "type": {
              "label": "Click",
              "value": "click"
            },
            "value": ""
          },
          {
            "automationLabel": "Amount",
            "chosen": false,
            "id": "100c5f09-53bc-4398-96ef-77ff5af66cbd",
            "path": "//input[contains(@class,\"style-module-amountInput-\")]",
            "selected": false,
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Notes",
            "chosen": false,
            "id": "9ad5c71c-d74f-4e9d-8c23-2adc741486ca",
            "path": "//div[contains(@class,\"style-module-labelInputWrap-\")]/div[1]/input[1]",
            "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"
      }
    }
  }
}