{
  "integrations": {
    "505b8015-85aa-470a-bf44-3070de99ec9d": {
      "action": {
        "value": "CHARGE",
        "label": "Charge",
        "labelReady": "Charged"
      },
      "avs": {
        "value": "ADDRESS_OR_ZIP",
        "label": "Match Address or Zip"
      },
      "createdAt": 1764800688033,
      "cvvSettings": {
        "label": "Enable",
        "value": "enable"
      },
      "domain": "https://app.instinctvet.cloud/*",
      "id": "505b8015-85aa-470a-bf44-3070de99ec9d",
      "matchElement": {
        "attribute": null,
        "isEnabled": true,
        "matchingValue": "Payments",
        "xPath": "//span[contains(@class,\"MuiTypography-labelLightXl\")]"
      },
      "name": "Instinct vet payment",
      "paths": {
        "transaction_amount": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[@aria-label=\"Amount\"]//input",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "tax": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "invoice_number": {
          "regex": " (Invoice \\d+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//input[@id=\"invoice-select\"]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "purchase_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "hide",
            "label": "Hide"
          }
        },
        "first_name": {
          "regex": "^(\\w+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//span[contains(@class,\"css-innnm8\")]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "last_name": {
          "regex": "(\\w+)\\s+\\(",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//span[contains(@class,\"css-innnm8\")]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "customer_id": {
          "regex": "\\(\\s(\\w+)\\s\\)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//span[contains(@class,\"css-innnm8\")]",
          "visibility": {
            "value": "hide",
            "label": "Hide"
          }
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "hide",
            "label": "Hide"
          }
        },
        "email": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"css-b6funz\")]/span[2]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "phone": {
          "regex": "T: (.*)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"css-b6funz\")]/span[1]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "address": {
          "regex": "(.*),.*,.*,",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"l-inline--size-larger\")]/div[1]/span[2]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "zip": {
          "regex": "(\\d{5}),",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"l-inline--size-larger\")]/div[1]/span[2]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "note": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//input[@id=\"patient-select\"]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        }
      },
      "isAuto": true,
      "isAutoClose": false,
      "isAutoRunAutomation": true
    }
  },
  "steps": {
    "505b8015-85aa-470a-bf44-3070de99ec9d": {
      "35d14a40-0b6b-4ec5-a5aa-9bef0825c365": {
        "id": "35d14a40-0b6b-4ec5-a5aa-9bef0825c365",
        "integrationId": "505b8015-85aa-470a-bf44-3070de99ec9d",
        "steps": [
          {
            "automationLabel": "Type",
            "id": "9e24ceef-be6c-4faf-ac7a-b2ea8acdb210",
            "isSkip": true,
            "path": "//label[@for=\"transaction-type-select\"]/following::div[@data-testid=\"payment-type-select\"]",
            "type": {
              "value": "dropdown",
              "label": "Dropdown"
            },
            "value": {
              "label": "Payment",
              "value": "Payment"
            }
          },
          {
            "automationLabel": "Amount",
            "id": "5b910353-ed9c-4245-9134-05f36bf8538b",
            "options": [],
            "path": "//div[@aria-label=\"Amount\"]//input[1]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "value": "{{amountBase}}"
          },
          {
            "automationLabel": "Method Click",
            "id": "70c57568-cf14-4e57-839f-dde84c1c9a47",
            "path": "//div[@data-testid=\"transaction-method-select\"]/div",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Wait",
            "id": "ca6c77df-4217-4ed8-811a-d820f448a28c",
            "path": "//body",
            "type": {
              "value": "wait",
              "label": "Wait"
            },
            "value": 300
          },
          {
            "automationLabel": "Method Click",
            "id": "3369b6f0-67f8-4dbf-bbd1-5fe22f118076",
            "path": "//*[contains(@id, \"payment-method-select-option\")]/p[text()=\"PayJunction Invoice (Text/Email)\"]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Note",
            "id": "3ba44153-3d31-4176-9393-5fa65c4b64fc",
            "options": [],
            "path": "//textarea[@id=\"note-input\"]",
            "placementOption": {
              "label": "Append",
              "value": "append"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "value": "Payjunction Invoice: {{invoiceId}}"
          }
        ],
        "type": "INVOICE"
      },
      "8a917dff-b966-4f87-b83b-77f2c1478ef9": {
        "id": "8a917dff-b966-4f87-b83b-77f2c1478ef9",
        "integrationId": "505b8015-85aa-470a-bf44-3070de99ec9d",
        "steps": [
          {
            "automationLabel": "Amount",
            "id": "83c38056-4d94-4a59-8b1d-b0c71dfe5cd9",
            "options": [],
            "path": "//div[@aria-label=\"Amount\"]//input[1]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Note",
            "id": "5c88424e-587f-498e-b5f8-1ec4614ac683",
            "options": [],
            "path": "//textarea[@id=\"note-input\"]",
            "placementOption": {
              "label": "Append",
              "value": "append"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "value": "Total Amount : {{amountTotal}}"
          },
          {
            "automationLabel": "Type",
            "id": "8a204d56-704b-42f5-8ba2-36ebf273f795",
            "isSkip": true,
            "path": "//label[@for=\"transaction-type-select\"]/following::div[@data-testid=\"payment-type-select\"]",
            "type": {
              "value": "dropdown",
              "label": "Dropdown"
            },
            "value": {
              "label": "Refund",
              "value": "Refund"
            }
          },
          {
            "automationLabel": "Method Click",
            "id": "7df5ff07-7fbc-4977-9297-32cf55571c88",
            "path": "//div[@data-testid=\"transaction-method-select\"]/div",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Wait",
            "id": "bfaa5389-6666-460e-bd2c-5bf41419476a",
            "path": "//body",
            "type": {
              "value": "wait",
              "label": "Wait"
            },
            "value": 300
          },
          {
            "automationLabel": "Method",
            "id": "43669ada-e10f-4661-a1ec-0c4809e473c7",
            "path": "//*[contains(@id, \"payment-method-select-option\")]/p[text()=\"PayJunction Debit/Credit Card\"]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Transaction",
            "id": "363c24c9-5f89-4c6e-b388-0dbe436c8961",
            "options": [],
            "path": "//input[@id=\"transaction-id-input\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Transaction ID",
              "value": "TRANSACTION_ID"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "useTransactionApproval": true,
            "value": ""
          }
        ],
        "type": "REFUND"
      },
      "d476e307-d119-4f62-8581-10e949a41568": {
        "id": "d476e307-d119-4f62-8581-10e949a41568",
        "integrationId": "505b8015-85aa-470a-bf44-3070de99ec9d",
        "steps": [
          {
            "automationLabel": "Type",
            "id": "0f839d62-4e1c-4369-9b6c-3af13ce9c09b",
            "path": "//label[@for=\"transaction-type-select\"]/following::div[@data-testid=\"payment-type-select\"]",
            "type": {
              "value": "dropdown",
              "label": "Dropdown"
            },
            "value": {
              "label": "Payment",
              "value": "Payment"
            }
          },
          {
            "automationLabel": "Amount",
            "id": "c51e6af9-5dd4-478f-9c12-58c6da50a361",
            "options": [],
            "path": "//div[@aria-label=\"Amount\"]//input[1]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Note",
            "id": "fa64f38a-caee-4c2f-a5a0-c3ca83ca8603",
            "options": [],
            "path": "//textarea[@id=\"note-input\"]",
            "placementOption": {
              "label": "Append",
              "value": "append"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "value": "Total Amount : {{amountTotal}}"
          },
          {
            "automationLabel": "Method Click",
            "id": "7b0f5920-ca91-4afd-92f7-19a3d97ad168",
            "isSkip": false,
            "path": "//div[@data-testid=\"transaction-method-select\"]/div",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Wait",
            "id": "7ac4c1b0-b05c-4a68-905d-5a9cfeacd8bf",
            "isSkip": false,
            "path": "//body",
            "type": {
              "value": "wait",
              "label": "Wait"
            },
            "value": 300
          },
          {
            "automationLabel": "Method by Text",
            "id": "af33506a-42be-455e-ab97-5a0c5dc1cdfe",
            "path": "//*[contains(@id, \"payment-method-select-option\")]/p[text()=\"PayJunction Debit/Credit Card\"]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Transaction Id",
            "id": "d871f356-f6a6-4ac3-9210-3fba66920b80",
            "options": [],
            "path": "//input[@id=\"transaction-id-input\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Transaction ID",
              "value": "TRANSACTION_ID"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "useTransactionApproval": true,
            "value": ""
          }
        ],
        "type": "CHARGE"
      }
    }
  }
}