Hi,
I need some help to upload a binary file (PDF) to a file column in monday.com. I was trying to do it in the monday.com change column value node, but I failed.
Now I am trying to do it in HTTP but dont know how to create it.
I would appreciate some help.
Kind regards,
<{
“nodes”: [
{
“parameters”: {
“httpMethod”: “POST”,
“path”: “pdfquotation”,
“options”: {}
},
“name”: “Webhook”,
“type”: “n8n-nodes-base.webhook”,
“typeVersion”: 1,
“position”: [
420,
300
],
“webhookId”: “946379be-feb3-453c-83c4-9c9cafca1364”
},
{
“parameters”: {
“url”: “={{$json[“body”][“document”][“download_url”]}}”,
“allowUnauthorizedCerts”: true,
“responseFormat”: “file”,
“options”: {}
},
“name”: “HTTP Request1”,
“type”: “n8n-nodes-base.httpRequest”,
“typeVersion”: 1,
“position”: [
600,
300
]
},
{
“parameters”: {
“requestMethod”: “POST”,
“url”: “https://api.monday.com/v2/file”,
“jsonParameters”: true,
“options”: {
“bodyContentType”: “multipart-form-data”
},
“sendBinaryData”: true,
“headerParametersJson”: “{ “Authorization” : “removed” }”,
“queryParametersJson”: “{ “item_id” : “2678513724”, “column_id” : “archivo0” }”
},
“name”: “HTTP Request”,
“type”: “n8n-nodes-base.httpRequest”,
“typeVersion”: 1,
“position”: [
780,
300
]
}
],
“connections”: {
“Webhook”: {
“main”: [
[
{
“node”: “HTTP Request1”,
“type”: “main”,
“index”: 0
}
]
]
},
“HTTP Request1”: {
“main”: [
[
{
“node”: “HTTP Request”,
“type”: “main”,
“index”: 0
}
]
]
}
}
}>