dreaMake.dev
S3Flow · Documentation
Deutsch · English
Contents

Workflows and the node editor

Note: The keyboard shortcuts are preliminary. The F1 key in the editor does not show all shortcuts. Ctrl+N, Ctrl+O, Ctrl+S, Ctrl+Shift+S, and Ctrl+Enter are missing there. The full list is in the appendix “Appendix: keyboard shortcuts”.

A workflow describes in a graph what S3Flow should do with objects. You build it from nodes in the Workflows tab.

Concept

A node is a step, for example List or Copy. A connection is a line from an output to an input. Data flows from left to right. An output is on the right of a node. An input is on the left.

There are two kinds of data. Each has its own socket:

Socket Shape Content
objects Circle Objects in S3 storage
files Diamond Files on your computer

The input of Merge has the shape of a pill. It accepts several connections.

Each object in the flow carries a relative path. List builds it from the key without the Prefix of the node. Example: key reports/2026/jan.csv and Prefix reports/ give the relative path 2026/jan.csv. This path matters:

The editor has these parts:

The workflow lives in a .json file. It contains no profiles and no credentials. When you run it, S3Flow uses the active profile. Press Ctrl+Shift+W to switch to the Workflows tab.

File actions are in the File menu: New (Ctrl+N), Open… (Ctrl+O), Save (Ctrl+S), Save as… (Ctrl+Shift+S). With unsaved changes, S3Flow asks before New, Open… and before it quits: Discard unsaved changes?.

Canvas

The canvas is unlimited. It has no scroll bars. A grid helps you to align nodes.

Single keys such as M, X or A work only when the canvas has focus. In text fields they only type text.

Zoom

Pan

Fit view

Select

Move and grid

Without nodes, the canvas shows the hint Press Shift+A to add your first node.

Add nodes

  1. Click the canvas.
  2. Press Shift+A. Or click Add node (Shift+A). Or right-click the empty canvas and choose Add node. Or choose Node ▸ Add node….
  3. Choose the node in the menu, or type part of the name in Search nodes… and press Enter. Enter picks the first match.

The menu has three groups. Behind each name you see the sockets of the node, for example Filter objects → objects:

The new node appears in the middle of the visible area. After a right-click it appears at that spot. It is selected. New nodes lie on top of each other if you add them at the same spot. Drag them apart.

A connection is faster: drag from an output or input into the empty canvas. The same menu opens. It offers only nodes that fit. S3Flow creates the node there and connects it.

You can drag a node onto an existing connection. The connection turns yellow. When you release, S3Flow inserts the node into the connection. This works only if the sockets fit.

More actions for nodes:

Node reference

The Inspector shows the settings of a node. Each node has a title. At first it is the same as the type.

Node Input Output Settings Mute?
List none objects Bucket, Prefix no
Upload files (optional) objects Bucket, Prefix, Files no
Filter objects objects Pattern yes
Merge objects (at least 2) objects none no
Copy objects objects (the copies) Bucket, Prefix yes
Move objects objects (at the target) Bucket, Prefix yes
Download objects files Folder no
Delete objects none none no

List

Upload

Filter

Merge

Copy

Move

Download

Delete

Connect nodes

  1. Drag from the output of one node to the input of another node.
  2. Release the mouse button.

You can also release on the node itself. This works only if its input is free. While you drag, fitting nodes show a ring at the socket. Nodes that do not fit fade.

Rules:

If a connection does not fit, the line jumps back. The socket blinks once. The status bar names the reason for four seconds:

Message Meaning
Types don't match: files can't connect to objects. The sockets have different types.
This would create a loop. Workflows can't loop back. The connection would form a loop.
An output can't connect to another output. You connected two outputs.
An input can't connect to another input. You connected two inputs.
Input already connected. Drop to replace it. The input is taken. If you release on the socket, the new connection replaces the old one.
Use a Merge node to join several branches. You tried to add a second connection to a taken input. Use Merge.
Delete has no output. Delete has no output.
Merge only joins objects. Merge accepts only objects.

To change or remove connections:

Branch

Connect one output to several inputs. Then each branch gets the same list of objects.

Example: List leads to two Filter nodes. The first keeps *.jpg, the second *.png.

Two branches must not change the same places. S3Flow checks this when it plans. Two branches that only read the same objects are allowed. These are not allowed:

