Read a scan or photo
Step
read-scanaideprecatedAt a glance
| Property | Value |
|---|---|
| Step name | read-scan |
| Resource | ClusterStep (lumen.ai/v1alpha1) |
| Palette group, category | ai, ai |
| Credits | 5 credits each time it succeeds |
| Side effects | no |
| Installation must provide | nothing |
Inputs
| Property | Value |
|---|---|
| Needs | file |
| Produces | text, fields |
| 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
A later node references an output as {nodeId.field} in text, or nodeId.field in a condition.
| Output | Type |
|---|---|
text | string |
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}
Was this page helpful?