Saltar al contenido principal

Email forwarding

Tipo de conexiónemail-forward

A Lumen address you forward mail to. What arrives there can start your flows.

De un vistazo​

PropiedadValor
Class nameemail-forward
ResourceConnectorClass (lumen.ai/v1alpha1); a workspace creates a Connector with classRef: {name: email-forward}
Driveremail-forward
Providesemail
Modepush (the outside system pushes data in)

A workspace adds this connection on the Connections page or with lumen connect; credentials are kept in a Secret, never in the flow.

Ajustes​

Se definen bajo config: en el Connector.

AjusteTipoValor por defectoDescripción
addressstring-Forward your mail to this address
allowedSenderslist of string-A full address (ana@acme.com) or a whole domain (*@acme.com). Leave empty to accept mail from anyone.

El JSON Schema completo de estos ajustes: email-forward.schema.json.

Uso​

connector.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: email-arrives-email-forward-example
namespace: tenant-acme
spec:
displayName: "Email forwarding"
triggers:
- id: start
ref: {name: email-arrives}
connectorRef: {name: my-email-forward}
next: [notify-in-app]
nodes:
- id: notify-in-app
stepRef: {name: notify-in-app}
config:
body: 'Total: {total}'
title: New invoice from {supplier}
to: admins