At 06:58 the flow calls the reporting API and gets a 429. The report is due at seven. What happens next was settled months ago by a default nobody read. On a low Power Automate license the platform waits about five minutes before the second attempt and stops after roughly ten. On a medium or high license it retries twelve times, starting at seven seconds and stretching toward an hour.
Both are wrong for this job. The slow one cannot save a seven o'clock report. The fast one can save it and still be running when the nine o'clock run starts, so one morning produces two reports and a duplicate row in the ledger.
Retry timing is a decision worth ten minutes. The pieces are the first wait, the growth between waits, the total time allowed, and the point where a person gets told.
The retry you never configured
Most workflow tools retry before you ask them to. Microsoft's guidance for Power Automate describes an exponential policy as the preferred shape: a short first interval, then two, four, eight minutes, until the action succeeds or the attempt limit is reached. That shape ships switched on, with an interval that depends on the license tier rather than on the job.
The default is tuned for a generic API call, not for a report with a deadline. Five minutes of waiting is reasonable when nobody is watching. It is a disaster when a manager opens a dashboard at 07:05 and finds yesterday's numbers. The mistake is not the policy. The mistake is leaving a deadline-sensitive job on a policy written for a job with no deadline.
Two numbers decide the cadence
Every retry policy answers two questions, and teams usually answer only the first. How long until the next attempt, and how long in total before the attempt stops being worth making.
The interval controls load: how hard you hit a service that is already struggling, and whether your retry arrives while it is still shedding traffic or after it has recovered.
The deadline controls trust. It decides whether the job finishes before the people who depend on it start their day, and whether the next scheduled run collides with a retry from the previous one.
A policy with a good interval and no deadline produces the worst outcome available: a run that neither succeeds nor fails visibly, occupying the queue while a second copy starts. A policy with a deadline and no interval produces a burst that can turn a five minute outage into a thirty minute one.
Start the wait from the error, not from the clock
The right first wait depends on what came back. AWS's published retry behavior is a useful reference: transient errors, the kind that usually clear in milliseconds, start from a 50 millisecond base, while throttling errors, where the service has actively refused you, start from a full second.
That distinction travels well. A connection reset or a 502 deserves an immediate second try. A 429 means you are the problem, and retrying in 200 milliseconds makes you a bigger problem.
Permanent errors deserve no retry at all. A 401 with an expired token, a 403 on a folder the service account lost access to, a 400 from a payload that changed shape. None of these improve with time. Retrying them burns the window you needed for the alert.
Widen the gaps and cap the total time
Exponential growth exists because the first seconds of an outage are the worst, and a service that is coming back needs room. Doubling the wait between attempts buys that room without making the caller wait forever.
Jitter is the part people skip. If twenty flows start on the same cron minute and hit the same API, they fail together and retry together. Randomizing each wait across the window spreads the second wave, which is the difference between a service that recovers and one that gets knocked over again by its own clients.
Cap by elapsed time, not only by attempt count. Ten attempts on a ten second interval is under two minutes. Ten attempts on a curve that reaches ten minutes is closer to half an hour. The count says how many chances you took. The clock says when they stopped being useful.
For a daily report due at seven, a total budget of fifteen minutes is generous. For a payment sync that runs every five minutes, the budget has to be shorter than the gap between runs, or the retries from one cycle pile onto the next.
Only retry work that can run twice
A retry assumes that doing the thing again is harmless. That holds for reads, for lookups, for updates that set a field to a known value. It fails for anything that appends.
The test is simple. If the action succeeds twice, what does the system look like? One extra row, one duplicate invoice, one second welcome email. If the answer is anything other than identical to a single success, the action needs a guard before it can be retried: a unique key, a check for an existing record, or a "sent" flag written before the send.
Retrying a non-idempotent step without a guard is how a brief timeout becomes a duplicate charge. The retry did its job. The design around it did not.
Pick one layer to retry
Retries multiply across layers. The HTTP client retries twice, the action retries twelve times, and the platform restarts the whole flow after a failure. Twelve attempts inside three inside a restart is not fifteen tries. It is a small storm aimed at a service that was already unwell.
Choose the layer closest to the failure and turn the others down. For a low-code flow calling a vendor API, that is usually the action's own retry setting, with platform-level restarts off. Then verify the claim rather than trusting it: many SDKs and connectors retry by default, and a flow that appears to have no retry logic often has three.
Write the attempt down
A cadence you cannot see is a cadence you cannot tune. Log the attempt number, the elapsed time, and the error code, then one line at the end saying the job gave up and how long it tried. At eight in the morning that log answers the only question that matters: did it fail, or is it still trying? Without it, the usual response is to start the job by hand while retries are still in flight, which is how duplicates get made.
A default that fits a small team
For a job that runs once a day and feeds a report, five attempts inside a fifteen minute budget works well: roughly five seconds, thirty seconds, two minutes, five minutes, then a final attempt at the edge of the budget. Alert at the end of the budget rather than at the end of the attempt count, and send it to a person rather than a folder.
For a job that runs every five minutes, shorten everything. Two attempts, ten seconds apart, then wait for the next cycle. A missed cycle is cheaper than a retry queue that never drains.
Then check the arithmetic against the calendar. A policy that can run for forty minutes on a job scheduled every thirty will overlap itself on a bad day, and the overlap stays invisible until someone counts the rows. The budget has to be shorter than the interval between runs, or the retry policy becomes a second schedule you did not plan. That check takes one line of reasoning and prevents the most common duplicate-data incident in small automation setups, because the failure is structural rather than a matter of luck. Most teams find it after the fact, when a report shows double the expected volume and the run history looks perfectly healthy.
Point a test action at a URL that returns 500, count the attempts, and confirm the total time matches what you set. Then make it fail permanently and check that the alert arrives before anyone asks about the missing output. A retry cadence is only as good as the moment it stops.
