Microsoft 365
Verbindungstyp
microsoft-365Your Outlook mailbox and a SharePoint or OneDrive folder. New mail starts flows, and flows can send mail and edit files.
Auf einen Blick
| Eigenschaft | Wert |
|---|---|
| Class name | microsoft-365 |
| Resource | ConnectorClass (lumen.ai/v1alpha1); a workspace creates a Connector with classRef: {name: microsoft-365} |
| Driver | microsoft-365 |
| Provides | mailbox |
| Mode | pull (Lumen reaches out to the system) |
A workspace adds this connection on the Connections page or with lumen connect; credentials are kept in a Secret, never in the flow.
Einstellungen
Wird unter config: im Connector gesetzt.
| Einstellung | Typ | Standardwert | Beschreibung |
|---|---|---|---|
drive | string | - | The library's name on the site. Empty is the site's main library (Documents).maxLength 200 |
folderPath | string | - | The folder Lumen reads and saves files in, such as Prices. Paths in flows start here. Empty is the library's top.maxLength 400; pattern `^[^:*?"<>|#%]*$` |
mailboxerforderlich | string | - | The address Lumen reads and sends as, such as rates@yourcompany.com. A shared mailbox works too.minLength 3; maxLength 320; pattern `^[^@\s]+@[^@\s]+\.[^@\s]+$` |
site | string | - | The site's address, such as https://yourcompany.sharepoint.com/sites/Pricing. Empty uses the mailbox's OneDrive.maxLength 500; pattern `^(https://[A-Za-z0-9.-]+\.sharepoint\.(com|us|cn|de)(/[^?#]*)?)?$` |
tenantId | string | - | Filled in when an admin of your organization approves Lumen. Not typed by hand.pattern `^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?$` |
Das vollständige JSON Schema dieser Einstellungen: microsoft-365.schema.json.
Verwendung
connector.yaml
apiVersion: lumen.ai/v1alpha1
kind: Connector
metadata:
name: my-microsoft-365
namespace: tenant-acme
spec:
classRef: {name: microsoft-365}
config: {}
---
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
name: mailbox-email-microsoft-365-example
namespace: tenant-acme
spec:
displayName: "Microsoft 365"
triggers:
- id: start
ref: {name: mailbox-email}
connectorRef: {name: my-microsoft-365}
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
War diese Seite hilfreich?