How to recover a failed AI automation without repeating work

Clay desk trays hold completed mint cards beside a blue envelope on an apricot stand with a pause symbol, representing work kept while an uncertain action waits.
Key takeaways
  • Check the result of each business action before retrying a failed run.
  • Keep an uncertain send on hold until its original outcome is resolved.
  • A stopped schedule may need its authorization reviewed, not a replacement automation.
  • Resume only the work that is still needed, keeping confirmed results and the original schedule history.

If an automation fails halfway through, do not start by running it again. First establish what already happened, what definitely failed and what is still uncertain. Then continue from the unfinished step.

A failed run is not necessarily an empty run. It may have created the task but failed to post the confirmation, or sent a message before losing the response. Repeating the whole instruction can turn a recoverable interruption into duplicate work.

This guide is for the person responsible for a recurring business workflow. It gives you a read-only recovery brief, a worked example and a way to decide whether a retry is safe. The example is fictional, not a measured customer result or a hands-on reliability benchmark.

Freeze the retry before checking the result

Pause the automation, or ask its owner to pause it, while you investigate. Keep a note of the workflow name, the affected business item, the run time and the last visible result. If another colleague is investigating, agree who owns the recovery so you do not both resume it.

Then inspect the destination, not just the failed-run message. For a task workflow, look for the task in the project. For a customer follow-up, check the actual thread or sent message. For a record update, open the affected record and compare the fields that should have changed.

An error tells you where the run stopped reporting success. It does not always prove that the preceding action never reached the receiving system.

A worked example: the task exists, but the notification failed

Imagine a fictional supplier-onboarding workflow with three steps:

  1. Read an approved supplier record.

  2. Create a purchasing task for the first order.

  3. Post a link to that task in the team channel.

The run reports an error at step three. The purchasing task already exists with the right supplier, owner and due date. Repeating all three steps could create a second task for the same order.

A sensible recovery would be:

Check

Finding

Recovery decision

Approved supplier record

The expected record exists and has not changed

Reuse it; do not recreate it

Purchasing task

One matching task exists with the correct details

Keep it and retain its link

Team notification

No matching post is found after checking the channel

Post only the missing notification, if authorized

Remaining uncertainty

Another run may have acted on the same supplier

Resolve that before making a second write

If the notification outcome is uncertain, the next step is another check or a decision by the responsible person, not an automatic resend.

Use a read-only recovery brief

Replace the bracketed details with the affected workflow and business item. This instruction is deliberately limited to inspection; it does not authorize the agent to repair anything yet.

Investigate the failed [workflow name] run from [date, time and timezone]
for [customer, order, supplier or other business item].

Do not rerun the automation, send messages, create records or change data.

Check the run result and the receiving records or messages I am permitted
to access. For each intended action, report:
- confirmed completed, with a source link or identifier;
- confirmed not completed, with the evidence;
- uncertain, with the check still needed.

Look for matching work from another recent run before proposing a retry.
Do not treat an absent confirmation as proof that an action did not happen.

Return the smallest recovery action that would finish the work without
repeating confirmed actions. Flag anything that needs my decision.

Where a receiving system cannot be checked, say so. An inaccessible inbox, unavailable record history or missing message identifier is a limit on the evidence, not permission to assume nothing happened.

Separate three kinds of retry

A failed read

Fetching a record or reading a document usually does not change the destination. A retry may be reasonable once you know the source is still the correct version and the workflow has not already moved on.

A confirmed failed write

If the receiving system confirms that a task, record or message was not created, retry that specific action after checking the details and the authorization. Keep the same business item and the original recovery owner.

An uncertain write

If a send or creation timed out, but its outcome cannot be confirmed, stop. Search the destination using the business item, time and available identifiers. For a consequential action, ask the owner to resolve the uncertainty. Do not turn “I cannot find the confirmation” into “it is safe to send again.”

What Opser can help you inspect

Opser's automation guide describes the saved task, schedule or trigger, run behavior, results and changes to an existing automation. Its activity history provides a separate record of workspace actions. Use those alongside the actual destination record or message.

An agent may help inspect a failed automation or scheduled job when it has access to the relevant run information and business records. That is diagnostic support, not a guarantee that every external service exposes enough history to prove an outcome.

Do not assume the agent can pause the workflow, view another person's inbox or edit a record merely because it can discuss the failure. People, agents and records have separate permissions, and the connected account must still be able to perform the action.

Authorization also depends on how the work runs. In an interactive chat, approval settings determine which actions pause for review. New Opser automations run automatically by default: creating one pre-approves the actions described in its task. When you authorize an automatic recovery task, the boundary must therefore be explicit. A request to investigate should not quietly include permission to resend messages or rewrite records.

Design the next run to be easier to recover

Record the destination link or identifier after a meaningful action. A task identifier is more useful than a vague “task created” note; a source quote reference is more useful than a supplier name alone.

Give each business item a stable reference that can be checked before creating another result. In a purchasing flow, that might be the supplier and order reference; in a customer process, the account and agreed work item. Do not rely on a free-text title being unique.

Set a clear completion condition. “Prepare the follow-up” is ambiguous if the workflow can draft, send, create a task and notify a colleague. Specify which result counts as complete, and what should remain unchanged.

For repeatable integrations, ask the person implementing the connection how it prevents duplicate writes and handles uncertain responses. Some receiving systems support a reusable request identifier; others require a destination check. The appropriate method depends on the actual integration, not on the wording of a general instruction.

Use the source, output and review boundaries in the practical AI-workflow examples to tighten the task before resuming it.

When you change a recurring definition, update the existing automation rather than creating a parallel replacement, preserving its identity and run history. In Opser, changing an automation someone else set up makes it yours and it runs with your access. Have the intended owner review the task, permissions and next scheduled run before resuming, and test the affected case safely.

Before you resume

The recovery owner should be able to answer three questions:

  • Which actions are confirmed complete?

  • What is the smallest remaining action?

  • Who has authorized it, and what evidence will confirm its result?

If one answer is still unknown, keep the workflow paused or narrow the next step to inspection. The aim is to finish the business job once, with a traceable result.