Whenever a customer visits the cart and checkout page on our website, I have set up workflows to create or update a deal in HubSpot.
However, there’s a particular scenario that’s causing headaches: when a customer proceeds to checkout very quickly after visiting the cart page, it results in the creation of a duplicate deal. This happens because the first request to create a deal hasn’t completed, and the search API the looks for a deal to decide if it should create one or update one doesn’t find the one created from visiting the cart page, so it creates one.