Workflows guide

Build a workflow on the board, run it on your files, save and share it, and fix the common problems.

What a workflow is

A workflow chains tools: files go in, each block does one job, and the files that reach an output block come out. It all runs in your browser; your files are not uploaded. There is one workflow editor, the Workflow hub, with four tabs: Build (the canvas), Recipes (ready-made workflows), Droplets (a saved workflow as a drop tile) and Autopilot (a saved workflow run on the files in a folder). The older addresses /more/workflow-recipes, /more/droplets and /more/folder-autopilot open the hub on the matching tab. The file format is in Workflow API and the exact run rules are in Workflow semantics.

One hub, four tabs

Everything about workflows lives at /more/workflow. Build is the canvas. Recipes lists ready-made workflows. Droplets keeps saved workflows as drop tiles. Autopilot runs a saved workflow on a folder. Because they share one editor, a workflow made on one tab can be used on the others: a recipe or droplet can be inserted into the canvas, and the canvas can be saved as a droplet, which Autopilot can then run on a folder.

The workflow canvas

  • Add a block from the Blocks list: input, task, if, and, or, not or output. A task block runs one tool or text operation.
  • Drag a block to move it, or focus it and use the arrow keys (Shift moves it further). Drag the empty background to pan, and zoom with the buttons or Ctrl or Cmd with scroll or pinch.
  • Connect an output (right edge) to an input (left edge) by dragging, by pressing an output then an input, or from the keyboard with Tab and Enter. Remove a connection in the block settings panel.
  • Select a block to change its settings in the Block settings panel. Option names and values are checked as you edit, before anything runs.
  • Undo and Redo cover every change to blocks and connections. Full screen gives the editor the whole screen. The Workflow help button lists the keyboard shortcuts.
  • Load example opens a small workflow. Under Save and load you can name the workflow, save it, import a .json file, or paste workflow text. Version 1 text pipelines import too; they become an input block, one text task per step and an output block.

Add to workflow from any tool

Tools whose operation exists as a workflow block show a small, quiet + Workflow control beside their main button. Pressing it queues one task block with the tool's current settings and opens the hub, which appends the queued block to the canvas. Nothing runs; you connect the block and add files as usual. A queued block waits about two minutes (up to 20 at once) and is kept in memory only, so reloading the page or waiting too long forgets it.

Send to: hand files to the next tool

Next to a Download control, a Send to menu lists the tools that accept the result, for example a compressed PDF going to Protect PDF. The chosen tool opens with the files already loaded, exactly as if you had dropped them. The files are held in memory only, for about 30 seconds, never saved to browser storage, and used once; a very large handover (over 200 MB) is refused with a message and you download the file instead.

Combining small workflows into one

On the Recipes and Droplets tabs, Add to canvas adds that workflow's blocks to what is on the canvas without replacing it, so two or three small workflows can be joined into one larger one. Connect the end of one to the start of the next, then save the combined result as a droplet to keep it as a single tile. Inserting loads blocks only: nothing runs, and the combined workflow is checked against the same limits as any other.

Exporting a workflow as an .html file

The .html export of a workflow writes one self-contained page that shows the workflow's name, its steps, the app version and the usage counts. Opening that file in a browser offers to open the workflow in the hub on eeshgarg.com. The workflow travels in the part of the address after the # (/more/workflow#import=<payload>), which browsers never send to a server, and it carries steps only, never files. The hub checks an imported workflow exactly like a .json file and loads it without running anything. The usage counts are kept on this device only and are never sent anywhere; the switch under Counts on this device in Settings turns them off, and Clear local counts empties them.

Hover explainers and related tools

Hover over a button, tab, switch or tool tile (or focus it with the keyboard, or press and hold on a touch screen) and a small tip gives a one-sentence explanation. Esc hides it, and the Hover explainers switch in Settings turns them off. At the bottom of each tool page, a quiet strip of related tools links to the tools that usually come next, with the documentation entry and workflow block for the tool you are on.

Running, progress and results

Add files to the Input files list and press Run workflow. The workflow is validated first; an invalid one never starts, and the problems are listed with their location. While it runs, each block shows its state (waiting, running, done, failed or skipped) with a short message, such as why it was skipped. Results appear under Results, where you can download them. A run in which one branch fails still returns what the other branches produced; the run is then reported as failed. The rules for skipping and partial failure are in Workflow semantics.

Cancelling a run

Cancel is enabled only while a run is in progress. The engine checks for a cancel before each block and after each task, so the current tool stops as soon as it honours the cancel. Blocks that had not started stay waiting, and files already collected at an output block are kept: treat a cancelled result as partial. Cancelling after the last block has finished changes nothing. A cancelled droplet run downloads nothing.

How several files are handled

  • On the canvas, a task block runs once with all the files on its input port. A tool that takes one file fails if it gets several. A text task is the exception: it runs the text operation on each file in turn.
  • An if block tests the whole group of files that reaches it; it does not split the group. To route files one by one, use a separate input block for each kind.
  • Folder Autopilot is different: it runs the workflow on each file on its own, as the file appears.
  • A droplet runs the workflow once on the files you drop. Files of a kind that no input block accepts are not run.

Workflow Recipes

