# Workato webhooks in production: duplicates, ordering, retries and timeouts

Agent skill: `npx skills add hookdeck/webhook-skills --skill workato-webhooks` ([details](https://hookdeck.com/webhooks/workato/skill))

This guide covers the problems you meet when a Workato recipe calls your endpoint with the HTTP connector's **Send request via HTTP** action, and how to handle each one. It doesn't cover Workato's own [Webhooks connector](https://docs.workato.com/en/connectors/workato-webhooks.html), where other services send events into a recipe.

What Workato sends is on the [Workato webhooks](/webhooks/workato) overview, and how to check the credentials is on [Verify Workato webhooks](/webhooks/workato/verify).

## At a glance

| Problem | What to do | With Event Gateway |
| --- | --- | --- |
| [Timeouts](#timeouts) | Respond inside the action's timeout; process in a background job | Answers the action at once, then queues the request for your service |
| [Duplicates](#duplicates) | Put a stable `id` in the body and skip ids you've processed | Drops repeats before they reach your handler |
| [Ordering](#ordering) | Keep concurrency at 1 if order matters, or fetch current state | Logs every request, so you can see arrival order when debugging |
| [Retries](#retries) | Add a **Handle errors** step with retries and an alert, then test it | Accepts requests while your service is down and retries on your schedule |
| [Choosing events](#choosing-events) | Name the event in every body, or give each recipe a path | Filters and routes on the fields you send |
| [Testing](#testing) | Use a public URL that forwards to localhost | Forwards to localhost and replays past requests |
| [Other limits](#other-limits) | Use HTTPS, keep credentials in the connection, check the first request | Checks the Basic credentials on each request |

## Workato action timeouts and slow handlers {#timeouts}

Respond inside the action's timeout, then do the work in a background job. By default, Workato waits up to 120 seconds for a response.

**Why it happens:** The job waits on your response, so a slow handler holds it up, and past the limit the action raises a timeout error. Setting **Wait for response** to **Yes** makes the action a long action, with a **Response timeout** of 11 to 3600 seconds that defaults to 3600. This setting is in public beta, and Workato recommends starting with it off and turning it on only if timeouts occur. It also affects [job order](#ordering).

**Fix it in your handler:**

1. Check the credentials, store the request and return `200`. See [why to process webhooks asynchronously](/webhooks/guides/why-implement-asynchronous-processing-webhooks).
2. Do the work in a worker, outside the request.
3. Leave **Wait for response** off unless your endpoint has to answer with a result that takes longer than 120 seconds.

**With Event Gateway:** Hookdeck answers the action as soon as a request arrives, then queues it and delivers it to your service at a rate it can handle. Your handler can take as long as it needs without holding up the job.

## Duplicate Workato requests {#duplicates}

Your endpoint can receive the same request more than once. Put a stable `id` in the body, taken from the record the recipe is handling, and skip ids you've processed.

**Why it happens:** Three things send a request again. The action's [implicit retry](https://docs.workato.com/en/developing-connectors/http/building-http-action.html) fires when a `GET`, `HEAD`, `PUT` or `DELETE` times out, even if your endpoint finished the work. A **Handle errors** step can retry its actions. And [Repeat job](https://docs.workato.com/en/recipes/rerun-job.html) runs the whole recipe again, which Workato warns may create duplicate records. Workato documents no delivery id, so your endpoint has nothing to compare unless the body carries one.

**Fix it in your handler and recipe:**

1. Map an identifier from the trigger event into `id` in the body. Repeat job reuses the trigger event's original data, so an id built from it stays the same on a rerun.
2. Track processed ids in a table with a unique constraint.
3. Make every handler [idempotent](/webhooks/guides/implement-webhook-idempotency).
4. Set **Disable retries** on an action that must never repeat, and handle its failures explicitly.

**With Event Gateway:** Hookdeck [deduplicates](/docs/deduplication) requests before they reach your endpoint, using the fields you choose.

## Out-of-order Workato requests {#ordering}

A recipe processes one job at a time by default, so its requests go out in order. That stops holding once jobs can overlap, and nothing orders requests from different recipes.

**Why it happens:** [A recipe's concurrency defaults to 1](https://docs.workato.com/en/recipes/settings.html), and a higher setting processes jobs simultaneously. With **Wait for response** set to **Yes**, the action is put on hold and the next job starts even at concurrency 1, so Workato says jobs may not be processed in order. A job you rerun with Repeat job also sends its request again after newer jobs have run.

**Fix it in your recipe and handler:**

1. If the sequence matters, keep concurrency at 1 and **Wait for response** off.
2. Include a timestamp from the source record in the body, and ignore anything older than what you've stored.
3. Or fetch current state from the source system when the request arrives.

**With Event Gateway:** Hookdeck logs every request and attempt, so you can see arrival order when debugging. For more on the general problem, see [Webhook Ordering: Why It's Hard and How to Handle It](/webhooks/guides/webhook-ordering-why-its-hard-and-how-to-handle-it).

## Workato retries and failed jobs {#retries}

A non-2xx response stops the job by default, and Workato doesn't retry it. Decide what you want to happen, then test it against a `500`.

**Why it happens:** The HTTP connector treats non-2xx responses as errors, which stop the job unless a [Handle errors step](https://docs.workato.com/en/recipes/best-practices-error-handling.html) catches them or **Mark non-2xx response codes as success** is set. The implicit retry covers only timeouts on `GET`, `HEAD`, `PUT` and `DELETE`, so a `POST` gets none. The docs don't say how many times the implicit retry fires. A short outage on your side can therefore leave failed jobs that someone has to rerun.

**Fix it in your recipe and handler:**

1. Put the action in a **Handle errors** step. By default the step doesn't retry, so set **Retry actions in Monitor block?** to at most three retries and **Time interval between retries** to between one and ten seconds. Every action in the Monitor block runs again, so keep the block small.
2. Use **Retry IF** to retry only when a condition is true, and add alerting to the **On error** block, which runs after the retries fail.
3. Avoid **Mark non-2xx response codes as success** unless a later step checks the status code. Otherwise a failure looks like a success in the job report.
4. Three retries ten seconds apart won't outlast a real outage, so rerun failed jobs from the recipe's **Jobs** tab with **Repeat job** once the problem is fixed.

**With Event Gateway:** Hookdeck accepts each request as soon as it arrives and stores it, then delivers it to your service with [retries](/docs/retries) on a schedule you control. An outage on your side doesn't become a failed job.

## Choosing events: Workato has no event list {#choosing-events}

Workato has no event catalogue for these requests, because every request is built in a recipe. Your events are whatever your recipes report, so name them yourself.

**Why it happens:** Workato doesn't define what arrives at your endpoint. The recipe's author chooses the method, URL parameters, headers and body, usually by mapping datapills from earlier steps. Workato documents no event name or envelope of its own.

**Fix it in your recipe:**

1. Agree on a body format with whoever builds the recipes, and keep it the same across them:
  
  
  ```json
  {
    "event": "order.created",
    "occurred_at": "2026-10-22T09:15:00Z",
    "id": "ord_123-2026-10-22T09:15:00Z",
    "data": {
      "order_id": "ord_123"
    }
  }
  
  ```
  
  
  
  The event name and values here are only examples. In a recipe, they come from datapills.
2. Set **Request content type** to **JSON request body**, which builds input fields from a sample, or **Raw JSON request body**, which lets you write the structure directly.
3. Or give each recipe its own path under the Base URL, using a relative **Request URL** such as `webhooks/orders`.
4. Use one method per endpoint. Choose `POST` unless you have a reason not to, so data stays out of URLs and a body is always present.

**With Event Gateway:** Hookdeck stores every request with its full body, so you can see what each recipe sends. [Filters](/docs/filters) route on the fields you send, and [transformations](/docs/transformations) can normalise different shapes into one.

## Testing Workato requests locally {#testing}

Point the connection at a public URL that forwards to your machine, then send a request from the action's guided setup.

**Why it matters:** The action needs a URL Workato can reach, and what arrives depends on the connection and the recipe, so you want to see a real request before you write a parser.

**How to test it:**

1. Run `hookdeck listen 3000 workato --path /webhooks/workato` and use the URL it prints as the connection's **Base URL**.
2. In the action, click **Start guided setup**, set the method and relative **Request URL**, then click **Send request**.
3. Check your endpoint's log for the `Authorization` header, and the action's output for the **Status code**, **Body** and **Error**.
4. To send the same data again from a real job, use [Repeat job](https://docs.workato.com/en/recipes/rerun-job.html). [Job debug tracing](https://docs.workato.com/en/recipes/job-debug-tracing.html) shows request headers from Workato's side, but it's available only to certain users.

**With Event Gateway:** The [Hookdeck CLI](/docs/cli) forwards requests to localhost, and you can replay past requests without running the job again.

## Other Workato limits {#other-limits}

**Basic credentials aren't a signature.** The HTTP connection's authentication types include Basic, Header auth, Query params, Custom, OAuth 2 and AWS options, and none of them signs the body. Base64 is an encoding, so use an HTTPS Base URL. A long random password, rotated if it might have leaked, limits the damage, and deduplicating on `id` means a replayed request has no further effect.

**The docs don't say when Basic credentials are sent.** Workato says only that Basic is encoded with Base64 in transit. It doesn't say whether the credentials go on the first request or only after a `401` challenge, so check the first test request for an `Authorization` header.

**Keep credentials in the connection.** Workato says not to hard-code usernames or passwords in the action's input fields, and to use the connection or a secrets manager instead. Anyone who can edit the recipe or connection controls what is sent, so limit who has that access.

**The Base URL belongs to the connection.** Recipes can't override it, and the action's **Request URL** adds a relative path.

**Workato publishes its outgoing IPs.** If your endpoint sits behind a firewall, [allow the addresses for your data center](https://docs.workato.com/en/security/ip-allowlists.html).

**With Event Gateway:** Create a source with the Workato type, enter the same **Username** and **Password** as the connection, and use the source's URL as the **Base URL**. A request with missing or wrong credentials is recorded as failed verification and creates no event. The source type pre-selects `POST`, so if your recipe uses `PUT`, `PATCH`, `GET` or `DELETE`, allow that method on the source too. This source type checks Basic credentials only, so to send a **Header auth** token through Hookdeck, use a generic source with API key authentication.

Hookdeck answers the action itself, before your service sees the request. If a later step in the recipe reads an ID your service returns, don't put Hookdeck in between, because Workato would receive Hookdeck's acknowledgement. Hookdeck fits steps that only need to know the request was accepted. Watch Hookdeck rather than the job report for problems further along: [issues](/docs/issues) alert you when deliveries to your service fail, and every request is listed with its headers and body, including those that failed verification.

[Get started with Hookdeck](https://dashboard.hookdeck.com/signup) for free and receive Workato recipe requests reliably in minutes.