How to add reference id in mongodb when we upload csv file data in mongodb

convertCsv()
.fromFile(uploads/csv_Employee/${req.body.file})
.then((csvData) => {
const obj = { createdById: req.body.createdById };
csvData.obj;
const finalData = Employee.insertMany(csvData);
if (finalData) {
return res.json(
Response(
constants.statusCode.ok,
constants.attendanceMsg.attendanceSuccess,
finalData
)
);
} else {
return res.json(
Response(
constants.statusCode.unauth,
constants.messages.internalServerError
)
);
}
});