When using a Data Connector applet with a Salesforce interface, the applet is sometimes referred to as a Salesforce Data Connector or SFDC.
If enabled for your account, you can use a Data Connector applet to create a Salesforce record. The Data Connector creates the record when Vonage Contact Center routes an interaction through the applet. For information about the Data Connector applet, see Data Connector applet.
You can also use the Data Connector applet to update an existing Salesforce record. For information about using the Data Connector applet to update a Salesforce record, see Updating a Salesforce record
To configure a Data Connector applet to create a Salesforce record, perform the following steps:
- Create a Data Connector applet. For information about creating an applet, see Creating an applet. A new Data Connector applet appears.
In Interface in the Interface section, click Salesforce. The Action section appears.
Optionally select the applet that Vonage Contact Center routes the call to if the interface fails in the Interface Failure list.
An interface failure occurs when the request does not receive a response or receives an error from Salesforce. A timeout, DNS lookup failure, incorrect or expired password, HTTP error status code, or an invalid SOQL query, for example, might cause an interface failure.
In the Action list, click Create Salesforce Record. The Create Salesforce Record section appears.
Provide the following information in the fields in the Create Salesforce Record section:
|Object||The Object list contains the available Salesforce objects. Click the object you want to create. The Add Field list appears.|
The Add Field list contains the fields available on the selected object. Click the field you want to populate. The Fields to Populate section appears. Use Add Field to add and populate as many fields on the selected Salesforce object as you want.
You must populate fields that are required by the Salesforce object.
|Fields to Populate|
|Field Name||Contains the selected field. Use the next two fields to identify the source of the data for this field.|
|Source Type||The type of source that the data you want to use is contained in. Click either IVR Slot or Data Source. The Source list is populated with sources of the selected type.|
|Source||The source of the data. Click the source that contains the data for the field.|
Click Remove to remove any fields you no longer want.
- In the Successful Action list click the applet that Vonage Contact Center routes the call to next.
To save your changes, click Update.
When you click update, Vonage Contact Center validates the information you have provided in the Create Salesforce Record section. You must populate fields that are required by the Salesforce object. If you do not, an error or errors appear at the top of the applet page. Correct the errors before clicking Update again.
You can also use a Data Connector applet to retrieve data from Salesforce. For information about retrieving data from Salesforce using a Data Connector applet, see Retrieving data from Salesforce.