Dispatches
Customer story

Workflow self-healing

When an RPA bot broke mid-run, the workflow stopped; AOPs pause, diagnose, and continue from step sixteen.

Step 16Where the RPA bot broke when the vendor moved abuttonThe workflow stopped; the team is half its original size01Bot runs priorstepsHard-coded selectors02Step 16: submitformVendor moved button03Exception thrownRun stops immediately04Team manuallyfixes botRedeploy and restartfrom scratchWorkflow failed; manual intervention required to fix and restartThe old way: brittle RPA broke and stopped01Prior stepscompleteAOP with browsercontrol02Step 16: submitformElement not found03Run pausesFailure detected,logs captured04Athena diagnosesInspects DOM, findsnew selectorAgent identifies button moved, proposes fixAthena pauses at step sixteen and diagnosesSESSIONStep 16 failed: button selectorchanged. Found new selector.Continuing run from step 16.Run logsAll sixteen steps capturedAthena · mid-run · budget cap activeThe run logs every step and continuesAOP resumes from step 16Trigger · Healed selector appliedStep 16: submit form with new selectorConfirm submissionUpdate databaseFinal step: log completionWorkflow completes; hardbudget caps retry costRun finished despiteThe workflow finishes from step sixteen onwardAthena wants toResume run after diagnosing an unknownfailure typeSome failures need a human decisionRun pauses and waits instead of dyingLogs preserved, state savedWAITING FOR A PERSONReviewer approves continuation or provides fixHeal-then-continue; escalates to a person when neededSome failures wait for a human, not dieRole automation, not taskautomationathenaintel.com
Fig. 02The story in 22 seconds, from the old way to “Role automation, not task automation.”
Before · what we did · after
  1. Before

    The RPA bot broke when the vendor moved a button. The team that built the workflow is half the size. The workflow stopped.

  2. What we did

    Rebuilt it as an Agent Operating Procedure (AOP) with browser control. When a step fails, the run pauses, the agent diagnoses, and it continues. If infrastructure fails mid-run, the run resumes where it stopped.

  3. After

    "The workflow was on step sixteen. The step failed. Here are all the logs." Then it kept going. Hard budgets cap the cost of any retry loop.

01Step 16: SubmitformButton moved →failure detected02Pause & diagnoseAgent inspects DOM,finds new selector03Heal & continueRun resumes from step16 with fix04Log & completeAll logs captured,workflow finishesRun completes despite mid-workflow failure; budget caps retry cost
Fig. 01The AOP pauses at step sixteen, diagnoses the button move, and continues
How long it takes · what to plan for

Heal-then-continue has limits. Some failures need a human. The run waits for one instead of dying.

Role automation, not task automation.

Example workflow

Rebuild brittle RPA as a heal-then-continue workflow

SURFACES INWHAT COMES INTHE PLATFORMWHAT GOES OUTDELIVERED BACKWebMobile · voiceText (SMS)EmailSlack · TeamsChromeOffice add-inMeeting botMeetingsWordPowerPointSheetsFiles · PDFsDataAppsLibrarySessionsSpacesStudiosMeetingsLakehouseSemantic modelsDatabaseDashboardsWordPowerPointSheetsData · APIsApps · portalsWebMobile · voiceText (SMS)EmailSlack · TeamsChromeOffice add-inMeeting botWorkflows (AOPs)1Agents2Dashboards3Workflows (AOPs)41 BUILDWrite the vendor workflowas an AOP with browsercontrol steps2 RUNStep sixteen fails whenthe button moves; agentpauses and diagnoses DOM3 CHECKLogs show failure at stepsixteen, diagnosis, andsuccessful continuation4 ANSWERRun resumes from stepsixteen; a budget caplimits the cost of retries
Fig. 03The route on the system map: Workflows (AOPs) → Agents → Dashboards. Connectors: Browser control APIs
What it runs on
What customers say
“He wrote the entire stuff. By itself. And I was there, and I was thinking, alright. If I had to write all this stuff, I mean, I would've spent days, days, days.”
Manufacturing analyst · A global manufacturer
“I send that to the programmer and he said, alright. I read your file. I copied the section of the code because he has the right interface, and it works. Wow. Just like magic.”
Manufacturing analyst · A global manufacturer
“Digital worker, it gets spun up, it gets given access to the toolkits that it needs. It gets given access to the data that it needs. Just exists for the period it needs to exist to perform the task. And then it gets torn back down again afterwards.”
Audit lead · A global professional services firm
“I like that direction, that concept of the agent is the agent. It becomes an entity in its own right with its own ownership and its own missioning, and you get rid of the gray area and the blurry lines.”
Audit lead · A global professional services firm
“A lot of people are telling us that, oh, I sold in this package because of this info... I secured this distribution because of the selling assistance help.”
Sales enablement lead · A global CPG provider
“I am not a programmer. I cannot read a line of program in SQL or anything... The only thing that I'm doing is just writing prompts.”
Manufacturing analyst · A global manufacturer
“I finally got a chance to play around with the computer asset and build out the chatbot you mentioned. It was really impressive.”
Marketing lead · An AmLaw 100 firm
“So we use the SDK, and we write that in Python, and it calls Athena majority by API. The results appear in the interface itself.”
Legal technology team · A global law firm
“You guys are functioning better because the harness is tested for a longer period of time against enterprise customers.”
Analytics lead · A Fortune 500 retailer
“It's like I'm running analysis that would have taken us, like, maybe a week, two. And thirty, forty minutes.”
Sales intelligence analyst · A global CPG provider

Verbatim from customer calls. Customers anonymized.

Related

Related products and stories

See this on your own work

Bring one recurring task, a sample input, and an example of work you would accept.