Workable webhooks in production: duplicates, ordering, retries and timeouts
This guide covers the problems Workable webhooks cause in production and how to handle each one. What Workable sends is on the Workable webhooks overview, every event is on Workable webhook events, and signature checks are on Verify Workable webhooks.
At a glance
| Problem | What to do | With Event Gateway |
|---|---|---|
| Timeouts | Return exactly 200 once the request is verified and stored | Accepts each request at once, then queues it for your service |
| Duplicates | Deduplicate on event_type, id and fired_at, not id alone | Ignores repeats of those fields within a window you set |
| Ordering | Compare fired_at, and treat data as the latest state | Logs every event and attempt, and replays after a fix |
| Retries | Return an error only when you couldn't store the event, and reconcile from the API | Retries delivery on your schedule and replays past events |
| Choosing events | Filter candidate events at the source; route on event_type | Filters and routes events on any body field |
| Testing | Use a test job, and read one real delivery | Forwards to localhost and replays past events |
| Other limits | Keep the token in one place; confirm the encoding | Verifies the signature with the key stored on the source |
Workable webhook timeouts and slow handlers
Workable documents no response timeout, so return 200 as soon as the request is verified and stored, and do everything else later.
Why it happens: Workable says the response status should be 200, or it treats the request as an error and replays it. It gives no time limit to tune a handler against. Read literally, that sentence also covers other 2xx codes, so a framework that answers 201 or 204 by default could get replays.
Fix it in your handler:
- Verify the signature, store the event, then return exactly
200. - Do the slow work from a queue. See why to process webhooks asynchronously.
- Keep follow-up calls, such as
GET /employees/:id, out of the request path.
With Event Gateway: Hookdeck accepts each Workable request as soon as it arrives, then queues it and delivers it to your service with its own delivery timeout and retries.
Duplicate Workable webhooks
Workable replays a request after any response other than 200, so the same event can arrive more than once. Deduplicate on event_type, id and fired_at together, because id alone can drop real events.
Why it happens: Workable's candidate field table calls id "The event identifier", and in the candidate example it differs from data.id. On the employee page it reads differently: the four employee examples all share one id, and two different time-off requests share another, so there it looks like the employee. These are documentation examples rather than captured deliveries, and Workable doesn't say whether fired_at stays the same on a replay. Candidate data is built when the request is sent, so a replay's data can differ too.
Fix it in your handler:
- Build a key from
event_type,idandfired_at, store it before processing and skip repeats. See our guide to webhook idempotency. - Don't compare whole bodies to find a repeat, since
datacan change between attempts. - Make actions safe to run twice, such as checking whether an account already exists before you provision one, in case a replay gets a new
fired_at.
With Event Gateway: A deduplication rule with include_fields set to body.event_type, body.id and body.fired_at delivers the first event for that key and ignores repeats until the window has passed. Keep the window short, because a replay you send inside it is ignored too.
Out-of-order Workable webhooks
Workable doesn't document delivery order, and candidate data shows the candidate when the request is sent. Compare fired_at in your handler and treat data as the latest known state rather than a snapshot.
Why it happens: Workable says the payload reflects the state at the time of the request rather than when the event fired. It says the two are usually the same, but race conditions can make them differ. So a candidate_moved event can show a stage the candidate has already left, and a replay sent later can carry newer data still.
Fix it in your handler:
- Store the latest
fired_atfor each candidate or employee, and don't let an older event overwrite newer state. - For decisions that matter, have your handler fetch the record with
GET /candidates/:idorGET /employees/:id. - For employees, wait for
employee_publishedbefore you act on the full record. Workable's flow fetches it at that point, becauseemployee_createdhas only minimal fields.
With Event Gateway: Delivery order is best effort, and Hookdeck doesn't reorder events, so keep the fired_at check in your handler. It logs every event and attempt, so you can see the order things arrived in, and you can replay events after a fix.
Workable webhook retries and lost events
Workable replays a request after a non-200 response, but it doesn't document how often, how many times or when it stops. Plan as if a long outage could lose events.
Why it happens: The only documented behaviour is the replay itself. There's no retry schedule, attempt count or replay window, and no documented way to resend an event or see past deliveries.
Fix it in your handler:
- Return
200only after the event is stored, and return an error if you couldn't store it, so Workable replays it. - After an outage, reconcile candidates with
GET /candidatesandupdated_after, and employees withGET /employees. - Check
GET /subscriptionsafterwards to confirm your subscriptions are still active, since Workable doesn't say whether failures affect them.
With Event Gateway: Hookdeck accepts each request as soon as it arrives and stores it, then retries delivery to your service on a schedule you control and lets you replay any event, so an outage on your side doesn't depend on Workable's replays.
Choosing and routing Workable events
Create one subscription for each event you process, filter candidate events by job and stage, and route on the body's event_type.
Why it happens: Each subscription takes one event, and target URLs must be unique: a duplicate gets 409 Conflict. You subscribe to timeoff_updated, but Workable's examples arrive as timeoff_request_approved or timeoff_request_reverted. The events table also lists candidate_deleted and job_deleted, while the event description on POST /subscriptions leaves them out, and neither has an example payload.
Fix it in your handler:
- Give each subscription its own path or query string, such as
/webhooks/workable?event=candidate_.moved - Use
job_shortcodeandstage_slugso you receive only what you act on. Acandidate_movedsubscription withstage_slugset tohired, for example, can trigger onboarding. These filters apply only to candidate events. - Route on
event_type, handle the two time-off values, and log any value you don't recognise while still returning200. - Try subscribing to
candidate_deletedandjob_deletedon a test account before you rely on them.
With Event Gateway: Add a distinct path to the Hookdeck source URL for each subscription. Hookdeck forwards an appended path to your destination by default, so a handler routed at an exact path answers 404 unless you disable path forwarding. Filters match on any body field, so one connection can pass only candidate_moved and another can send time-off events elsewhere.
Testing Workable webhooks
Workable documents no test event or CLI, so test with real actions on a test job, against a public URL.
Why it happens: Subscriptions only fire on real events, and Workable's examples don't cover candidate_created, candidate_deleted, job_deleted or the timeoff_updated label. So the first real delivery is the first time you see those bodies and the first time you can check the signature format.
Test it like this:
- Run
hookdeck listen 3000 workable --path /webhooks/workableand subscribe the URL it prints. - Create a candidate or move one between stages in a test job, and confirm your handler sees the event.
- Log the signature header from that delivery to confirm the encoding, as Workable doesn't state it. 64 hex characters is hex, and 44 characters ending in
=is base64.
With Event Gateway: The Hookdeck CLI forwards events to localhost, each request's headers and body are recorded, and you can replay a past event as you change your handler, with no need to move the candidate again.
Other Workable webhook limits
The signing key is an API credential. Workable has no dedicated webhook secret. It signs with the account token or the OAuth application secret, so every service that verifies needs a credential that can also call the API. Verify in one place and pass verified events on, and give the token only the scopes it needs. Subscribing needs r_candidates or r_employees, and Workable warns that r_employees grants access to confidential employee data.
The encoding isn't documented. Workable says HMAC SHA256 on the payload, with no encoding or code sample. The open-source n8n and Botpress integrations use hex, so start there and confirm it against one real delivery.
Replacing a token. Workable warns that revoking a token stops everything that uses it, and doesn't say what happens to subscriptions made with it. Plan on creating them again with the new token and updating your verifier at the same time.
No replay protection. Only the payload is signed, with no timestamp, so a captured request stays valid. Your deduplication key is what stops a repeat from being processed twice.
Thin payloads. employee_created has minimal fields, and Workable describes employee_published as carrying only the employee ID, though its example also has data.workEmail. Your handler makes the follow-up call.
No source IP list. Workable's webhook docs list no source addresses, so rely on the signature rather than an allowlist.
With Event Gateway: Set your token or OAuth application secret on a Workable source and Hookdeck verifies the signature, so your services don't need the credential. A request that fails is recorded as failed verification and creates no event. For follow-up calls, a max delivery rate limits how fast events reach your handler, and failed deliveries are retried.
Get started with Hookdeck for free and take control of retries that Workable doesn't document.
Don't depend on a retry schedule you can't see.
Hookdeck Event Gateway verifies the signature, stores each Workable request as it arrives, then retries delivery to your service on your schedule and replays anything that failed.