Upload file in HTTP Request

Describe the problem/error/question

I need to receive a file and send it through Monday.com API to update the file column. How I should do that?

This is the query according to Monday’s API:

mutation {
add_file_to_column (item_id: 1234567890, column_id: “files”, file: YOUR_FILE) {
id
}
}

How I can send a file through this request?

Hi @pedrofnts, the below workflow did the job for me (this is based on their Postman collection):

Just replace the item_id and column_id as needed. The request returns the ID of the uploaded file (I think) and the file shows up in Monday as expected:

Hope this helps!

Hello Jam!

I’ve tried with your approach, but I keep getting ERROR: No binary data exists on item!

Hi @pedrofnts, I am so sorry. Are you also seeing this problem when using my test workflow (with updated IDs of course, but otherwise unchanged)?

If so, can you confirm the details requested in the question template here on the forum? I’d especially like to understand which version of n8n you are currently running and how you have it deployed. The value of the N8N_DEFAULT_BINARY_DATA_MODE environment variable would be interesting as well to see here.

Yes, also using your workflow. I’m using 1.1.1 with Docker. N8N_DEFAULT_BINARY_DATA_MODE should be filesystem?

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