Sync notion to clickup

Describe the issue/error/question

hi, i am trying to sync notion database as clickup tasks using the following workflow which is supposed to create a task from a notion database and also write the “clickup id”. But in the first step it doesn’t create the task

What is the error message (if any)?

ERROR: UNKNOWN ERROR - check the detailed error for more information
Error Cannot PUT /api/v2/task/
Details
Time
11/1/2023, 12:10:29 PM
Stack
NodeApiError: UNKNOWN ERROR - check the detailed error for more information
at Object.clickupApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/ClickUp/GenericFunctions.js:30:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/ClickUp/ClickUp.node.js:831:40)
at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:659:28)
at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:585:53

Please share the workflow

Share the output returned by the last node

ERROR: UNKNOWN ERROR - check the detailed error for more information
Error Cannot PUT /api/v2/task/
Details
Time
11/1/2023, 12:10:29 PM
Stack
NodeApiError: UNKNOWN ERROR - check the detailed error for more information
at Object.clickupApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/ClickUp/GenericFunctions.js:30:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/ClickUp/ClickUp.node.js:831:40)
at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:659:28)
at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:585:53

Information on your n8n setup

  • n8n version:0.210.2
  • Database you’re using (default: SQLite):SQLite
  • Running n8n with the execution process [own(default), main]:
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]:Docker

Thanksss

Hey @Mathias_Alejandro_Go,

Welcome to the community :cake:

Is it the top part or the second part of the workflow that is failing? My first thought is maybe the ClickUp task ID is not correct in Notion.

It fails at the top, the task id clickup is supposed to be entered into notion at the bottom, but the task doesn’t even get created as specified by the workflow.

thanksss

Hey @Mathias_Alejandro_Go,

Looking at the workflow it is not set up to create a test in Clickup it is updating an existing task. Could that be the issue?

Yeah, I was just looking at this, so that workflow doesn’t really work as advertised?

I guess that depends on how you look at it, Looking at the workflow the sync would work if everything already existed but it doesn’t look like it will make a new Notion Page or Clickup Issue.

Is this one of our workflow templates?

Yes, it is true, the workflow works if:

  • task already exists in notion and clickup
  • have the same clicktup id

but the step of creating a task from a new entry in the notion database would be missing.

I found the workflow here:

Hey @Mathias_Alejandro_Go,

Looking at the workflow we have internally it looks like it should be like the one below, This will make a new item in ClickUp from Notion and keep them synced from there. What it doesn’t do though is create a new item in Notion if you make an item in ClickUp.

I just tested your workflow and now if it works correctly, it was missing the task creation.

I thank you very much for the help to solve it and continue learning!

thanksss!

1 Like

Hey @Mathias_Alejandro_Go,

No problem at all, I will make sure our template gets updated as well.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.