Automatic POST/PUT

Hi! I have a endpoint URL to which I can send payloads with JSON objects that are automatically stored in my Mongo database. When this happens and a new payload generates a new document I have triggered a function so that another new document is created in another collection (with different content depending on the incoming payload).

Now I need to create a function where this newly created document is automatically sent as a new payload to a predetermined URL (without a request). Is this possible?