What is Salesforce Integration?
Salesforce integration allows results from your form to create object records in your Salesforce account. All Salesforce objects are supported, including custom objects.
Create a New Integration
On your form's "Integrations" page, click the integration for "Salesforce". Then, click the "Get Authorization" button to authenticate and connect with your Salesforce account. You'll be asked to log into Salesforce, if you're not already. When you're finished, click the "Save" button.
The easiest way to integrate form items with a Salesforce object is to edit your form and add a Salesforce Object Block item, from the Block Items category in the list of items to choose from. Select which Salesforce object type to create and all the object's fields will automatically be added as form items mapped to fields in the object. Each item's label, type, and optional/required will be set based on the attributes from the Salesforce object. It's best to leave the item types as they were created, but you can change the item labels or delete any non-required items you don't need to collect.
You can further customize how items on your form are mapped to Salesforce objects by going back to your form's "Integrations -> Salesforce" page.
Collecting Salesforce Results
When a form user completes your form, their result will create a new record which will be sent to Salesforce. If your form is multiple pages, the record will become created after the first page of your form with mapped items and will get updated further as each remaining page is completed.
When you edit a result in Formsite, the result's record will also be updated in your Salesforce object.
Note: The integration can only send new records to Salesforce or modify records it has created, it can't retrieve or delete existing records. Changes you make in Salesforce won't affect your results in Formsite.
Salesforce Object IDs
Some Salesforce object fields require the ID of a related Salesforce record. Salesforce refers to these as "reference" fields. For example, if you're using the Contact ID field of an Account object, it requires the ID of a Contact record to associate the Contact with the Account. To look up a record's ID, log into your Salesforce account and navigate to the record you want to use. Then, in your browser's address bar, copy the ID code that appears after the last slash at the end of the URL. The ID is usually 15 characters and should look something like: "001F000000rXh8U".
Alternately, on your form's "Salesforce" page, use the magnifying glass icons to query your Salesforce account for related record IDs.
If you know ahead of time a record ID you want use on your form, you can Pre-Populate the ID value into an item or use a Hidden Field item with a default value.
Tips and Troubleshooting
If, for some reason, a result wasn't sent to Salesforce, or your form wasn't integrated yet when the result was collected, you can resubmit it to Salesforce on your form's "Results" page, by editing and saving the result.