Run a saved Tool Chain on local files

A saved Tool Chain is the list of steps you recorded. It does not contain your files. A batch runs those steps on local files in the browser, one file at a time, and zips the files that succeed.

Last updated:

You have a sequence that already works on one file, and you want the same steps on other files you still have locally. Record the steps, then run them as a batch. The batch does not upload the files, and the saved workflow does not keep them.

The input is a saved chain whose first step accepts a file, such as Resize Image, plus the local files you select for the run. Each later step must accept the previous step’s recorded output type. A chain recorded on a PNG does not become a universal image chain if a later step accepts only PNG.

  1. Use the tools once so the chain drawer can record each successful step. Word Counter, Character Counter, and Line Counter update as you type and are not added as steps. Stopwatch, Timer, and Countdown Timer stay on their pages and are not recorded.
  2. Save the chain. The record is the step list in the utilchain-workflows database: tool id, the controls you set, and the handoff type. It is not the file you just processed.
  3. Start a batch from that saved chain and choose the local files. Files run one after another on the current page. The progress line names the file and the step.
  4. Download the ZIP when the run finishes. Successful final files are entries in that ZIP. Duplicate names become name (2).ext. If any file failed, the ZIP also contains failures.txt with the file name, the step, and the message. One failure does not cancel the remaining files.

The expected output is a ZIP built in the browser. Intermediate bytes for a file are dropped after the next step reads them. Closing the batch dialog before you download asks you to confirm, because those results are only in memory.

This is separate from the ephemeral handoff. Following a suggestion writes a record in utilchain-chain for this tab, for 30 minutes, with at most eight live records. sessionStorage stores the token, not the file. A saved workflow does not use that record as its storage. The IndexedDB specification is the browser storage these two databases use. Reading the files you select uses the File API.

Recipes that fit this runner are described in Resize, watermark, and save WebP and Crop many images by percentage. A PDF extract that outputs a ZIP will not feed a later step that requires a PDF. That limit is explained in Keep PDF pages, merge, and protect.

Questions

Does a saved Tool Chain store my files?

No. The saved record stores the tool, the controls, and the output type for each step. File bytes stay in memory for that batch and are not written into the workflow database.

What happens when one file fails?

That file is reported, the reason is kept for failures.txt, and the next file still runs. Cancelling stops after the step that is already in progress.

Are the files uploaded for the batch?

No. The batch reads the files you pick on this device and runs the recorded tools in the browser. Successful results are zipped in the browser.

Is the 30-minute handoff the same database?

No. The handoff database holds one artifact for the current tab for 30 minutes. The workflow database holds the step list. They are not the same store.

All guides