Workflow Recipes lists ready-made workflows, such as Email-ready PDF, Web-ready photos, Share a spreadsheet safely, Archive a project, Redact contact details, Photos to one PDF and Checksums for a delivery. Filter by the kind of file they work on, then open one on the canvas, where you can change any block before running it. A recipe is an ordinary version 2 workflow; opening one runs nothing.

Copy recipe link on a recipe copies an address of the form /more/workflow#recipe=<payload>. The whole workflow is compressed into the part after the #, which browsers do not send to a server, and it carries the steps only, never files. If the browser blocks copying, the link is shown selected so you can copy it yourself. A link is limited to 32,000 characters and to a workflow of 256 KB once expanded. When someone opens a link it is checked exactly like an imported .json file; a damaged, too-long or too-new link is refused with a message and the canvas is left unchanged. A link opened while a run is in progress is not loaded, so the results on screen stay matched to their workflow.

Restoring a workflow without running it

Nothing in the Workflow group runs on its own when you open or restore something. Opening a recipe link, loading a recipe or example and importing a file only fill the canvas, and the page says "Nothing was run". After a link loads, the #recipe= part is removed from the address, so a reload or the Back button does not put the recipe back over later edits. You add your files and press Run. A copy of your workflow is kept in this browser only when you press Save or turn on Remembrance in Settings; otherwise the exported .json file is the copy. Passwords and keys are never kept in a saved workflow.

Droplets

A droplet turns a saved workflow into a tile. Drop files on it, or press it and choose files, and the workflow runs in this browser. One result downloads as that file plus a JSON receipt; several results download as one ZIP with receipt.json inside. A droplet keeps its own copy of the workflow, and tells you when the saved workflow it came from has changed or been deleted. Droplets are kept on this device and are removed in Droplets, not by the clear buttons in Settings. A workflow that needs a password cannot run from a droplet, because the password is never saved; run it from Workflow instead.

Folder Autopilot

Folder Autopilot watches a folder you choose and runs a saved workflow or recipe on each new or changed file, writing the results, a receipt per file and a ledger (autopilot-ledger.json) into a second folder. It needs a browser that lets pages open folders; you grant access to the watched folder and write access to the output folder, and the browser may ask again later. Where folder access is missing, it offers a one-off folder run that returns one ZIP instead.

  • It runs only while the tab is open. Background tabs are slowed by the browser, so checks can come about once a minute while the tab is hidden.
  • A file is run once it has stopped changing (it must look the same on two checks in a row). Partial downloads (.crdownload, .part, .tmp and similar), Office lock files, dotfiles, system files and its own ledger and receipts are ignored.
  • Existing files in the output folder are never overwritten.
  • Each file is processed on this device and never uploaded.

Limits

Limits of the Workflow group
WhatLimit
Workflow file100 blocks, 200 connections, 256 KB of JSON, name up to 120 characters
Canvas: files added per action50 files
Canvas: size of one input file16 MiB
Canvas: text or bytes value in a text step4 million characters, or 16 MiB
Canvas: batch items200
Droplets24 droplets; 50 files per run, 100 MB each and 500 MB in total; a ZIP up to 1 GB
Folder Autopilot: one-off folder run200 files, 100 MB each and 500 MB in total
Folder Autopilot: file size100 MB each
Folder Autopilot: queue500 files waiting
Recipe link32,000 characters; 256 KB once expanded

Tools add their own file rules, described on each tool's page.

API and workflows

To define, validate, import, export or run a workflow from code, see the Workflow API; the exact run rules (ports, branching, errors, cancellation, limits) are in Workflow semantics, the file format is in Data types and file formats, and working code is in Examples and recipes. To run a saved workflow headlessly use the command line.

Works with

Every tool guide ends with a short "Works with" paragraph: PDF tools, Images and OCR, Audio and video, Office editors and Files and data. The block ids used by Add to workflow are the tool ids listed there and in the capability catalog.

Working offline

The production site registers a service worker (/sw.js) with scope /, so it covers every page of eeshgarg.com. It handles only same-origin static files; your files never go through it.

  • Install. On the first online visit the browser stores the app shell: the home page, the main script and style files, and the small script chunk the page needs to render. The cache is named for a hash of the build, and the previous build's caches are deleted when a new version activates.
  • Opening a page offline. A page navigation tries the network first; if that fails, it is answered with the stored shell, and the site then draws the page you asked for. This needs one earlier online visit that has finished installing the worker.
  • Heavy files. Files under /assets/, plus .wasm, OCR language data (.traineddata), fonts and .gz files, are stored the first time they are fetched. A tool whose engine you have not used online yet may not load offline, so open the tools you rely on once while online.
  • Not covered. The embed frame and SDK files (/embed/ and /sdk/) are never answered from the stored shell: offline they fail rather than load the site. Requests with a byte range and requests to other origins are left to the browser.
  • Browsers. Offline use needs a browser with service worker support and an https page. It is not active in development builds.

Sealed Envelope files. A sealed envelope is one .html file that contains its own opener, so the recipient opens it in a browser with no connection, types the password and gets the original files back. It does not depend on this site or its service worker. Sealing happens on your device: the files are packed, encrypted with AES-256-GCM and placed inside the file. The site does not send the envelope; you share it by whatever channel you choose.