Clickup Task Estimation from Google Calendar

Hey, I have the following logic created that the google calendar meetings are turned into ClickUp tasks automatically, with the duration of the meeting to be the time estimation for the task .

While the JSON gets all the data right, when the time comes to build the task, clickup turns the 30 minutes meeting time into a 3 minutes one. Any ideas how ot fix this bug?

{
“nodes”: [
{
“parameters”: {
“pollTimes”: {
“item”: [
{
“mode”: “everyHour”
}
]
},
“calendarId”: {
“__rl”: true,
“value”: “[email protected]”,
“mode”: “list”,
“cachedResultName”: “[email protected]
},
“triggerOn”: “eventCreated”,
“options”: {
“matchTerm”: “”
}
},
“type”: “n8n-nodes-base.googleCalendarTrigger”,
“typeVersion”: 1,
“position”: [
-500,
-280
],
“id”: “3b884540-5689-4c04-bb34-a1337f417f41”,
“name”: “Google Calendar Trigger”,
“credentials”: {
“googleCalendarOAuth2Api”: {
“id”: “y6qHSgfIDdj3S0C2”,
“name”: “Google Calendar account”
}
}
},
{
“parameters”: {
“operation”: “getTimeBetweenDates”,
“startDate”: “={{ $(‘Google Calendar Trigger’).item.json.start.dateTime }}”,
“endDate”: “={{ $(‘Google Calendar Trigger’).item.json.end.dateTime }}”,
“units”: [
“minute”
],
“options”: {
“includeInputFields”: false,
“isoString”: false
}
},
“type”: “n8n-nodes-base.dateTime”,
“typeVersion”: 2,
“position”: [
-320,
-280
],
“id”: “1b87a7c2-fbc9-4d35-8a3f-fa11378895d1”,
“name”: “Date & Time2”
},
{
“parameters”: {
“team”: “3829829”,
“space”: “55011912”,
“folderless”: true,
“list”: “192972443”,
“name”: “={{ $(‘Google Calendar Trigger’).item.json.summary }}”,
“additionalFields”: {
“assignees”: [
5836047
],
“dueDate”: “={{ $(‘Google Calendar Trigger’).item.json.start.dateTime }}”,
“timeEstimate”: “={{ $json.timeDifference }}”
}
},
“type”: “n8n-nodes-base.clickUp”,
“typeVersion”: 1,
“position”: [
100,
-280
],
“id”: “62475fb3-5dfc-4933-9ca7-6a7dfbcbc361”,
“name”: “ClickUp1”,
“credentials”: {
“clickUpApi”: {
“id”: “gBYWFl0oUaEgDHBl”,
“name”: “ClickUP API (ACCESS) - Anna”
}
}
},
{
“parameters”: {
“jsCode”: “\nreturn items.map(item => {\n const startTime = new Date(item.json.start); // e.g., ‘2025-06-15T10:00:00Z’\n const endTime = new Date(item.json.end); // e.g., ‘2025-06-15T11:30:00Z’\n\n const timeDifferenceMs = endTime - startTime; // milliseconds\n\n item.json.timeDifferenceMs = timeDifferenceMs;\n return item;\n});”
},
“type”: “n8n-nodes-base.code”,
“typeVersion”: 2,
“position”: [
-100,
-280
],
“id”: “87b6ac15-77c6-4407-b3ac-808f5fd52a26”,
“name”: “Code”
}
],
“connections”: {
“Google Calendar Trigger”: {
“main”: [
[
{
“node”: “Date & Time2”,
“type”: “main”,
“index”: 0
}
]
]
},
“Date & Time2”: {
“main”: [
[
{
“node”: “Code”,
“type”: “main”,
“index”: 0
}
]
]
},
“Code”: {
“main”: [
[
{
“node”: “ClickUp1”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “59c26a7f0ad09ccec806e7dd1e3e1a1c1282f0a89fbe5ac3e8f5043690ff61e2”
}
}

Yes same on my side.

Not sure how long they will fix this.

The current work around is multiple 10 times

{{ $json.timeDifference.minutes*10}}