Retry from a step
Run a failed or stopped flow again, keeping the steps that already worked.
When a run fails or you stop it, you do not have to start over. Retry from here makes a new run that keeps the steps that already succeeded and runs the rest again. You can change the prompt of the step it starts from, for this run only.
Retry a run
- Open the failed or stopped run.
- Choose Retry from here.
- Read where the retry starts and which steps run again.
- If you like, change the prompt of the step it starts at.
- Start the retry.
The retry is a new run on the same flow, with the same request and pictures as the run it retries. Its kept steps show "From the earlier run" and cost nothing. The run view links the two runs.
Which steps are kept
A step is kept when its newest work succeeded and every step it waits for was kept too. A review is kept only when it let the work go on.
Some steps always run again, even if they succeeded:
- the step the retry starts at;
- a step whose hand-offs to other runs did not succeed;
- a step whose new items were already taken by another run since;
- a step whose effects were lost with the failure, such as rows it saved for the end of a successful run;
- a step that opened a preview, which cannot be restored;
- a step that changed the sandbox, when its files were not kept.
The sandbox
If the run worked in a sandbox, the retry starts its sandbox from the newest copy of its files before any step runs. If that copy is gone, the retry fails and says so. If there is no room for a sandbox, it says that too.
Limits
- A run can be retried once. Asking again opens the retry already made.
- A run started by another flow step cannot be retried by itself; retry the run that started it.
- A run whose flow had problems at the time cannot be retried.
- All the work a run handed off must have ended first.
A retry started from a webhook run stays a webhook run, so it still asks before every action.
Change the prompt
The prompt you change in the dialog is used for this retry only. The saved flow does not change. If the change works, copy it into the flow and save.
When retry is not the answer
If the same step fails again, look at its error in the run view:
| What it says | What to try |
|---|---|
| Tools refused | Check your connected account, or allow the tool. |
| Did nothing / only announced work | Make the prompt more concrete, or pick tools for the step. |
| Out of turns | Split the step, or give it fewer things to do. |
| Model provider refused | Check your key's credit or limits in Settings → Model. |
| Budget spent | Wait for the next day, or use your own key. |