Reply to the email
Paso
reply-to-emailnotifyefectos externosReplies in the same thread to the email that started the run, with files attached if you choose.
De un vistazo
| Propiedad | Valor |
|---|---|
| Nombre del paso | reply-to-email |
| Recurso | ClusterStep (lumen.ai/v1alpha1) |
| Grupo de la paleta, categoría | notify, messages |
| Créditos | 1 crédito cada vez que tiene éxito |
| Efectos externos | sí Cambia algo fuera de Lumen, así que un reintento pregunta antes y una prueba muestra lo que haría en lugar de hacerlo. |
| La instalación debe aportar | mail |
Entradas
| Propiedad | Valor |
|---|---|
| Necesita | email |
| Produce | nada |
| Trabaja sobre | item un documento cada vez |
Necesita y Produce son tipos de datos (file, text, fields, email). El editor ofrece un paso solo donde lo que necesita ya está en el camino. Consulta Documentos y datos.
Salidas
Sin salidas con nombre. Los nodos posteriores siguen viendo todo lo producido antes en el camino, y este paso pasa los documentos sin cambios.
Ajustes
Se definen bajo config: en el nodo del flujo. Los ajustes de texto pueden contener marcadores de posición como {nodeId.field}.
| Ajuste | Tipo | Valor por defecto | Descripción |
|---|---|---|---|
bodyobligatorio | 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. |
El JSON Schema completo de estos ajustes: reply-to-email.schema.json.
Ejemplo
config
attach: none
body: שלום, תודה על פנייתך. נחזור אליך עם הצעת מחיר עד סוף היום.
Úsalo en un flujo
Un nodo que ejecuta reply-to-email va bajo spec.nodes de un Flow. Dale cualquier id y enumera en next los ids de los nodos siguientes.
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: שלום, תודה על פנייתך. נחזור אליך עם הצעת מחיר עד סוף היום.
¿Te ha resultado útil esta página?