Salesforce Custom Object Data Destination


The Salesforce Custom Object Data Destination creates or updates records in Salesforce when mobile forms are submitted.  Fields are completed based on answers provided in forms. Combine with other Salesforce data destinations to perform other actions (like creating a case) with the data from a single form submission. The Custom Object destination can also be used with any Standard Object in Salesforce, including objects in Field Service Lightning.

Note: ProntoForms currently supports Salesforce API version 42 for this data destination.

salesforce.png Organizations of all sizes use the Salesforce platform to manage customer relationships and power their business in the cloud. Looking for two-way integration?  Read more about the ways ProntoForms can connect to Salesforce. 

Set up the Data Destination

Create the data destination, selecting Salesforce Custom Object Data Destination as the type.

1.  Name/Forms

  • Name the destination.
  • Select "auto-link" to link any forms you create in the future.
  • Manually link existing forms to the destination.


[ top ]  


2.  Filtering

  • Optionally set up filter rules.  The data destination will only create/update a record when these conditions are met.


[ top ]  


3.  Connection

  • Connect the destination to Salesforce.  Use an existing connection, or set up a new Salesforce Connection.


[ top ]  


4. Custom Object Fields

Custom Object Information

Enter the API Name of the custom object.  Read here for details on how to locate this in Salesforce.


 ProntoForms supports sending image, audio, file, and signature attachments to Salesforce Data Destinations. This option can be found under the Fields tab. 

    1. Locate the attachment (photo, signature, audio, or file attachment) type question in the form builder and find the unique ID.

    2. Enter the appropriate unique IDs into the Attachments to send field. Use commas to separate the unique IDs.


Note: These attachments follow the Update Query setting, meaning that new versions of previously-uploaded files will be updated instead of renamed.

Custom Fields

Send data to the object's custom fields.  Note: The Geolocation custom field is currently not supported.

    • Salesforce API Name:  Enter the API name of the custom field (found through the "Describe Salesforce Object" button).  
    • Value Expression:  Use Data Record Expression Language (DREL) to reference data in form submissions.   


 [ top ]


5.  Update Query

  • By default, new records will be created in Salesforce when the destination executes. 
  • Optionally set up the data destination to update existing records.
  • If you wish to write form data to existing custom objects, you must match a custom object field name with the corresponding field value in the form. For example:
    This shows that the form submission data will always be written to an existing Salesforce Custom Object containing the "Customer Selection" value in the "Name" field in Salesforce.

[ top ]  


Destination Response Output

Destination response outputs allow users to make sequential requests to other systems, typically to create parent-child relationships in the data or objects you are creating in those systems. For example, a user might want to create an object in a first destination, and have destination response outputs pass the ID for that object to the next destination to add an appropriate attachment to it.

Click here for more information: Destination Response Output

[ top ]


6. Create "Tab" in Salesforce

  • To insert ProntoForms form data into a Salesforce custom object, you must create a tab for that custom object in Salesforce.
  • This requires a user with Read/Create permissions for the Salesforce account.
  • To do this, follow Salesforce's instructions: Creating Custom Object Tabs.


Testing and Troubleshooting Data Destinations

Test all data destinations before using them in production.  This is key to ensuring that ProntoForms data is received.  Please read the recommendations for testing and troubleshooting data destinations.

[ top ] 

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request