Forward the email
Step
forward-emailnotifyside effectsForwards the email that started the run, with its attachments, to someone else. You can add a note above it.
At a glance
| Property | Value |
|---|---|
| Step name | forward-email |
| Resource | ClusterStep (lumen.ai/v1alpha1) |
| Palette group, category | notify, messages |
| Credits | 1 credit each time it succeeds |
| Side effects | yes It changes something outside Lumen, so a retry asks first and a test shows what it would do instead of doing it. |
| Installation must provide | mail |
Inputs
| Property | Value |
|---|---|
| Needs | email |
| Produces | nothing |
| 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
Set under config: on the flow node. Text settings may contain {nodeId.field} placeholders.
| Setting | Type | Default | Description |
|---|---|---|---|
torequired | string | - | Forward tominLength 3 |
note | string | - | Note is written above the forwarded message.maxLength 4000 |
The full JSON Schema of these settings: forward-email.schema.json.
Example
Pass a quote request to sales
config
note: Please prepare a quote for this customer.
to: sales@yourcompany.co.il
Use it in a flow
A node that runs forward-email 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: Connector
metadata:
name: my-email-forward
namespace: tenant-acme
spec:
classRef: {name: email-forward}
config: {}
---
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
name: forward-email-example
namespace: tenant-acme
spec:
displayName: "Forward the email"
triggers:
- id: start
ref: {name: email-arrives}
connectorRef: {name: my-email-forward}
next: [forward-email]
nodes:
- id: forward-email
stepRef: {name: forward-email}
config:
note: Please prepare a quote for this customer.
to: sales@yourcompany.co.il
Was this page helpful?