Keep only the PDFs
Step
keep-pdfsfilesdeprecatedAt a glance
| Property | Value |
|---|---|
| Step name | keep-pdfs |
| Resource | ClusterStep (lumen.ai/v1alpha1) |
| Palette group, category | files, files |
| Credits | 1 credit each time it succeeds |
| Side effects | no |
| Installation must provide | nothing |
Inputs
| Property | Value |
|---|---|
| Needs | file |
| Produces | file |
| 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 keep-pdfs 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: keep-pdfs-example
namespace: tenant-acme
spec:
displayName: "Keep only the PDFs"
triggers:
- id: start
ref: {name: manual-run}
next: [keep-pdfs]
nodes:
- id: keep-pdfs
stepRef: {name: keep-pdfs}
Was this page helpful?