Mikhail Delly Thanks for posting your question in Microsoft Q&A. Cosmos DB Trigger in Azure Functions uses Azure Cosmos DB change feed to listen for both inserts and updates. Reviewing the doc Change feed modes, there are two modes: Latest version mode and All versions and deletes mode and both of them process the changes for Insert
as well (also Azure Function uses Latest version mode).
Unfortunately, there is no way to process change feeds only for updates not Insert (no difference between insert and update discussion). Refer docs Azure Cosmos DB trigger for Azure Functions and Serverless event-based architectures with Azure Cosmos DB and Azure Functions for more info about usage.
Similar discussion - see if you can utilize last modified timestamp to process it accordingly. I hope this helps and let me know if you have any questions.
If you found the answer to your question helpful, please take a moment to mark it as "Yes" for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.