Subscribe
Blog

How to Send File Uploads (Attachments) to Salesforce

Formstack
October 10, 2014
|
Min Read

A common question we get regarding our Salesforce integration is if it’s possible to send file uploads (attachments) to Salesforce. This is possible by integrating with Salesforce’s “Attachment” object. Attachments can be linked to many other Salesforce objects: Account, Leads, Opportunities, and Contracts to name a few.

Here is how to set it up:

1. Add a file upload field to your form. This goes without saying, if you want to send an attachment to Salesforce you need to have a file upload field on your form. For this example, I’ve added a File upload field on a form labeled Attachment :

attachment

2. Add an Attachment object in your Salesforce integration.

salesforce integration

3. Link the Attachment to the appropriate Salesforce object. To do this, set the Parent ID to Link. A select list will populate of all the objects the Attachment can be linked to.

4. Link the Attachment to the File Upload field on your form. To do this, set the File Name and Body to Field; then select the file upload field from the list of fields. At this point my integration settings look like this:

attachment field

5. Save Settings

That’s it! When your form is filled out and a file is uploaded. We will send the file to Salesforce. It will appear as an attachment to it’s linked object (set by Parent ID). Here is a Screenshot of the attachment in Salesforce after I submitted my test form:

final step

Need more help? Don't hesitate to check out our support center for more information!

Blog

Formstack Comparisons: Jotform, FormAssembly, Conga, Titan, and Docusign

Know the differences between Formstack and alternative software like Jotform, FormAssembly, Conga, Titan, and Docusign before you buy. 
Read more
Formstack
Formstack is a SaaS company with a mission to help organizations digitize what matters, automate workflows, and fix processes—all without code. A variety of team members come together to compile posts under Formstack's authorship.
More Articles

Hi there! 👋 How can I assist you today? 🤖 ✨

drift bot
1