Output operators
PublicThe Output family contains 5 operators. Terminal nodes: return, persist, notify, export, preview.
Operators in this family
Section titled “Operators in this family”output.export
Section titled “output.export”Exports output as a downloadable file.
Version 1.0.0 · Semantics side_effect
Config
Section titled “Config”| Field | Type | Required | Default | Description |
|---|---|---|---|---|
filename | string | no | — | |
format | ”json” | “csv” | “pdf” | “text” | yes | "json" |
Input ports
Section titled “Input ports”| Port | Type | Required | Description |
|---|---|---|---|
input | any | yes | Input |
Output ports
Section titled “Output ports”| Port | Type | Required | Description |
|---|---|---|---|
artifact | object | no | Artifact |
output.notify
Section titled “output.notify”Sends a notification via email, Slack, webhook, etc.
Version 1.0.0 · Semantics side_effect
Config
Section titled “Config”| Field | Type | Required | Default | Description |
|---|---|---|---|---|
channel | ”email” | “slack” | “webhook” | yes | "webhook" | |
subject | string | no | — | |
target | string | yes | — | Recipient address or webhook URL. |
Input ports
Section titled “Input ports”| Port | Type | Required | Description |
|---|---|---|---|
input | any | yes | Input |
Output ports
Section titled “Output ports”No output ports.
output.persist
Section titled “output.persist”Writes output data to a persistent store.
Version 1.0.0 · Semantics side_effect
Config
Section titled “Config”| Field | Type | Required | Default | Description |
|---|---|---|---|---|
destination | ”s3” | “database” | “webhook” | yes | "s3" | |
path | string | no | — |
Input ports
Section titled “Input ports”| Port | Type | Required | Description |
|---|---|---|---|
input | any | yes | Input |
Output ports
Section titled “Output ports”| Port | Type | Required | Description |
|---|---|---|---|
output | any | no | Output |
output.preview
Section titled “output.preview”Displays output in the run console for debugging.
Version 1.0.0 · Semantics side_effect
Config
Section titled “Config”| Field | Type | Required | Default | Description |
|---|---|---|---|---|
format | ”auto” | “json” | “text” | “markdown” | “table” | no | "auto" |
Input ports
Section titled “Input ports”| Port | Type | Required | Description |
|---|---|---|---|
input | any | yes | Input |
Output ports
Section titled “Output ports”No output ports.
output.return
Section titled “output.return”Returns the final workflow output.
Version 1.0.0 · Semantics side_effect
Config
Section titled “Config”| Field | Type | Required | Default | Description |
|---|---|---|---|---|
format | ”json” | “text” | no | "json" |
Input ports
Section titled “Input ports”| Port | Type | Required | Description |
|---|---|---|---|
input | any | yes | Input |
Output ports
Section titled “Output ports”No output ports.
Source schemas
Section titled “Source schemas”Every operator above is rendered from its JSON schema in /opt/glyph/schemas/operators/:
schemas/operators/output.export.jsonschemas/operators/output.notify.jsonschemas/operators/output.persist.jsonschemas/operators/output.preview.jsonschemas/operators/output.return.json