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], });