Hi,
I need to create an attachment to Salesforce, and I’m trying to use the native “Create Attachment” node but it is not clear to me which kind of data I have to put in the field: Input Binary Field.
Thank you in advance
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
The Input Binary Field is used to specify the name of the binary data you want to attach. It is not the actual file or data you want to attach, but the name of the field that contains this data in the previous node.
For example, if you have an HTTP Request node to download a file, the binary data from that file would be stored under a specific name (given that the response format is set to File).
This name is what you would enter in the Input Binary Field.
If you’re not sure what the name of the binary data is, check the output of the HTTP node. The binary data is usually stored under the name “data”, but it could be different depending on your workflow.
If you’re still having trouble, please feel free to share your workflow so we could have a look.
The thing that I’m noticing is that the “attach” field is not present in the input of the node (cause before the salesforce node I have a switch).
[
{
“response”: {
“method”: “createAttachment”
}
}
]
I’m going to try to put a “code” node that collects the “attach” field from the original input just before the salesforce node…