CloudCherry is now part of Cisco.
Learn More About Cisco

Cisco Webex Experience Management integration with Salesforce using Microsoft Azure Logic Apps

Salesforce has published its Standard connectors in Logic Apps. The details regarding the Salesforce connector on Logic Apps are available here. Also, our view on Microsoft Azure Logic Apps and how we use the same are detailed here

1. Use cases

Integrations between the two systems are quite a broad topic. It is important to narrow down on the use cases that we want to accomplish by integrating two systems. The standard use cases that we have identified for integration between Experience Management and Salesforce are as given below:

This video demonstration will walk you through a few usecases in a Salesforce integration with WXM.

**We will walk through an account set up for an automobile service and repair company, Salesforce Integration For Experience Management, illustrating the scenario of an inactive customer in Salesforce.

2. Setting up the integration

Experience management has created Logic App workflows that satisfy the standard use cases mentioned here. We have published a Logic App for each use case as a JSON here. Logic App provides the flexibility to import such published Logic Apps into any other Azure account.

Just follow the steps below to set up the Salesforce integration in your Azure Logic Apps subscription.

2.1 Importing a ready Logic App into your Azure Logic Apps subscription

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

Select the Azure region based on the geographic location of your customer. For example, if you are deploying the integration for Acme Inc who is headquartered in USA, then select any of the Azure regions in North America region.

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png Integrations/LogicApps/Salesforce/AzureHomePage.png Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

Create a dummy Logic app using any Salesforce and SMTP connector. From the code view of this dummy Logic app, copy the sections highlighted in the above screenshot and paste it in the code view of the actual Logic app to replace with your own Subscription, Resource Group and Location.

Integrations/LogicApps/Salesforce/AzureHomePage.png

The next section will explain how to personalise the Logic App you just created to run for your Salesforce and Experience management account.

2.2. Configuring the Logic App to work with your Salesforce and Experience Management account

Once the Logic Apps is created by importing the JSON relevant to the integration use case you want to accomplish, you may now change some of the configurations in the Logic App. These changes are made so that the Logic App is configured to work with the customer’s Salesforce and Experience management account. Some common configuration changes you would like to make would be:

We will look at each Use case and its corresponding Logic Apps and the configuration changes that are to be made.

Use case 1: Send real-time Experience Management surveys based on state changes in Salesforce

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

Any of the configuration details in this Logic App can be changed to suit the need of the specific account. We will focus on the specific details that needs to be configured to meet the needs of this particular use case.

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

You can get the list of questions and its corresponding Question ID information from the Questionnaire Builder section of the Experience Management product.
Experience Management connectors will be available in Logic Apps by Oct 2020. Once the Standard connectors are available, this step will be simplified further.

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

Once the above steps are completed, you have setup your Salesforce account with the ability to send emails to customers at a near real-time frequency based on actions taken within Salesforce. You may now change some records in Salesforce and confirm that surveys are getting sent to the intended recipients.

Use case 2: Collect feedback with Experience Management and raise tickets on Salesforce basis notifications set on Experience Management

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png Integrations/LogicApps/Salesforce/AzureHomePage.png

Any of the configuration details in this Logic App can be changed to suit the need of the specific account. We will focus on the specific details that needs to be configured to meet the needs of this particular use case.

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png Integrations/LogicApps/Salesforce/AzureHomePage.png

Salesforce Field Survey response
Customer Name Name
NPS NPS
Description User Comments
Response ID Survey response ID
Customer Email Email

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

If you want to add more fields in salesforce based on the response that has come from Experience management, you may add more variables between Step 1 and 12. And add those fields as parameters in Step 16 while creating the case record in Salesforce

Integrations/LogicApps/Salesforce/AzureHomePage.png

The configuration of the Logic App to achieve integration Use case 2 is completed. You may now submit some test survey responses in Experience management and confirm that tickets are getting created in Salesforce as intended.

Use case 3: Updates made on the Salesforce ticket to add a note in the corresponding Experience Management survey response

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

Any of the configuration details in this Logic App can be changed to suit the need of the specific account. We will focus on the specific details that needs to be configured to meet the needs of this particular use case.

Integrations/LogicApps/Salesforce/AzureHomePage.png

Integrations/LogicApps/Salesforce/AzureHomePage.png

You may add more conditions if you would like to push other types of updates to be pushed to the survey response.

Integrations/LogicApps/Salesforce/AzureHomePage.png

The configuration of the Logic App to achieve integration Use case 3 is completed. You may now update the case properties in Salesforce and confirm that a note is getting is updated on the corresponding survey responses in Experience management intended.