Skip to main content

Save the file to a folder

Stepsave-foldersaveside effectsdeprecated

At a glance​

PropertyValue
Step namesave-folder
ResourceClusterStep (lumen.ai/v1alpha1)
Palette group, categorysave, files
Credits1 credit each time it succeeds
Side effectsyes It changes something outside Lumen, so a retry asks first and a test shows what it would do instead of doing it.
Installation must providenothing

Inputs​

PropertyValue
Needsfile
Producesnothing
Works onitem one document at a time

Needs and Produces are data types (file, text, fields, email). The editor offers a step only where what it needs is already on the path. See Documents and data.

Outputs​

No named outputs. Later nodes still see everything produced earlier on the path, and this step passes the documents on unchanged.

Settings​

This step takes no settings.

Use it in a flow​

A node that runs save-folder goes under spec.nodes of a Flow. Give it any id, and list the next node ids in next.

flow.yaml
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
name: save-folder-example
namespace: tenant-acme
spec:
displayName: "Save the file to a folder"
triggers:
- id: start
ref: {name: manual-run}
next: [save-folder]
nodes:
- id: save-folder
stepRef: {name: save-folder}