How Do You Automate a Task That Spans Three Apps?

Anything you can finish inside one app is not hard. The hard part is the job that needs three apps to complete.

Scene playbook · 8 min read
On this page
  1. Three common situations
  2. Spell out the order and the decisions
  3. What to do when it stops halfway
  4. Save it as a workflow

Work you can finish inside one app has a continuous page state. You are on the home screen, you open a detail page, you go back, you enter another place. The whole time you are inside one interface, and the way you find elements stays similar. However many steps there are, it is still that one system.

The awkward jobs are the ones that need several apps, switched back and forth, before they are done.

Three common situations

A support reply about shipping often has three stretches. A buyer on platform A asks “where is my order.” You open back end B and look up the tracking number. Sometimes you also open platform C to see the warehouse shipping record. Then you go back to platform A and send the result to the buyer. One enquiry, four apps.

Content work that gathers material and then publishes is the same kind of switching. You see a trending item on platform A, search platform B for material on the same subject, download it, and post it to an account on platform C. Along the way you may also check a publishing schedule on platform D.

Order handling has to be checked in several places too. The order comes in on platform A. Stock is in the warehouse system on platform B. Shipping details are entered on platform C. After the numbers match, you go back to platform A and mark it shipped.

None of the steps in these three jobs is hard on its own. The order cannot be wrong. Switch to the wrong place once in the middle, and everything after it is off.

The hard part is that every switch means looking at the screen again. Inside one app, a script can assume it is still in that set of pages. After you cross apps, that assumption is gone. Every switch has to answer three things again: which app this is, which page of that app this is, and where the next step goes.

The usual script answer is to write the path in. Tap the icon here, wait three seconds, then tap the button there. Every step is written in, and every step can fail when the interface changes. Four apps in a chain means twenty-odd switch actions. If any one of them fails, the whole flow stops.

That is why many teams have already automated the single-app work and still do the cross-app work by hand. The upkeep cost of the script is too high.

Spell out the order and the decisions

iEasyRun is free and runs on your own computer. You write the order and the conditions. The actions that switch apps stay out of what you write. The support case can be said like this:

Open buyer messages on platform A and find the one asking about shipping. Remember the order number the buyer asked about. Open back end B and look up the shipping status for that number. After you have it, go back to platform A and reply with the sentence pattern “your parcel is currently at…”. If back end B has no record, reply first with “checking this for you, will reply shortly.”

There is no line in there like “tap the top left of the screen.” What you wrote is what needs to be done. Switching apps, finding the entry point, and waiting for the page to load are done by the system.

There is less to maintain because of that. In the paragraph above, what can change is the sentence pattern, and what to do when the lookup finds nothing. How apps are switched, where the entry points sit, and how long to wait for a load never go into the description.

What to do when it stops halfway

A failure in the middle has to be written in ahead of time. Three ways to handle it, from the smallest effort to the largest.

Add an exception branch in the description. Popups and promo pages are the common case. One line, “if a promo popup appears, close it and continue,” blocks a whole class of problems. Each time you meet one, add a line.

Make the flow able to start again. If a step is truly stuck, go back to the first page and start over. The wording is “if it fails, go back to the messages page on platform A and start again.”

Read the log to find the spot. Every run keeps a record of how far it got and which step failed. With this many links, the log is faster than guessing from memory.

Save it as a workflow

A cross-app flow is the kind most worth saving as a workflow. Describing a single-app task again does not take long. A cross-app passage is long, and the order matters, so saying it again tends to drop a step. Run it once, save it, and the next time you call the saved workflow directly.

Leave the parts that change as variables filled in at call time. Order numbers, sentence patterns, and target accounts can differ every time, so they stay out of the saved steps. One workflow then lasts a long time.

The first time, pick a two-app job. The easiest shape is two stretches: see something in one app, then use it in another. Once that runs, add a third stretch. Stability comes from filling gaps one run at a time.

Before you start, walk the whole thing by hand once and write down every step. In particular, write the condition between steps: how you know the lookup is finished, and which state means you should go back. A description written from that note misses less than one spoken while you are still thinking it through.

After it is running, open execution history and read a few records. Every step can be checked there. For more specific cases, see automatic short-video publishing and bulk listing for e-commerce.

Frequently asked questions

Why is a cross-app task harder than a single-app one?
Every switch wipes the context. Inside one app the page state is continuous. Across apps, each step has to re-establish which app you are in, which screen this is, and where to go next. Scripts handle that state change badly.
Can a description really cover a cross-app flow?
Describe it in order, the way you would brief a colleague: first this, then that, finally the other. You do not describe how to switch apps or find entry points, because that is not your problem.
What if it lands on the wrong app or hits an ad screen?
Add one line of exception handling, such as close any promo popup before continuing. It reads the screen state on every step, so it notices when it drifts and tries to recover. If it cannot, the log flags where.
Can a cross-app task be saved as a workflow?
Yes, and it is worth doing. Run it once from a description, then save it. Cross-app flows are long and order-sensitive, so re-describing one from scratch is more effort than it is for single-app work.
Can one task drive several phones at once?
Yes, dispatch it to a device group and each phone runs it. Note that cross-app flows take longer, so stagger the start times rather than having every device begin in the same second.
How does it switch apps? Will the system block it?
Through standard app launching and interface interaction. No special handling and no extra permissions. The practical snag is rarely the switch itself, but the page not being loaded yet, so build waits into the flow.
Is the failure rate higher?
Objectively yes, because there are more links in the chain. So do not aim for a perfect first version. Get the main path running, then add exception branches as you meet them.
Does an app update mean reconfiguring the workflow?
Usually not. It decides each step by looking at the screen, so a relocated entry point gets found. Only a change to the flow itself, such as an extra step, means going back and editing.

Have a job like this?

Let the computer run the whole sequence

Software is completely free and runs on your own computer.