Save the file to a folder
Step
save-foldersaveside effectsdeprecatedAt a glance
| Property | Value |
|---|---|
| Step name | save-folder |
| Resource | ClusterStep (lumen.ai/v1alpha1) |
| Palette group, category | save, files |
| Credits | 1 credit each time it succeeds |
| Side effects | yes It changes something outside Lumen, so a retry asks first and a test shows what it would do instead of doing it. |
| Installation must provide | nothing |
Inputs
| Property | Value |
|---|---|
| Needs | file |
| Produces | nothing |
| Works on | item 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}
Was this page helpful?