Hi @S Kumar ,
We can only add webhooks to list level. So if there is any changes to the list, the application would be notified.
And accroding to the documentation: https://learn.microsoft.com/en-us/sharepoint/dev/apis/webhooks/overview-sharepoint-webhooks#receiving-notifications
The notification doesn't include any information about the changes that triggered it. Your application is expected to use the GetChanges API on the list to query the collection of changes from the change log and store the change token value for any subsequent calls when the application is notified.
So to monitor specific folder, you need to use CSOM to get the entire changes in the list. Thus you could get the list item ID, with the list item ID you could get your file url. You could log the infomation of the file if it is in this specific folder.
To get the changes of the list with webhookNotification , please refer to this article: https://social.technet.microsoft.com/wiki/contents/articles/38062.sharepoint-online-simulate-sharepoint-timer-jobs-and-event-receivers-using-azure-functions-and-sharepoint-webhooks.aspx#SharePoint_Webhooks_as_Event_Receivers
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.