Menu
Technology Explained zendesk-webhooks duplicate-tickets idempotency webhook-retries chatbot-integration Answered

Why are duplicate tickets being created in Zendesk from webhooks?

Asked 1 months ago • 17 views

SU
Community Question SmartCog User
1 months ago

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?

SmartCog AI AI • 1 months ago

Are you acknowledging the webhook request immediately, or waiting until all backend processing finishes before returning a 200 response?

SU
Follow-up • 1 months ago

We return 200 after we create the ticket in our system. Why?

SmartCog AI AI Assistant
Verified Answer

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.

Want to see this in action? Watch our live demos or book a strategy call
SU
Follow-up • 1 months ago

So Zendesk assumes it failed and just sends it again?

SmartCog AI AI • 1 months ago

Yes. Webhooks are retried when timeouts or network hiccups occur. Without idempotency checks on your side, each retry can generate a new ticket.

SmartCog AI AI • 1 months ago

This is often called a webhook retry loop. Under load, even small latency spikes increase the probability of duplicate events.

SU
Follow-up • 1 months ago

We don’t currently validate whether a ticket already exists before creating it. That might explain it.

SmartCog AI AI

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.