S3Flow then shows a conflict, for example Branches conflict at my-bucket/a.csv: 'Copy' and 'Delete' both use it ('Copy': reads; 'Delete': deletes). Make their object sets distinct, or run them separately. Both nodes are marked. There is no automatic order. Split the workflow into two runs. See Limits.

Merge branches with Merge

Merge joins two or more branches into one list of objects. It is the only way to lead several branches into one input.

  1. Add a Merge node.
  2. Connect at least two outputs to its input.

Order. Merge joins the inputs in a fixed order. New connections go to the end. Small numbers at the ends of the connections show the order (1, 2, …). Select the Merge node to see the list Inputs (in order) in the Inspector. Select a row and click Move up or Move down. Moving nodes or lines does not change the order.

Duplicates. Merge keeps the same object (same bucket, same key, same relative path) only once.

Conflicts. Merge reports an error and stops the plan if:

Merge with fewer than two inputs is an error: Merge needs at least 2 inputs. You cannot mute Merge.

Mute

A muted node does nothing. It passes its input objects on unchanged (bypass).

  1. Select one or more nodes.
  2. Press M. Or click Mute (M). Or choose Edit ▸ Mute.

You can mute only Filter, Copy and Move. For all other nodes the action is off. The tooltip says: Only Filter, Copy and Move can be muted. With a mixed selection, M acts only on the nodes that fit. The status bar reports, for example, 2 nodes can't be muted. Press M again to unmute.

A muted node has a dashed border and a symbol in its header. The run plan before the run names it Bypassed.

Warning: A muted Filter no longer filters. Later nodes then receive more objects. This can overwrite or delete more objects.

Safety rule: If a muted node reaches an active Move or Delete along its path, the whole workflow cannot run. You see: A bypassed node feeds Move or Delete. Enable it or disconnect this path. The muted node, the Move or Delete, and the lines in between are marked. Switch the node on again, or disconnect the path. No confirmation can bypass this.

Frames

A frame groups nodes visually. It does not change the run.

  1. Select the nodes.
  2. Press Ctrl+J. Or click Frame (Ctrl+J). Or choose Node ▸ Frame selected.

More actions:

Inspector

The Inspector is on the right. It shows the settings of the selected node. If nothing is selected, it says Select a node to edit its settings.

Press Enter on the canvas to jump to the Inspector. F6 switches between the areas. While planning or a run is active, the Inspector is locked.

The nodes themselves show only a short info line, for example my-bucket · reports/.

Check before a run

S3Flow checks the workflow in two stages.

Stage 1: errors in the editor. S3Flow checks at once, without access to the storage.

An incomplete draft cannot run. S3Flow never skips a node silently. A node without an input reports Input 'objects' isn't connected.

Common messages:

Message What to do
Input 'objects' isn't connected. Connect the input.
Merge needs at least 2 inputs. Connect at least two branches.
Choose a bucket. Enter Bucket.
Bucket names can't contain '/'. Remove the / from Bucket.
Prefix must be relative and end with /. Do not start with /. End with /.
Required setting missing: Pattern. Enter Pattern. The same applies to Folder and Files.
Target folder must be a full path. Enter a full path in Folder.
Upload files must exist and use full paths. Check the paths in Files.
Source file names collide. Give the files different names.
Remove the file list or disconnect the input. Upload takes a file list or a connection, not both.
Use a Merge node to join several branches. Join several branches with Merge.
Target overlaps the source. Choose a Prefix that is not inside the source (and the other way round).
List has no input. Remove the connection at the input of List.

Stage 2: planning. Click Run… (or press Ctrl+Enter). S3Flow plans first. It reads the listings and checks the objects. It changes nothing.

Run… is on only if a profile is active and the Explorer is idle. Otherwise the tooltip says: Requires an active profile and idle Explorer.

Rights of the profile. The active profile needs read access to sources and targets (GetObject or HEAD) and ListBucket. S3Flow rejects write-only profiles with a visible error. More in the installation guide.

Confirmation. After planning, S3Flow shows the Run workflow? dialog. It is the run plan. The dialog shows:

  1. A summary, for example 2 parts · 5 nodes · 1,240 objects · 12 possible overwrites · 120 deletions. A part is a graph that is not connected to any other. All parts are in one dialog.
  2. From 10,000 objects, the note Large plan: 12,400 objects.
  3. A list of the steps in run order, grouped as Part 1, Part 2, … Each row names the node, the number of objects, and source and target. Example: Copy "copy-jpg" — copies 800 objects: bucket-a/photos/ → bucket-b/images/.
  4. In the column Notes, notes with a symbol: May overwrite 12, Deletes 120, Bypassed.
  5. The note: If a step fails or you stop the run, completed changes stay. Nothing is rolled back. Transfers can end with partial results.
  6. The button Show all objects…. It opens the All objects window with all objects, a search field and the columns Node, Action, Source, Target and May overwrite.
  7. The buttons Cancel and Run workflow. If the plan contains deletions, the second button reads Run and delete 120 objects.

