Zum Hauptinhalt springen

Send it to me by email

Schrittsend-emailnotifyexterne Wirkung

Emails the result with the files attached, as one email to one person or several, with CC and BCC when needed. The subject and the message can use the details found, and a date can take a layout, such as {email.receivedAt:MM/yyyy} for 10/2026.

Auf einen Blick​

EigenschaftWert
Schrittnamesend-email
RessourceClusterStep (lumen.ai/v1alpha1)
Palettengruppe, Kategorienotify, messages
Credits1 Credit bei jedem Erfolg
Externe Wirkungja Er ändert etwas außerhalb von Lumen, deshalb fragt ein Wiederholungsversuch vorher nach, und ein Test zeigt, was er tun würde, statt es zu tun.
Die Installation muss bereitstellenmail

Eingaben​

EigenschaftWert
Brauchtfile
Liefertnichts
Arbeitet aufitem einem Dokument nach dem anderen

Braucht und Liefert sind Datentypen (file, text, fields, email). Der Editor bietet einen Schritt nur dort an, wo das, was er braucht, schon auf dem Pfad liegt. Siehe Dokumente und Daten.

Ausgaben​

Keine benannten Ausgaben. Spätere Knoten sehen weiterhin alles, was auf dem Pfad zuvor entstanden ist, und dieser Schritt reicht die Dokumente unverändert weiter.

Einstellungen​

Wird unter config: im Knoten des Flows gesetzt. Texteinstellungen dürfen Platzhalter wie {nodeId.field} enthalten.

EinstellungTypStandardwertBeschreibung
toerforderlichtext or list-Send tominLength 3; maxLength 2000; minItems 1; maxItems 20
cctext or list-Cc are copied in, seen by everyone.maxLength 2000; maxItems 20
bcctext or list-Bcc are copied in unseen: the mail server is told, the headers are not.maxLength 2000; maxItems 20
subjectstring-A custom subject starts a new conversation in Gmail, apart from the email that started the run. Leave it empty to reply in that conversation. A date can be written with a layout: {mail.receivedAt:MM/yyyy} gives 10/2026. Layouts use yyyy, yy, MM and dd, and MMM for the month name in English (Oct).maxLength 200
bodystring-A date can be written with a layout: {mail.receivedAt:MM/yyyy} gives 10/2026. Layouts use yyyy, yy, MM and dd, and MMM for the month name in English (Oct).maxLength 4000
attachbooleantrueAttach the run's files; unset is true.
formatstring"plain"Format is how the email looks. branded is Lumen's designed email: a title, an intro, sections, a button and a footer; the Message may then be Markdown. plain, which a step with no format also is, is the message as lines of text.one of plain, branded
titlestring-Title is the large heading of a branded email.maxLength 200
introstring-Intro is a short paragraph under the title.maxLength 1000
sectionslist of object-Sections are headed blocks of a branded email: a paragraph (text), a list (bullets) or label and value lines (details). With none, the Message is read as Markdown into sections.maxItems 30
sections[].headingstring-
sections[].textstring-
sections[].bulletslist of string-
sections[].detailslist of object-
sections[].details[].labelerforderlichstring-
sections[].details[].valueerforderlichstring-
buttonobject-Button is the one primary action of a branded email.
button.texterforderlichstring-
button.urlerforderlichstring-
fromstring-The name of a Microsoft 365 connection. Empty sends from Lumen's address.maxLength 63

Das vollständige JSON Schema dieser Einstellungen: send-email.schema.json.

Beispiel​

config
body: Hi, the invoice from {supplier} is attached.
subject: Invoice from {supplier}
to: accounting@yourcompany.co.il

Im Flow verwenden​

Ein Knoten, der send-email ausführt, steht unter spec.nodes eines Flow. Geben Sie ihm eine beliebige id und nennen Sie in next die ids der nächsten Knoten.

flow.yaml
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
name: send-email-example
namespace: tenant-acme
spec:
displayName: "Send it to me by email"
triggers:
- id: start
ref: {name: manual-run}
next: [send-email]
nodes:
- id: send-email
stepRef: {name: send-email}
config:
body: Hi, the invoice from {supplier} is attached.
subject: Invoice from {supplier}
to: accounting@yourcompany.co.il