Reply to the email
reply-to-emailnotifyexterne WirkungReplies in the same thread to the email that started the run, with files attached if you choose.
Auf einen Blick
| Eigenschaft | Wert |
|---|---|
| Schrittname | reply-to-email |
| Ressource | ClusterStep (lumen.ai/v1alpha1) |
| Palettengruppe, Kategorie | notify, messages |
| Credits | 1 Credit bei jedem Erfolg |
| Externe Wirkung | ja 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 bereitstellen | mail |
Eingaben
| Eigenschaft | Wert |
|---|---|
| Braucht | email |
| Liefert | nichts |
| Arbeitet auf | item 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.
| Einstellung | Typ | Standardwert | Beschreibung |
|---|---|---|---|
bodyerforderlich | string | - | Body is the reply, one paragraph per line.minLength 1; maxLength 4000 |
attach | string | "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 |
files | list of string | - | Files names the files to attach when Attach is chosen.maxItems 20 |
replyAll | boolean | - | ReplyAll also writes to everyone else the original was sent to. |
Das vollständige JSON Schema dieser Einstellungen: reply-to-email.schema.json.
Beispiel
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.
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: שלום, תודה על פנייתך. נחזור אליך עם הצעת מחיר עד סוף היום.