We have a Lead Management platform, and we need to make phone calls to those leads based on simple conditions like a FIFO approach.
The problem is that this platform can have multiple agents making calls at the same time, so we need to come out with a way of dealing with race conditions to avoid calling multiple times to the same person.
This approach could potentially be solved with a stateful cloud function, but I’m looking for ideas to do it within the platform.