I thought that there are several methods for achieving your goal.
2. How about using IFTTT? When IFTTT is used, when the change of your Google Drive is changed, for example, you can receive the request using the Web Apps created by Google Apps Script. But, I'm not sure about the detail of "if something changes in my folder.". So I'm not sure whether this method is suitable for your situation. I apologize for this.
In this case, the folder is checked by a cycle using the time-driven trigger. For example, the folder can be checked every 5 minutes. This can be achieved by Google Apps Script. This cannot be real-time. But I thought that this will be a simple method.
If these were not useful, I apologize.