To obtain a history of occupational exposure in the workplace, the questionnaire is one of the main sources of information. The aim of this study was to develop an online questionnaire using the REDCap data management platform based on the Work-Related Cancer Surveillance Guidelines, reported by the Brazilian National Cancer Institute. Several issues were taken into consideration for its routine application. It should be simple, easy, capable of being applied in a short time and used in the clinical setting of collecting information on the occupational history of the cancer patient. Consequently, this could enable the compulsory notification of work-related cancer. The questionnaire was developed based on questions about the use of and exposure to carcinogenic factors at work and due to smoking. An entirely electronic version of the cancer patient interview was performed using tablets. The online questionnaire was applied at the Barretos Cancer Hospital, Barretos, to newly diagnosed patients from July 2016 to 2018. A total of 1063 patients were included, and 550 indicated positively when asked “Do you work, or have you worked with this substance and/or in this function?/job?” Of these potentially notified patients, 38 subsequently had compulsorily reported work-related cancer. Another important result of this study was the creation and development of a website. In conclusion, we developed an online tool that could facilitate hospital routines, contributing to generating data for the compulsory notification of work-related cancer and triggering investigations and surveillance actions in Brazil.