From eecd511bd470a5878c82e4e4a5a783c5243cba3a Mon Sep 17 00:00:00 2001 From: Maxime Pauvert Date: Wed, 13 Nov 2024 11:36:25 +0100 Subject: [PATCH] Update Mailjet.node.ts --- packages/nodes-base/nodes/Mailjet/Mailjet.node.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/nodes-base/nodes/Mailjet/Mailjet.node.ts b/packages/nodes-base/nodes/Mailjet/Mailjet.node.ts index 0b02a4590c..a05b2c7ca2 100644 --- a/packages/nodes-base/nodes/Mailjet/Mailjet.node.ts +++ b/packages/nodes-base/nodes/Mailjet/Mailjet.node.ts @@ -193,6 +193,12 @@ export class Mailjet implements INodeType { if (additionalFields.priority) { body.Priority = additionalFields.priority as number; } + if (additionalFields.customCampaign) { + body.CustomCampaign = additionalFields.customCampaign as string; + } + if (additionalFields.deduplicateCampaign) { + body.DeduplicateCampaign = additionalFields.deduplicateCampaign as boolean; + } responseData = await mailjetApiRequest.call(this, 'POST', '/v3.1/send', { Messages: [body], });