kenso war das
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "EmailSorter - Automatische E-Mail-Sortierung",
|
||||
"name": "MailFlow - Automatische E-Mail-Sortierung",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
@@ -13,7 +13,7 @@
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [250, 300],
|
||||
"webhookId": "email-sorter-webhook"
|
||||
"webhookId": "mailflow-webhook"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
@@ -81,7 +81,7 @@
|
||||
"resource": "message",
|
||||
"operation": "addLabels",
|
||||
"messageId": "={{ $('Gmail: E-Mail abrufen').item.json.id }}",
|
||||
"labelIds": ["EmailSorter/Newsletter"]
|
||||
"labelIds": ["MailFlow/Newsletter"]
|
||||
},
|
||||
"id": "gmail-label-newsletter",
|
||||
"name": "Gmail: Newsletter Label",
|
||||
@@ -100,7 +100,7 @@
|
||||
"resource": "message",
|
||||
"operation": "addLabels",
|
||||
"messageId": "={{ $('Gmail: E-Mail abrufen').item.json.id }}",
|
||||
"labelIds": ["={{ 'EmailSorter/' + $('Mistral AI: Klassifizieren').item.json.choices[0].message.content.trim() }}"]
|
||||
"labelIds": ["={{ 'MailFlow/' + $('Mistral AI: Klassifizieren').item.json.choices[0].message.content.trim() }}"]
|
||||
},
|
||||
"id": "gmail-label-other",
|
||||
"name": "Gmail: Kategorie Label",
|
||||
@@ -116,7 +116,7 @@
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"url": "={{ $env.EMAILSORTER_API_URL }}/api/email/stats/update",
|
||||
"url": "={{ $env.MAILFLOW_API_URL }}/api/email/stats/update",
|
||||
"authentication": "genericCredentialType",
|
||||
"genericAuthType": "httpHeaderAuth",
|
||||
"sendBody": true,
|
||||
|
||||
Reference in New Issue
Block a user