Upload files to "palletways"
This commit is contained in:
@@ -0,0 +1,182 @@
|
||||
{
|
||||
"name": "Pre-Alert Kwetsbare Zending",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"path": "prealert",
|
||||
"responseMode": "responseNode",
|
||||
"options": {}
|
||||
},
|
||||
"id": "06751456-f404-420f-aebc-559b903b6263",
|
||||
"name": "Incoming Data",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
256,
|
||||
-112
|
||||
],
|
||||
"webhookId": "24cbeb29-a571-4e64-affd-3e9149032552"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"keepOnlySet": true,
|
||||
"values": {
|
||||
"string": [
|
||||
{
|
||||
"name": "html",
|
||||
"value": "=<div style=\"width:100%; background:#f5f5f5; padding:30px 0; font-family:Arial, sans-serif;\"><div style=\"max-width:650px; margin:0 auto; background:#ffffff; padding:40px; border:1px solid #e0e0e0;\"><h1 style=\"text-align:center; font-size:26px; margin:0; padding:0;\">Pre-alert: Kwetsbare zending voor<br><span style=\"font-size:24px; font-weight:bold;\">{{$json[\"customerCompany\"]}}</span></h1><p style=\"margin-top:30px; font-size:14px; line-height:1.6;\">Beste,<br><br>Graag willen wij u bij deze informeren over een aankomende zending voor onze klant <strong>{{$json[\"customerCompany\"]}}</strong>, waarvoor wij uw extra aandacht vragen.<br><br>De zending bestaat uit <strong>kwetsbare goederen</strong> die gevoelig zijn voor beschadiging bij onzorgvuldige behandeling. Wij verzoeken u daarom vriendelijk om tijdens het transport en de overslag extra zorgvuldigheid in acht te nemen.</p><h2 style=\"margin-top:40px; margin-bottom:15px; font-size:20px;\">Details van de zending:</h2><table style=\"width:100%; font-size:14px; line-height:1.6;\"><tr><td style=\"font-weight:bold; width:180px;\">Klant:</td><td>{{$json[\"customerName\"]}}</td></tr><tr><td style=\"font-weight:bold;\">Bestemming:</td><td>{{$json[\"destination\"]}}</td></tr><tr><td style=\"font-weight:bold;\">DueDate:</td><td>{{$json[\"dueDate\"]}}</td></tr><tr><td style=\"font-weight:bold;\">Aantal colli/pallets:</td><td>{{$json[\"palletCount\"]}}</td></tr><tr><td style=\"font-weight:bold;\">Type goederen:</td><td>{{$json[\"goodsType\"]}}</td></tr><tr><td style=\"font-weight:bold;\">Afmeting (LxBxH):</td><td>{{$json[\"dimensions\"]}}</td></tr><tr><td style=\"font-weight:bold;\">TrackingID:</td><td>{{$json[\"trackingId\"]}}</td></tr></table><p style=\"margin-top:35px; font-size:14px; line-height:1.6;\">Wij vertrouwen erop dat u deze zending met de nodige zorg zult behandelen. Mocht u vragen hebben of aanvullende informatie nodig hebben, neem dan gerust contact met ons op.<br><br>Alvast bedankt voor uw medewerking.<br><br>Met vriendelijke groet,<br><strong>{{$json[\"senderName\"]}}</strong><br>{{$json[\"senderCompany\"]}}</p></div></div>"
|
||||
},
|
||||
{
|
||||
"name": "subject",
|
||||
"value": "=Pre-alert kwetsbare zending {{ $json.trackingId }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"id": "3adeef74-f3ca-4045-9c8d-f2a41b6c8555",
|
||||
"name": "Set HTML Email",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"typeVersion": 2,
|
||||
"position": [
|
||||
672,
|
||||
64
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"mode": "raw",
|
||||
"jsonOutput": "{\n \"customerCompany\": \"KamadoBBQ B.V.\",\n \"customerName\": \"MDN\",\n \"destination\": \"Konijnenberg 189\",\n \"dueDate\": \"23-01-2026\",\n \"palletCount\": \"1\",\n \"goodsType\": \"HOUTEN PALLET - The Bastard Urban Large Complete BBQ\",\n \"dimensions\": \"120 x 80 x 2200\",\n \"trackingId\": \"60044640865\",\n \"senderName\": \"Team Palletways\",\n \"senderCompany\": \"De Wit Transport\"\n}\n",
|
||||
"options": {}
|
||||
},
|
||||
"type": "n8n-nodes-base.set",
|
||||
"typeVersion": 3.4,
|
||||
"position": [
|
||||
480,
|
||||
64
|
||||
],
|
||||
"id": "ff91d20a-1c41-4075-94c4-186d2a2db791",
|
||||
"name": "Edit Fields"
|
||||
},
|
||||
{
|
||||
"parameters": {},
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
272,
|
||||
64
|
||||
],
|
||||
"id": "a12760e0-de99-4a2d-a421-ba084b095ae2",
|
||||
"name": "When clicking ‘Execute workflow’"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"respondWith": "text",
|
||||
"responseBody": "ok",
|
||||
"options": {}
|
||||
},
|
||||
"type": "n8n-nodes-base.respondToWebhook",
|
||||
"typeVersion": 1.4,
|
||||
"position": [
|
||||
624,
|
||||
-112
|
||||
],
|
||||
"id": "2e366906-a7ff-489f-9bca-853d2a196f59",
|
||||
"name": "Respond to Webhook"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"toRecipients": "jeroen@dmsmail.nl",
|
||||
"subject": "={{ $json.subject }}",
|
||||
"bodyContent": "={{ $json.html }}",
|
||||
"additionalFields": {
|
||||
"bodyContentType": "html"
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.microsoftOutlook",
|
||||
"typeVersion": 2,
|
||||
"position": [
|
||||
944,
|
||||
64
|
||||
],
|
||||
"id": "29cddd6a-dfd9-41e9-86ba-10366b109b1d",
|
||||
"name": "Send a message1",
|
||||
"webhookId": "54154bc4-07a8-4245-a82e-01b148dcbb88",
|
||||
"credentials": {
|
||||
"microsoftOutlookOAuth2Api": {
|
||||
"id": "PGANiL6y4sGEEvao",
|
||||
"name": "Microsoft Outlook Palletways"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"pinData": {},
|
||||
"connections": {
|
||||
"Incoming Data": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Edit Fields",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Set HTML Email": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Send a message1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Edit Fields": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Set HTML Email",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Respond to Webhook",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"When clicking ‘Execute workflow’": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Edit Fields",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"active": false,
|
||||
"settings": {
|
||||
"executionOrder": "v1",
|
||||
"binaryMode": "separate",
|
||||
"timeSavedMode": "fixed",
|
||||
"timezone": "Europe/Amsterdam",
|
||||
"callerPolicy": "workflowsFromSameOwner",
|
||||
"availableInMCP": false
|
||||
},
|
||||
"versionId": "37a34db6-35aa-4f51-add9-0285d2784f25",
|
||||
"meta": {
|
||||
"templateCredsSetupCompleted": true,
|
||||
"instanceId": "bef8d409866a58c0777dfe7cca1b9c2400fd051c056d361501393ab423006b5f"
|
||||
},
|
||||
"nodeGroups": [],
|
||||
"id": "dYaxybPLBh4EoljA",
|
||||
"tags": []
|
||||
}
|
||||
Reference in New Issue
Block a user