Skip to main content

Read a scan or photo

Stepread-scanaideprecated

At a glance​

PropertyValue
Step nameread-scan
ResourceClusterStep (lumen.ai/v1alpha1)
Palette group, categoryai, ai
Credits5 credits each time it succeeds
Side effectsno
Installation must providenothing

Inputs​

PropertyValue
Needsfile
Producestext, fields
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​

A later node references an output as {nodeId.field} in text, or nodeId.field in a condition.

OutputType
textstring

Settings​

This step takes no settings.

Use it in a flow​

A node that runs read-scan 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: read-scan-example
namespace: tenant-acme
spec:
displayName: "Read a scan or photo"
triggers:
- id: start
ref: {name: manual-run}
next: [read-scan]
nodes:
- id: read-scan
stepRef: {name: read-scan}