Uploading attachment to clickup through http nodes

Hello Guys, I need a help

I am trying to upload a attachment to my Clickup account. My workflow is a big one , so I will just add 2 nodes where I am stuck.

  1. I am fetching the file through image url using HTTP get method. Working properly.
  2. I am trying to upload that attachment to my clickup task using another http node with POST method.

I am not able to achieve this, It is throwing me error and I am stuck with what o do.

I am attaching the screen shot tried with Formdata and n8n binary file option.

Please let me know what I am doing wrong

Information on your n8n setup

  • **n8n version:1.60.1
  • **Database (default: SQLite):Postgres
  • **n8n EXECUTIONS_PROCESS setting (default: own, main):default
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):docker compose
  • **Operating system:ubuntu 22

Hey @Mohammed_Imran , I would expect a different configuration of your 2nd HTTP Request node. The binary file has to be added as part of Form-Data content type.

Hi @ihortom I tried the solution you mentioned above. It is still not working. Could you please help me out? It is throwing erro of invalid field and value.

Is there any other solution? The attachment can be image, doc, pdf or video as well.

Hey @Mohammed_Imran , their API is described here, Create Task Attachment. Here’s what made it work as an example

An important part is to use the name as “attachment”.

1 Like

Thank you @ihortom . This worked for me. Thanks a lot

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