Clickup: Create Task Attachment

I want to link an email to a task. While it is easy to create a task when an email comes in, I don’t know how to attach the email to the new task.

The alternative is to use Create tasks by email. But then I will not know the task ID. Also I cannot guarantee when this workflow is run that the task will be already created in click up.

I cannot use a webhook/trigger as it requires a higher Clickup account level than I have or want right now.

My main goal is that I calculate certain things in the email and set the name and possibly some tags in the task.

I see there is this API which does not seem to be supported in the node. Which I’m not sure how to create the attachment body if I have something coming in from a Gmail node?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @bally,

When you say you want to link an email to a task what do you mean? Like include the email body in the task or just a reference like a message id?

The seem to be two types of email attachments in click-up

One is an HTML file which is completely unrelated to the original email.

The other is a link to the Gmail which also looks like the same. But when you click on the attachment it opens the HTML file which is the first email come up however you also get a button at the top that says open the thread in Gmail.

The second one is what I want to do automatically.

Hey @bally,

I am not sure how Clickup does that linking, The API call you found is for attaching a file rather than a link to an email. Do you know if Clickup supports adding a link like that through the API as I took a quick look and couldn’t see anything but I am not that familiar with Clickup.