All you need to do is to use this widget, it will draw the uploader input field and OnChange action will trigger the events after checking if the header bytes of this selected belong to "xlsx" file or not.
You have to pass input parameters