Email forwarding
Tipo de conexión
email-forwardA Lumen address you forward mail to. What arrives there can start your flows.
De un vistazo
| Propiedad | Valor |
|---|---|
| Class name | email-forward |
| Resource | ConnectorClass (lumen.ai/v1alpha1); a workspace creates a Connector with classRef: {name: email-forward} |
| Driver | email-forward |
| Provides | email |
| Mode | push (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.
| Ajuste | Tipo | Valor por defecto | Descripción |
|---|---|---|---|
address | string | - | Forward your mail to this address |
allowedSenders | list 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
¿Te ha resultado útil esta página?