For those running staffing agencies, how are you actually managing cash flow when payroll hits before clients pay?

I’m asking because this used to be a big issue for me when dealing with payment gaps, especially during growth. I’ve gotten a better handle on it, but curious how others are approaching it.

Are you relying on factoring, or do you have a way to actually see your position 30–60 days ahead?