Realizar un POST con archivo adjunto

Buen dia,

Estoy intentando enviar un archivo adjunto (pdf / imagen) a un servicio, pero se deben enviar otros parametros en json para que el servicio lo procese correctamente. El tema es que la propiedad donde va el binario no me la reconoce


{
“nodes”: [
{
“parameters”: {
“url”: “https://www.outbrain.com/techblog/wp-content/uploads/2017/05/road-sign-361513_960_720.jpg”,
“responseFormat”: “file”,
“options”: {}
},
“name”: “HTTP Request”,
“type”: “n8n-nodes-base.httpRequest”,
“typeVersion”: 1,
“position”: [
492,
300
]
},
{
“parameters”: {
“functionCode”: “// Get all currently existing binary data\nconst binaryData = getBinaryData();\n\n/\nbinaryData.data.fileName = ‘newName.jpg’;\n\n// Create a new binary data\nbinaryData.data2 = {\n data: Buffer.from(‘my test text’).toString(‘base64’),\n fileName: ‘example.txt’,\n mimeType: ‘text/plain’,\n}\n\n/// Set the binary data on the item\nsetBinaryData(binaryData);\n\nreturn item;\n”
},
“name”: “FunctionItem”,
“type”: “n8n-nodes-base.functionItem”,
“typeVersion”: 1,
“position”: [
692,
300
]
},
{
“parameters”: {
“requestMethod”: “POST”,
“url”: “https://files.nemobile.app/api/storage/upload_file”,
“jsonParameters”: true,
“options”: {
“bodyContentType”: “multipart-form-data”,
“ignoreResponseCode”: true,
“bodyContentCustomMimeType”: “application/octet-stream”
},
“sendBinaryData”: true,
“binaryPropertyName”: “={\n"file_Name”: {{$binary.data}}\n"bucket_name": “nemobile-local-test-bucket”,\n"module": “cases”,\n"userId": “adaaaaaaaaaaaaaaaaaaaaaa”,\n"blob_name": 8989898989,\n"security": “public”,\n"state": 40441218\n}"
},
“name”: “HTTP Request1”,
“type”: “n8n-nodes-base.httpRequest”,
“typeVersion”: 1,
“position”: [
890,
300
],
“notesInFlow”: true,
“executeOnce”: true,
“notes”: “Crea el archivo y relación con People”
}
],
“connections”: {
“HTTP Request”: {
“main”: [
[
{
“node”: “FunctionItem”,
“type”: “main”,
“index”: 0
}
]
]
},
“FunctionItem”: {
“main”: [
[
{
“node”: “HTTP Request1”,
“type”: “main”,
“index”: 0
}
]
]
}
}
}