Saltar al contenido principal

Confirm receipt and take the file

Pasoacknowledgenotifyefectos externos

Tells the sender right away that the email arrived, and whether it starts now or waits for an earlier update of the same file to finish. Place it first in a flow that declares file locks; a waiting run starts by itself, in order, and says so in the same email thread.

De un vistazo​

PropiedadValor
Nombre del pasoacknowledge
RecursoClusterStep (lumen.ai/v1alpha1)
Grupo de la paleta, categoríanotify, messages
Créditos0 créditos cada vez que tiene éxito
Efectos externossí 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 aportarmail

Entradas​

PropiedadValor
Necesitanada
Producefields
Trabaja sobreitem 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​

Un nodo posterior se refiere a una salida como {nodeId.field} en un texto, o nodeId.field en una condición.

SalidaTipo
waitedboolean
lockWaitboolean
waitingForstring
filestring

Ajustes​

Se definen bajo config: en el nodo del flujo. Los ajustes de texto pueden contener marcadores de posición como {nodeId.field}.

AjusteTipoValor por defectoDescripción
totext or list-To is who is told; empty is the sender of the email that started the run.maxLength 2000; maxItems 20
langstring-Lang is the emails' language, he or en; empty follows the email.one of , he, en
startNoticebooleantrueStartNotice says a run that waited sends a short "starting now" in the same thread when it starts; unset is true.
messagesobject-Wording
messages.processingobject-When it starts at once
messages.processing.enstring-EnglishmaxLength 1000
messages.processing.hestring-HebrewmaxLength 1000
messages.waitingobject-When it has to wait
messages.waiting.enstring-EnglishmaxLength 1000
messages.waiting.hestring-HebrewmaxLength 1000
messages.startingobject-When a waiting run starts
messages.starting.enstring-EnglishmaxLength 1000
messages.starting.hestring-HebrewmaxLength 1000

El JSON Schema completo de estos ajustes: acknowledge.schema.json.

Ejemplo​

config
lang: en
to: ops@yourcompany.co.il

Úsalo en un flujo​

Un nodo que ejecuta acknowledge 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: Flow
metadata:
name: acknowledge-example
namespace: tenant-acme
spec:
displayName: "Confirm receipt and take the file"
triggers:
- id: start
ref: {name: manual-run}
next: [acknowledge]
nodes:
- id: acknowledge
stepRef: {name: acknowledge}
config:
lang: en
to: ops@yourcompany.co.il