GuideDevelopers6 min read
Getting started with webhook-triggered workflows
Signing, idempotency and retries: the three things to get right when a workflow starts from an HTTP request.
By the Zynapte team
Verify the sender
Sign inbound requests with a shared secret and verify the signature before doing any work.
Assume at-least-once delivery
Webhook senders retry. Make handlers idempotent by keying on an event identifier so a repeated delivery cannot create a duplicate ticket or record.
Respond fast, work later
Acknowledge quickly with a 2xx response and let the workflow do the slower work asynchronously.