First, you can use the PROCESS to analyze secondary data. Second, in the Hayes conditional process analysis, there is only one X (independent variable). For binary independent variables, you can put them directly into the model, while for triple classification and above, you need to code dummy variables first. In addition, I have uploaded the template sample of PROCESS, which I hope will help you.