diff --git a/packages/nodes-base/nodes/Microsoft/ToDo/MicrosoftToDo.node.ts b/packages/nodes-base/nodes/Microsoft/ToDo/MicrosoftToDo.node.ts index c6ef0442cb..869eb34b69 100644 --- a/packages/nodes-base/nodes/Microsoft/ToDo/MicrosoftToDo.node.ts +++ b/packages/nodes-base/nodes/Microsoft/ToDo/MicrosoftToDo.node.ts @@ -221,6 +221,14 @@ export class MicrosoftToDo implements INodeType { }; } + if (body.reminderDateTime) { + body.reminderDateTime = { + dateTime: moment.tz(body.reminderDateTime, timezone).format(), + timeZone: timezone, + }; + body.isReminderOn = true; + } + responseData = await microsoftApiRequest.call( this, 'POST', diff --git a/packages/nodes-base/nodes/Microsoft/ToDo/TaskDescription.ts b/packages/nodes-base/nodes/Microsoft/ToDo/TaskDescription.ts index a048139881..9e7105a6e9 100644 --- a/packages/nodes-base/nodes/Microsoft/ToDo/TaskDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/ToDo/TaskDescription.ts @@ -105,6 +105,13 @@ export const taskFields: INodeProperties[] = [ default: '', description: 'The date in the specified time zone that the task is to be finished', }, + { + displayName: 'Reminder', + name: 'reminderDateTime', + type: 'dateTime', + default: '', + description: 'The date in the specified time zone that the task is to be reminded', + }, { displayName: 'Importance', name: 'importance',