Меню
Technology Explained zendesk-webhooks duplicate-tickets idempotency webhook-retries chatbot-integration Відповідь надано

Why are duplicate tickets being created in Zendesk from webhooks?

Запитано 1 місяців тому • 17 переглядів

SU
Питання спільноти Користувач SmartCog
1 місяців тому

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 місяців тому

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

SU
Уточнення • 1 місяців тому

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

SmartCog AI AI-асистент
Перевірена відповідь

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.

Хочете побачити це в дії? Перегляньте демо або замовте стратегічну консультацію
SU
Уточнення • 1 місяців тому

So Zendesk assumes it failed and just sends it again?

SmartCog AI AI • 1 місяців тому

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 місяців тому

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

SU
Уточнення • 1 місяців тому

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.

Ця дискусія була корисною?

Залишились питання?

Наша команда з радістю відповість на будь-які питання про AI-асистентів та те, як вони можуть працювати для вашого бізнесу.