I want to pass the documentId value when creating an entry

I have a webhook that sends data to strapi backend that webhook is giving data from another service.

when I have an update happen I don’t have the documentId so i need to search in strapi first to get its value then do the update