{ "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": "=

Pre-alert: Kwetsbare zending voor
{{$json[\"customerCompany\"]}}

Beste,

Graag willen wij u bij deze informeren over een aankomende zending voor onze klant {{$json[\"customerCompany\"]}}, waarvoor wij uw extra aandacht vragen.

De zending bestaat uit kwetsbare goederen 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.

Details van de zending:

Klant:{{$json[\"customerName\"]}}
Bestemming:{{$json[\"destination\"]}}
DueDate:{{$json[\"dueDate\"]}}
Aantal colli/pallets:{{$json[\"palletCount\"]}}
Type goederen:{{$json[\"goodsType\"]}}
Afmeting (LxBxH):{{$json[\"dimensions\"]}}
TrackingID:{{$json[\"trackingId\"]}}

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.

Alvast bedankt voor uw medewerking.

Met vriendelijke groet,
{{$json[\"senderName\"]}}
{{$json[\"senderCompany\"]}}

" }, { "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": [] }