Cancel is the default. Enter does not start the run. You must click Run workflow.

May overwrite means: An object with this key already exists at the target. The run overwrites it.

Run, stop, log and errors

After the confirmation, the run begins.

Stop. Click Stop or press Ctrl+Enter. S3Flow stops the transfer that runs and starts no more. The status line shows Stopping…. Nodes that did not start get Skipped: the run was stopped.

Errors. The first error stops the whole run, also independent branches. Exception: Python file errors skip only the affected file; see Python node help. Nodes that did not start get Skipped: an earlier node failed. For an S3 error, a dialog opens with code, bucket, key and request ID. The same details are in the log.

If a source or target changed since the planning, the run stops with A source changed since the plan was made. Run again to make a new plan. Start again. S3Flow then plans once more.

On error and on cancel, the log says: Changes already completed remain.

Save the log. Click Export log…. S3Flow writes all events to a .jsonl file (JSON Lines). Clear log empties the log. Both buttons are off during a run.

While a workflow runs, you cannot close the window and you cannot manage profiles. You see A workflow is running. Stop it first.

Limits

Old chain workflows

Workflows from Beta 1 are chains (schema 1). The editor can open them.

  1. Choose File ▸ Open….
  2. Choose the old .json file.
  3. Read the bar at the top: This workflow uses the old format (schema 1). It was converted in memory. The file on disk is unchanged.

S3Flow converts the file only in memory. The file on disk stays as it is. The nodes stand in a row from left to right. They are connected as a chain. The title is the type name. The settings stay. There are no frames. Nothing is muted. An incomplete old chain stays a draft with marked errors.

To save:

  1. Click Save as… in the bar. Or choose File ▸ Save as….
  2. Choose a new file name.

S3Flow never overwrites the original. If you choose the name of the original, you see: Choose a new filename. The Beta 1 original must remain unchanged. The log export also does not overwrite an original.

S3Flow does not create a backup. The original stays as the backup.

The new file has schema 2. Older versions of S3Flow cannot open it. If you open a file from a newer version, you see: This workflow was made with a newer version of S3Flow (schema 3). Update S3Flow to open it.

If S3Flow cannot open a file, it shows the dialog This workflow can't be opened. with the reason, for example The file isn't valid JSON. or The file is larger than 20 MiB.

Examples

Branch by file type

Goal: copy JPG files to jpg/ and PNG files to png/.

  1. Add List. Set Bucket photos and Prefix incoming/.
  2. Drag from the output into the empty canvas. Choose Modify ▸ Filter. Set Pattern *.jpg.
  3. Drag from the output of the Filter into the empty canvas. Choose Target ▸ Copy. Set Bucket photos and Prefix jpg/.
  4. Drag from the output of List into the empty canvas once more. Choose Modify ▸ Filter. Set Pattern *.png.
  5. Attach a second Copy. Set Bucket photos and Prefix png/.
  6. Click Run…. Check the plan. Click Run workflow.

Both branches read the same objects. This is allowed. They write to different places.

Merge two prefixes

Goal: download reports from reports/2025/ and reports/2026/ into a local folder.

  1. Add two List nodes. Set Bucket data. Set Prefix reports/2025/ and reports/2026/.
  2. Add a Merge node. Connect both List nodes to it.
  3. Add a Filter with Pattern *.csv after Merge.
  4. Add a Download node after it. Set Folder to a full path, for example /home/anna/export.
  5. Click Run…. Check the plan. Click Run workflow.

The files land directly in /home/anna/export, because the relative path does not contain the Prefix. If a file has the same name in both prefixes, for example summary.csv, Merge reports a conflict: Different sources map to the same target path summary.csv. Then give the files different names, or use two runs with two folders.

Python code in workflows

The Python node processes files with your own code. Python node help explains the function, test, templates, limits and safety. Python file errors are an exception to the “first error stops the run” rule: the affected file is skipped; other files continue to be processed.