Zum Hauptinhalt springen

Reply to the email

Schrittreply-to-emailnotifyexterne Wirkung

Replies in the same thread to the email that started the run, with files attached if you choose.

Auf einen Blick​

EigenschaftWert
Schrittnamereply-to-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
Brauchtemail
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
bodyerforderlichstring-Body is the reply, one paragraph per line.minLength 1; maxLength 4000
attachstring"none"Attach says which files go with the reply: none, the files the run holds, or only those named in Files.one of none, run, chosen
fileslist of string-Files names the files to attach when Attach is chosen.maxItems 20
replyAllboolean-ReplyAll also writes to everyone else the original was sent to.

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

Beispiel​

config
attach: none
body: שלום, תודה על פנייתך. נחזור אליך עם הצעת מחיר עד סוף היום.

Im Flow verwenden​

Ein Knoten, der reply-to-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: Connector
metadata:
name: my-email-forward
namespace: tenant-acme
spec:
classRef: {name: email-forward}
config: {}
---
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
name: reply-to-email-example
namespace: tenant-acme
spec:
displayName: "Reply to the email"
triggers:
- id: start
ref: {name: email-arrives}
connectorRef: {name: my-email-forward}
next: [reply-to-email]
nodes:
- id: reply-to-email
stepRef: {name: reply-to-email}
config:
attach: none
body: שלום, תודה על פנייתך. נחזור אליך עם הצעת מחיר עד סוף היום.