{
  "integrations": {
    "259f1245-7407-4a5e-8131-99643ffbb3eb": {
      "action": {
        "value": "CHARGE",
        "label": "Charge",
        "labelReady": "Charged"
      },
      "avs": {
        "value": "ZIP",
        "label": "Match Zip"
      },
      "createdAt": 1740608092055,
      "cvvSettings": {
        "label": "Enable",
        "value": "enable"
      },
      "domain": "https://app.fusionwebclinic.com/",
      "id": "259f1245-7407-4a5e-8131-99643ffbb3eb",
      "isAutoClose": true,
      "matchElement": {
        "attribute": null,
        "isEnabled": true,
        "matchingValue": "Add Line",
        "xPath": "//div[contains(@class,\"editor\")]/div[1]/div[1]/div[1]/div[1]"
      },
      "name": "FusionWebClinic (Ensora)",
      "paths": {
        "transaction_amount": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//input[@name=\"amount\"]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "tax": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "invoice_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"page-accounts-view\")]/div[1]/div[1]/div[2]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "purchase_number": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "hide",
            "label": "Hide"
          }
        },
        "first_name": {
          "regex": "^([a-zA-Z]+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"pane-title\")]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "last_name": {
          "regex": "[a-zA-Z]+ ([^0-9]+)",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"pane-title\")]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "customer_id": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"page-accounts-view\")]/div[1]/div[1]/div[2]",
          "visibility": {
            "value": "hide",
            "label": "Hide"
          }
        },
        "company_name": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "email": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "phone": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "address": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "zip": {
          "regex": "\\b(\\d{5})",
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "//div[contains(@class,\"pane-title\")]",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        },
        "note": {
          "type": {
            "label": "Page",
            "value": "path"
          },
          "value": "",
          "visibility": {
            "value": "display",
            "label": "Display"
          }
        }
      },
      "isAuto": true,
      "isAutoRunAutomation": true
    }
  },
  "steps": {
    "259f1245-7407-4a5e-8131-99643ffbb3eb": {
      "07362ade-153d-4d14-8b5a-40e2a5e164a2": {
        "id": "07362ade-153d-4d14-8b5a-40e2a5e164a2",
        "integrationId": "259f1245-7407-4a5e-8131-99643ffbb3eb",
        "steps": [
          {
            "automationLabel": "Select Type ",
            "id": "9722e5b5-2201-4696-a2f0-9c19b9b2a9dd",
            "path": "//form//div[contains(@class, 'dropdown-handle')]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Choose Refund",
            "id": "06d9f6e8-4ffc-4c9b-879f-fcdfd21957c0",
            "path": "//form//div[contains(text(), 'Refund') and contains(@class, 'dropdown-item')]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Amount",
            "id": "09675d6e-4ff3-4e52-99f4-bab931527cbe",
            "options": [],
            "path": "//input[@name=\"amount\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Reference",
            "id": "f5fa32f1-cfd4-43cf-ba70-dc6a703973ab",
            "isSkip": true,
            "options": [],
            "path": "//input[@name=\"reference\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Transaction ID",
              "value": "TRANSACTION_ID"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Click Method",
            "id": "54531997-092e-41f6-bcd8-28d15e35ab79",
            "isSkip": true,
            "path": "//form//div[div[div[contains(text(), 'Method')]]]//div[contains(@class, 'dropdown-handle')]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Choose Credit Card",
            "id": "e52af967-2a67-45a6-a3fc-0742d4a121dd",
            "isSkip": true,
            "path": "//form//div[contains(text(), 'Credit Card') and contains(@class, 'dropdown-item')]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          }
        ],
        "type": "REFUND"
      },
      "56835ef4-01ed-4b1f-85f6-2b1da595a172": {
        "id": "56835ef4-01ed-4b1f-85f6-2b1da595a172",
        "integrationId": "259f1245-7407-4a5e-8131-99643ffbb3eb",
        "steps": [
          {
            "automationLabel": "Click Type",
            "id": "c0646cde-c319-40c7-91ca-093d215c84b6",
            "path": "//input[@name=\"type\"]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Select Payment",
            "id": "6beed623-6324-4310-bf36-94e3d380a579",
            "path": "//form//div[contains(text(), 'Payment') and contains(@class, 'dropdown-item')]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Amount",
            "id": "d342e07d-bd3a-4640-8270-2718e64f3a32",
            "isSkip": false,
            "options": [],
            "path": "//input[@name=\"amount\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Base Amount",
              "value": "BASE_AMOUNT"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "useTransactionApproval": true,
            "value": ""
          },
          {
            "automationLabel": "Description",
            "id": "c96124d7-f866-4e0d-8142-ef2e2eafba91",
            "options": [],
            "path": "//input[@name=\"description\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "value": "DOS"
          },
          {
            "automationLabel": "Reference",
            "id": "abf0cde3-e915-4163-ad36-dae69ef4f33c",
            "isSkip": false,
            "options": [],
            "path": "//input[@name=\"reference\"]",
            "placementOption": {
              "label": "Replace",
              "value": "replace"
            },
            "transactionApprovalSetting": {
              "label": "Transaction ID",
              "value": "TRANSACTION_ID"
            },
            "type": {
              "value": "input",
              "label": "Input"
            },
            "value": "{{transactionId}} (PayJunction)"
          },
          {
            "automationLabel": "Record Payment",
            "id": "3d349680-557f-416b-bfa7-eaf8845307f0",
            "path": "//button[contains(@class,\"record-button\")]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Method",
            "id": "68199536-48bc-43bb-8911-c9e9a7a57aa8",
            "isSkip": false,
            "path": "//form//div[contains(@class, 'dropdown-handle')]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          },
          {
            "automationLabel": "Credit Card",
            "id": "eb5f46b3-bf6a-4273-bd71-14bbdd05df10",
            "isSkip": false,
            "path": "//form//div[contains(text(), 'Credit Card') and contains(@class, 'dropdown-item')]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "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": [
          {
            "id": "b58d0a1c-152a-4291-a1dc-b77fdf86dcab",
            "path": "//div[contains(@class,\"grid-submit\")]/input[1]",
            "type": {
              "value": "click",
              "label": "Click"
            },
            "value": ""
          }
        ],
        "type": "INVOICE"
      }
    }
  }
}