One Cloud API detail that sits right next to your Problem 4 lesson (log every delivery status, check failures first): WhatsApp redelivers a webhook when your endpoint doesn't come back with a 200, so the same message id (wamid) can arrive twice. If the 200 only goes out after the 6-second wait and the reply, a throw or a slow call in that stretch triggers a retry, the same screenshot runs a second time, and your duplicate check can end up rejecting the rep's own photo. Saving the wamid under a unique constraint and returning 200 before the wait closes that gap.
Curious about the human side too: did telling the reps exactly what the bot counts change how many screenshots got rejected?