Salesforce Apex Data Destination

 

About

Completely customize what happens in Salesforce each time a form submission is made. The Salesforce Apex Destination sends custom JSON documents of form submissions to your Salesforce endpoint, allowing you to create, for example, a parent record and child record with the same form submission. This means that you can fully control what happens with the JSON in Salesforce using an Apex script. Combine with other Salesforce data destinations to perform other actions (like creating a case) with the data from a single form submission. This uses the Salesforce Connection.

Apex is a development platform for building software as a service (SaaS) applications on top of Salesforce.com's customer relationship management functionality. Apex allows developers to access Salesforce.com's back-end database and client-server interfaces to create third-party SaaS applications. Apex includes an application program interface (API) that developers can use to access user data on Salesforce.com.

 

Note: As this destination requires the Apex API and configuration within the Salesforce account, ProntoForms Support cannot help you troubleshoot issues with Salesforce. 

 

 

Set up the Data Destination

Set up the data destination, selecting Salesforce Apex REST Data Destination as the type.

2017-07-17-SalesforceApex01.png

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.

filtering.png

3.  Connection

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

democonnetcion.png

[ top ]  

4.  HTTP Method and Headers

ProntoForms supports both POST and PUT HTTP methods. Select which option to use based on the destination's settings.

POST: POST uses data from a submitted form to create an object in an external system.

PUT: PUT uses data from a submitted form to create or update an existing object in an external system.

An object may be as simple as a line of data in a database.

5.  Apex REST Endpoint

Enter the appropriate endpoint URL. Configuring the endpoint URL is detailed in Salesforce's documentation: Creating REST APIs using Apex REST.

2017-07-17-SalesforceApex02.png

 [ top ]  

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

Comments