Workflows and the node editor
Note: The keyboard shortcuts are preliminary. The
F1key in the editor does not show all shortcuts.Ctrl+N,Ctrl+O,Ctrl+S,Ctrl+Shift+S, andCtrl+Enterare 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:
Filterchecks the relative path.CopyandMovebuild the new key from the targetPrefixand the relative path.Downloadwrites the file underFolderand the relative path.
The editor has these parts:
- At the top, the line
Profile: <name>and the bar with the menusFile,Edit,ViewandNode. - Below it, the buttons
Run…,Add node (Shift+A),Fit view (Home),Mute (M),Frame (Ctrl+J), the zoom display (for example100 %) and?. On the right is the file name, with*for unsaved changes. - In the middle, the canvas.
- On the right, the Inspector.
- At the bottom, the
Problemslist (only when there are errors) and the log with the columnsNode,StatusandDetail. - At the very bottom, the status line of the editor with the error count, the status,
Export log…andClear log. - On the left, the
Node list. It is off by default. It is on when a screen reader runs. Switch it withView ▸ Node list.
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
- Turn the mouse wheel. The zoom aims at the mouse pointer.
- Or press
Ctrl++,Ctrl+-orCtrl+0(100 %). - The zoom range is 10 % to 400 %.
- A click on the zoom display resets to 100 %.
Pan
- Drag with the middle mouse button.
- Or hold
Spaceand drag. - Or press
Ctrl+Arrow keys(100 px per press). - Or hold
Shiftand turn the mouse wheel (horizontal).
Fit view
- Press
Home, clickFit view (Home)or chooseView ▸ Fit view. - Use
Numpad .orView ▸ Frame selectionto show only the selection. - When you open a file, S3Flow shows everything automatically.
Select
- Click a node.
- Hold
Shiftand click to add nodes to the selection. - Drag a rectangle on the empty canvas.
AorCtrl+Aselects all.Ctrl+Shift+Aclears the selection.TabandShift+Tabjump to the next or previous node.
Move and grid
- Drag nodes with the mouse. Or use the arrow keys (20 px) and
Shift+ arrow keys (100 px). - Nodes snap to a grid of 20 px. Switch this off with
View ▸ Snap to grid. HoldAltwhen you release to place a node freely once. - You can undo up to 100 steps with
Ctrl+Zand redo them withCtrl+Shift+Z. Esccancels a mouse action in progress.
Without nodes, the canvas shows the hint Press Shift+A to add your first node.
Add nodes
- Click the canvas.
- Press
Shift+A. Or clickAdd node (Shift+A). Or right-click the empty canvas and chooseAdd node. Or chooseNode ▸ Add node…. - Choose the node in the menu, or type part of the name in
Search nodes…and pressEnter.Enterpicks the first match.
The menu has three groups. Behind each name you see the sockets of the node, for example Filter objects → objects:
Source:List,UploadModify:Filter,Merge,Pythonand the file nodes from File nodes: process filesTarget:Copy,Move,Download,Delete
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:
- Rename:
F2or double-click the header of the node. A title has at most 256 characters. - Duplicate:
Ctrl+D. - Copy, cut, paste:
Ctrl+C,Ctrl+X,Ctrl+V. - Delete:
XorDel.
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
- Lists all objects whose key starts with the
Prefix. This includes subfolders. Prefixis empty or ends with/. It does not start with/.- With more than 100,000 objects, planning stops. There is no partial run. See Limits.
Upload
- Uploads local files to the bucket. The key is
Prefixplus the file name. - Either enter full paths in
Files, one per line, and clickApply file list. Or connect the output of aDownloadnode to the inputfiles. You cannot do both. - The files must exist. The paths must be full paths. File names must not repeat.
- An existing object with the same key is overwritten.
Filter
- Keeps only objects whose relative path matches
Pattern. The default is*.csv. *stands for any characters, also/.?stands for one character.[abc]stands for one of several characters.- Case matters.
*.jpgdoes not findPhoto.JPG.
Merge
- Joins several inputs into one list. See Merge branches with Merge.
Copy
- Copies each object to the
BucketandPrefixof the node. The new key is thePrefixplus the relative path. - The source stays. The output delivers the copies. So a
DeleteafterCopydeletes the copies. - An object at the target with the same key is overwritten.
- S3Flow uses the encryption setting for the profile that runs the operation and the target bucket. See Chapter 4.
Move
- Copies all objects of the node to the target. Then it deletes the sources.
Movecan take a long time when there are many objects. S3Flow processes the objects one after another: one copy and one delete per object. It reads the required object metadata from a listing, not via individual requests. Exception: in very full prefixes, S3Flow requests each object individually.
Download
- Saves the objects in
Folder.Folderis a full path on your computer. - The file lies under
Folderand the relative path. S3Flow creates missing subfolders. - An existing file at the target is overwritten.
- S3Flow rejects unsafe paths, for example with
...
Delete
- Deletes the objects that arrive at the input. It sends one request per object.
Deletehas no output.
Connect nodes
- Drag from the output of one node to the input of another node.
- 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:
- An input accepts exactly one connection. Only
Mergeaccepts several. - An output can lead to any number of inputs.
objectsfits onlyobjects.filesfits onlyfiles.- A workflow must not contain a loop.
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:
- Drag the end of a connection to another socket. If you release it on the empty canvas, S3Flow deletes the connection.
- Select a connection and press
Del. Or chooseDelete connectionin the context menu. - Hold
Ctrland drag with the right mouse button across connections (knife). They are deleted. - Select a node and choose
Edit ▸ Disconnect all. This removes all its connections. - Without a mouse: select a node and press
Ctrl+L(Connect to…). Then choose the target in the list.
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:
- Two branches write to the same place.
- One branch reads an object that another branch deletes or overwrites.
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.
- Add a
Mergenode. - 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:
- the same key arrives with different relative paths. Message:
Merge conflict at <bucket>/<key>: it arrives with different relative paths (…). - two different objects have the same relative path. Message:
Different sources map to the same target path <path>.
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).
- Select one or more nodes.
- Press
M. Or clickMute (M). Or chooseEdit ▸ 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.
- Select the nodes.
- Press
Ctrl+J. Or clickFrame (Ctrl+J). Or chooseNode ▸ Frame selected.
More actions:
- Move the frame. Exactly its members move with it. A node that only lies over the frame is not a member.
- Drag the corners to resize. This does not change the members.
- Choose
Node ▸ Add to frameto assign selected nodes to a frame. A node belongs to at most one frame. The status bar reports a change:Moved to frame '<title>'. - Choose
Node ▸ Remove from frameto take nodes out. - Select a frame. Its members show a dotted border.
- In the Inspector you change
TitleandColorof the frame. The colors areNeutral,Blue,Yellow,GreenandRed.
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.
Titleis the name of the node.Frameshows the frame of the node, orNone.- Below are the settings of the type (see Node reference).
- A change applies when you press
Enteror leave the field. - For
Upload,Filesis a multi-line field. ClickApply file listto accept the list. - For
Merge, the Inspector shows the listInputs (in order)withMove upandMove down.
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.
- A node with an error has a red border and a symbol in its header. The tooltip gives the reason.
- A faulty connection is dashed red.
- At the bottom, the
Problemslist shows all messages. A click selects the nodes involved. - The status line of the editor shows the count, for example
2 errors. A click on it jumps to the next error.F8does the same. Run…is off. The tooltip says:Fix 2 errors to run.- If there is no
ListorUploadnode, the tooltip says:Add a List or Upload node to start. - When you open a file with invalid connections, a bar at the top says:
3 connections are invalid. Fix them to run this workflow.
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.
- The status line shows
Planning… 1,240 objects read. An indicator turns next to it. - The editor is locked. You see the tooltip
Planning… Stop to edit. - Click
Stopto cancel the planning. The status then saysPlanning stopped. Nothing was changed. - If S3Flow finds a problem, no dialog appears. The nodes involved are marked, and
Problemsgives the reason. Examples: a conflict between branches,A planned source no longer exists: …, orThis plan has more than 100,000 objects. Narrow a filter or split the workflow.
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:
- 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. - From 10,000 objects, the note
Large plan: 12,400 objects. - 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/. - In the column
Notes, notes with a symbol:May overwrite 12,Deletes 120,Bypassed. - The note:
If a step fails or you stop the run, completed changes stay. Nothing is rolled back. Transfers can end with partial results. - The button
Show all objects…. It opens theAll objectswindow with all objects, a search field and the columnsNode,Action,Source,TargetandMay overwrite. - The buttons
CancelandRun workflow. If the plan contains deletions, the second button readsRun 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.
Run…now readsStop. The editor is locked.- Each node shows its status:
Pending,Running,Succeeded,Failed,CancelledorSkipped. - The log at the bottom has one row per event with
Node,StatusandDetail. A click on a row selects the node. The log shows the last 5,000 rows. - The status line shows the state. At the end it says
Completed,FailedorCancelled. - The nodes run one after the other, not at the same time.
- A muted node reports
Bypassed (muted): passed … objects through.
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
No rollback. S3Flow undoes nothing. On error or stop, finished copies, uploads, downloads and deletions stay.
The first error stops the run. Also branches that have nothing to do with it. Exception: Python file errors skip only the affected file; see Python node help.
No automatic retry. S3Flow does not repeat a failed action.
A plan is not a transaction. Before each change, S3Flow compares sources and targets with the state at planning time (size, version, ETag). But it cannot rule out that something changes between the check and the access.
Overwriting without a question per object. The
Run workflow?dialog names the possible overwrites. After that, S3Flow no longer asks for each object.Copy, then delete the source: two runs. A
DeleteafterCopydeletes the copies, not the source. Parallel branchesCopyandDeleteon the same source are a conflict. Do this:- Build
List→Copy. Run it. - Change the workflow to
List→Delete. Run it.
Or use
Move.Movecopies and then deletes in one node.- Build
Movecan take a long time.Moveprocesses the objects one after the other. With very many objects this takes a long time (minutes). Object metadata comes from a listing, not from individual requests. Exception: in very full prefixes, S3Flow requests each object individually.Size. A plan may contain at most 100,000 distinct objects or files. Copies count extra. Example:
Listwith 3,Filterwith 2,Copywith 2 gives 3 sources and 2 copies, so 5 objects. With more than 100,000 objects, planning stops. There is no partial run. S3Flow showsThis plan has more than 100,000 objects. Narrow a filter or split the workflow.File. A workflow file has at most 20 MiB, 1,000 nodes, 4,000 connections and 200 frames.
One run at a time. The run uses the same slot as Explorer actions. While a transfer runs there,
Run…is off.One profile. A run uses the active profile. If it changes, S3Flow discards the plan.
Old chain workflows
Workflows from Beta 1 are chains (schema 1). The editor can open them.
- Choose
File ▸ Open…. - Choose the old
.jsonfile. - 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:
- Click
Save as…in the bar. Or chooseFile ▸ Save as…. - 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/.
- Add
List. SetBucketphotosandPrefixincoming/. - Drag from the output into the empty canvas. Choose
Modify ▸ Filter. SetPattern*.jpg. - Drag from the output of the
Filterinto the empty canvas. ChooseTarget ▸ Copy. SetBucketphotosandPrefixjpg/. - Drag from the output of
Listinto the empty canvas once more. ChooseModify ▸ Filter. SetPattern*.png. - Attach a second
Copy. SetBucketphotosandPrefixpng/. - Click
Run…. Check the plan. ClickRun 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.
- Add two
Listnodes. SetBucketdata. SetPrefixreports/2025/andreports/2026/. - Add a
Mergenode. Connect bothListnodes to it. - Add a
FilterwithPattern*.csvafterMerge. - Add a
Downloadnode after it. SetFolderto a full path, for example/home/anna/export. - Click
Run…. Check the plan. ClickRun 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.