Start free

Workflows

Sort photos into Library folders with a workflow

Have each photo cut out and saved in its Library folder, T-shirts, Hats or Shorts, by a workflow whose AI router picks the route.

The example uses four photos: a black T-shirt, a woman in a straw hat, a woman in red shorts, and some bananas, which should be left out.

Start from scratch

  1. Open Workflows, choose New workflow, name it “Sort clothes” and choose Start from scratch.

  2. Choose the empty Add a step between Images and Save; until then, the canvas shows 1 issue.

  3. Choose Logic → AI router. It sends each photo down the route that fits it best.

Name the routes

Rename the two routes, add two with Add route, and describe each:

RouteDescription
T-shirtsA T-shirt on its own, not worn by a person
HatsHats and caps
ShortsShorts, worn or on their own, even with a top
OtherPhotos that show none of these

The router always picks the closest route, so Other catches the rest. Before this can run lists each route that leads nowhere yet.

Give each route its steps

Hats first:

  1. Drag from the Hats route's dot at the bottom of the router to empty canvas, and choose AI → Cutout.

  2. Set What to cut out to:

    the hat

  3. Drag from the Cutout's bottom dot to empty canvas, and choose Output → Save.

  4. In Save, choose Also save to → Library → Hats, or New folder to make it. Results also stay in Results.

Then the other routes:

  • T-shirts and Shorts: the same steps, cutting out “the T-shirt” or “the shorts” and saving to their folders.
  • Other: drag from its dot and choose Output → Discard. Its photos end without a result.

Delete the empty Save the workflow started with. When every route ends in Save or Discard, the canvas shows Ready to run.

Run it

Open Results and add the four photos with Browse files. Show by image, at the top right, shows three cutouts, and the bananas with No result, because Other ends in Discard.

Each cutout is also in its Library folder.

Each photo uses 1 credit for the router, plus its Cutout's (How credits work).

Common mistakes

Describing two routes so a photo fits both. If T-shirts says only “T-shirts and other short-sleeved tops”, a woman in shorts and a top can land there. Say what decides it, as above, then run that photo again, and delete the wrong copy from its folder yourself.

Was this article helpful?