Skip to main content

Keep only the PDFs

Stepkeep-pdfsfilesdeprecated

At a glance​

PropertyValue
Step namekeep-pdfs
ResourceClusterStep (lumen.ai/v1alpha1)
Palette group, categoryfiles, files
Credits1 credit each time it succeeds
Side effectsno
Installation must providenothing

Inputs​

PropertyValue
Needsfile
Producesfile
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 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}