kenso war das
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# n8n Workflows für EmailSorter
|
||||
# n8n Workflows für MailFlow
|
||||
|
||||
Dieses Verzeichnis enthält optionale n8n Workflows zur E-Mail-Automatisierung.
|
||||
|
||||
@@ -11,7 +11,7 @@ Dieses Verzeichnis enthält optionale n8n Workflows zur E-Mail-Automatisierung.
|
||||
2. **Credentials einrichten**
|
||||
- Gmail OAuth2 Credentials
|
||||
- Mistral AI API Key (https://console.mistral.ai/)
|
||||
- HTTP Header Auth für EmailSorter API
|
||||
- HTTP Header Auth für MailFlow API
|
||||
|
||||
## Workflows
|
||||
|
||||
@@ -23,7 +23,7 @@ Haupt-Workflow für die E-Mail-Sortierung:
|
||||
2. **Gmail: E-Mail abrufen**: Holt E-Mail-Details
|
||||
3. **Mistral AI: Klassifizieren**: KI kategorisiert die E-Mail
|
||||
4. **Gmail: Label setzen**: Fügt entsprechendes Label hinzu
|
||||
5. **Statistiken aktualisieren**: Sendet Update an EmailSorter API
|
||||
5. **Statistiken aktualisieren**: Sendet Update an MailFlow API
|
||||
|
||||
## Setup
|
||||
|
||||
@@ -51,18 +51,18 @@ n8n import:workflow --input=workflows/email-sorter-workflow.json
|
||||
### 3. Environment Variables
|
||||
|
||||
```env
|
||||
EMAILSORTER_API_URL=http://localhost:3000
|
||||
EMAILSORTER_API_KEY=your-api-key
|
||||
MAILFLOW_API_URL=http://localhost:3000
|
||||
MAILFLOW_API_KEY=your-api-key
|
||||
```
|
||||
|
||||
### 4. Webhook URL notieren
|
||||
|
||||
Nach dem Aktivieren des Workflows wird eine Webhook-URL generiert:
|
||||
```
|
||||
https://your-n8n-instance.com/webhook/email-sorter-webhook
|
||||
https://your-n8n-instance.com/webhook/mailflow-webhook
|
||||
```
|
||||
|
||||
Diese URL im EmailSorter Backend konfigurieren.
|
||||
Diese URL im MailFlow Backend konfigurieren.
|
||||
|
||||
## Anpassungen
|
||||
|
||||
@@ -89,7 +89,7 @@ Nach dem Label-Node einen "Gmail: Archive" Node hinzufügen:
|
||||
|
||||
- Ausführungen in n8n UI überwachen
|
||||
- Fehler-Benachrichtigungen einrichten
|
||||
- Statistiken im EmailSorter Dashboard prüfen
|
||||
- Statistiken im MailFlow Dashboard prüfen
|
||||
|
||||
## Skalierung
|
||||
|
||||
|
||||
Reference in New Issue
Block a user