Send form PDF to Salesforce in Attachments and/or Files objects

The form generated PDF file can be sent to Salesforce in two objects: 

  • Attachments and/or 
  • Files 

The setup is easy, but dependent on the version of the Emails section your form has.
The form has Emails version 1 if you see Form Owner and Form Sender tabs when accessing the Emails section

email version 1

Otherwise, your form has access to Emails version 2:

Email version 2

Now that you have identified the version of the Emails section of your form, let’s see what’s the necessary setup in order to send the form generated PDF to:

Emails notifications v1

If you need to send the Default Template PDF to Salesforce, then no special setup is required in the Emails section, you can go directly to the Mapping part.

However, if you want to send to Salesforce a custom PDF that you created, make sure the template is selected in the Emails section, under ATTACHMENTS → Attach submission as PDF to the notification email → Use template:

 Note: Form Layout PDF can’t be send to Salesforce if your form has Emails v1

How to send the PDF template to the Attachment object for emails with v1

In the Object Mapping section simply create a primary object and then add Attachment as a related object. 

How to map PDF files and the mapping related objects

After you choose it, you’ll see 2 required Salesforce fields listed in the Field mapping section: File name & Body.

Map the File Name with another form field or use custom value to type your own text. 

Map the Body on the left with PDF submission on the right.

How to send the PDF template to the Attachment object for emails with v1

How to send the PDF template to the Files object for emails with v1

In the Object Mapping section of your Salesforce integration create a primary object and add the Content Version object as a related object.

How to map PDF files and the mapping related objects

Afterward, associate the Salesforce fields with the fields indicated in this image:

Emails version 2

If your form has access to this version, before setting up the Mapping part, you need to make sure that you have at least one Email with the option Add attachment: Submission PDF or Submission PDF using form layout enabled

Enable email attachments v2

How to send the PDF template to the Attachment object for emails with v2

It is done the same way as described above, in Emails v1 mapping, except now you have the option to choose in the mapping which PDF to send:

How to send the PDF template to the Attachment object for emails with v2

How to send the PDF template to the Files object for emails with v2

It is done the same way as described above, in Emails v1 mapping, except now you have the option to choose in the mapping which PDF to send:

How to send the PDF template to the Files object for emails with v2

Related articles:

Form results in PDF format 

Send uploaded files to Files object

Leave a Reply

Your email address will not be published. Required fields are marked *

Frequently Asked Questions

Here is a list of the most frequently asked questions. For more FAQs, please browse through the  FAQs page.

Is this service free?
Yes, we offer a free form builder service. Just sign up to the Basic plan and you are all set. This plan is forever free, but you are limited with a few features only, such as 5 forms per account, 100 submissions per month and you have to keep the backlink to 123FormBuilder on your forms. Check out our features matrix for more information.
How many forms can I create?
It depends on the service plan you are on. Higher service plans enable more features, including more web forms for your account. If you need more forms, go to the My Account section of your account and click the upgrade button. To create an unlimited number of forms, either upgrade to the Platinum service plan or higher. Consult our features matrix for more information.
How can I publish my forms?
You can publish your forms in many ways, by using their direct URL or HTML link, embedding them with a JavaScript code, Inline HTML or iFrame, using the Facebook app or the WordPress plugin, using popups, the Blogger code snippet and many more. Once you have created and customized your form, go to the Publish section to complete your work. Read more in our documentation.
How do I change my form design?
You can change the design of your form for more information. in the Themes section, which is located in your form settings. We offer a set of more than 30 predefined form themes for your forms, but you can also create your own from scratch. You can customize the submit button, the logo and more. To apply your own stylesheets, all forms come with a custom CSS editor.

Can't find what you're looking for?