{
  "integrations": {
    "1fbea263-43b6-4a4e-8566-af3172a96aa6": {
      "action": {
        "label": "Charge",
        "labelReady": "Charged",
        "value": "CHARGE"
      },
      "createdAt": 1726089194750,
      "domain": "https://app.ordertime.com/*/Details/*",
      "id": "1fbea263-43b6-4a4e-8566-af3172a96aa6",
      "isAuto": false,
      "isAutoClose": false,
      "isAutoRunAutomation": true,
      "matchElement": {
        "attribute": null,
        "isEnabled": false,
        "matchingValue": ""
      },
      "name": "Sales Order - Ordertime",
      "paths": {
        "address": {
          "attribute": null,
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//label[@for=\"Addr2.Data\"]"
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[@id=\"main-content\"]/div[5]/div[1]/div[1]/div[1]/div[2]/label[2]/a[1]"
        },
        "customer_id": {
          "attribute": {
            "label": "href",
            "value": "href"
          },
          "regex": "Lead/(.*)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//*[@id=\"changeCustomer_Id\"]/preceding-sibling::a"
        },
        "email": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "first_name": {
          "attribute": null,
          "regex": "^(\\w+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//label[@for=\"Addr1.Data\"]"
        },
        "invoice_number": {
          "attribute": null,
          "regex": "",
          "type": {
            "label": "URL",
            "value": "url"
          },
          "value": {
            "label": "path: 22134",
            "value": "pathname:2"
          }
        },
        "last_name": {
          "regex": "(\\w+)$",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//label[@for=\"Addr1.Data\"]"
        },
        "note": {
          "attribute": null,
          "regex": "(^.*\\d+)\\s",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[@id=\"main-content\"]/h2[1]"
        },
        "phone": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "purchase_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//label[@for=\"DocNo.Data\"]"
        },
        "tax": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": ""
        },
        "transaction_amount": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//tbody[contains(@class,\"summary-body\")]//td[text()=\"Balance\"]/following::td"
        },
        "zip": {
          "attribute": null,
          "regex": "(\\d{5})",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//label[@for=\"cityStateZip.Data\"]"
        }
      }
    }
  },
  "steps": {
    "1fbea263-43b6-4a4e-8566-af3172a96aa6": {
      "bf100b68-79e3-442f-8493-c4d60f702e6c": {
        "id": "bf100b68-79e3-442f-8493-c4d60f702e6c",
        "integrationId": "1fbea263-43b6-4a4e-8566-af3172a96aa6",
        "steps": [
          {
            "automationLabel": "Add",
            "id": "190a14b2-aa0d-47a6-b346-960f1cc037ef",
            "isSkip": false,
            "path": "//button[@class=\"add\"][contains(@href, \"payment/Edit\")]",
            "transactionPaymentTypeSettings": {},
            "type": {
              "label": "Click",
              "value": "click"
            },
            "value": ""
          },
          {
            "automationLabel": "Payment Method",
            "id": "9a603ef7-b93f-4707-97dc-0377728c0113",
            "path": "//form[@id=\"frmPayment\"]//select[@name=\"PaymentMethodRef\"]",
            "transactionPaymentTypeSettings": {},
            "type": {
              "label": "Dropdown",
              "value": "dropdown"
            },
            "value": {
              "label": "PayJunction",
              "value": "5"
            }
          },
          {
            "automationLabel": "Amount",
            "id": "277b4ac3-0c09-43d7-a1c6-e5993b105cf0",
            "options": [
              {
                "name": "FORMAT_INPUT_WITH_DOLLAR"
              }
            ],
            "path": "//input[@name=\"TenderedAmount\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Total Amount",
              "value": "AMOUNT"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Memo",
            "id": "77000e1f-0f1c-4d09-b1b9-468ec4f2e90f",
            "options": [
              {
                "enabled": false,
                "label": "Format with \"$\"",
                "name": "FORMAT_INPUT_WITH_DOLLAR"
              }
            ],
            "path": "//form[@id=\"frmPayment\"]/div[1]/div[1]/div[1]/div[1]/div[3]/textarea[1]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "type": {
              "label": "Input",
              "value": "input"
            },
            "value": "Payjunction Transaction {{transactionId}}"
          }
        ],
        "type": "CHARGE"
      }
    }
  }
}