Most of the Salesforce developers know that they have to encode the data with Base64 encoding if they want to upload a file as an attachment to a Salesforce object via web service. This is even easier if they use Salesforce Data Loader as the tool will help you to encode the data automatically.
But, what if we want to do this in Boomi?
These are the steps:
1. Encode the data by using the Base64 Encode function in Data Process shape
2. Store the encoded data into a property (e.g, document property)
3. In the Salesforce operation parameters tab, you will just need to configure the Attachment/Body element to retrieve the value from the property that we set in Step 2