We’re seeing duplicate tickets getting created in Zendesk and we can’t figure out why. It only happens occasionally but when it does, two or sometimes three identical tickets show up. We use webhooks from our chatbot. Any idea what could cause that?
Why are duplicate tickets being created in Zendesk from webhooks?
Asked 8 months ago · 67 views
Are you acknowledging the webhook request immediately, or waiting until all backend processing finishes before returning a 200 response?
We return 200 after we create the ticket in our system. Why?
If Zendesk doesn’t receive a 200 fast enough, it retries the webhook. Even slight delays can trigger a retry. If your endpoint creates the ticket before responding, the second attempt may create another one.
So Zendesk assumes it failed and just sends it again?
Yes. Webhooks are retried when timeouts or network hiccups occur. Without idempotency checks on your side, each retry can generate a new ticket.
This is often called a webhook retry loop. Under load, even small latency spikes increase the probability of duplicate events.
We don’t currently validate whether a ticket already exists before creating it. That might explain it.
Production systems usually introduce idempotency keys, event hashing, or execution validation layers so repeated webhook deliveries don’t trigger duplicate actions. That’s why orchestration-based AI systems validate actions before execution instead of blindly processing every incoming event.
Was this discussion helpful?
Still have questions?
Our team is happy to answer any questions about AI assistants and how they can work for your specific business.