דלג לתוכן הראשי

העברת מיילים

Connection typeemail-forward

כתובת של לומן שמעבירים אליה מיילים. מה שמגיע אליה יכול להתחיל את התהליכים שלכם.

במבט אחד​

מאפייןערך
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.

הגדרות​

Set under config: on the Connector.

הגדרהסוגברירת מחדלתיאור
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.

ה-JSON Schema המלא של ההגדרות: email-forward.schema.json.

שימוש​

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