Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

                                             &     




Info
iconfalse
titleON THIS PAGE

Table of Contents

What it's about


The Integration between WitiOp and Salesforce enables the two software to talk to each other. 

More specifically, it allows the mechanism by which a Case is opened in Salesforce, the moment a conversation is closed in WitiOp. The Case reports the conversation occurred between the Agent and the customer. 


It works as a trigger: when the condition occurs, an action is performed. 

CONDITIONACTION

When the Agent closes (and eventually profiles) a Witiop conversation with a customer:

Then, a Case is automatically created in the Salesforce tab:



How it works


As the Integration executes, the WitiOp data are communicated to Salesforce.WITIOP

We'll explore the info uploaded on the Salesforce Case coming from WitiOp. 

SALESFORCE

The conversation with the customer, imported from WitiOp, appears to the Agent as

follows

:

  

Image Removed

Image Added

SALESFORCE

WITIOP

The conversation with the customer

, imported from WitiOp,

appears to the Agent as follows:

Image Removed

SALESFORCE

We'll explore the info uploaded on the Salesforce Case coming from WitiOp. 

  

Image Added

Image Modified

The Salesforce Case Owner is the WitiOp Agent who manages the conversation. 

WITIOP


Image Modified

In the example, the Agent is agent.demo.

CONFIGURATION

The Agent must be configured on WitiOp and on Salesforce with the same email, to make the Integration work.



Image Modified

The Case Number is a progressive number generated by Salesforce. 



Image Modified

The Salesforce Contact Name is the WitiOp customer who has contacted us.

If the customer name is saved on the Salesforce database, this field will show the contact name.

If the customer name is not saved on the Salesforce database, this field will show the number of the customer. 


Image Modified

In the example, the customer with the number +3933.. is registered in WitiOp as Maria C. 

Note that WitiOp customer database is detached from the Salesforce database. In fact, in the example, even if Maria C is saved into WitiOp, Salesforce shows only the contact number (because the number is not saved into its database). 


Image Modified

The Title Case is composed by:

  • Salesforce Contact Name 

If the customer name is saved on the Salesforce database, this field will show the contact name.

If the customer name is not saved on the Salesforce database, this field will show the number of the customer. 

  • [WitiOp conversation Id]


Image Modified

In the example, the conversation Id is 1793.  

Image Modified

Image Modified

A comment for each WhatsApp message in the conversation is created in the Case.

  • The comments from the customer and the agent are posted using different Salesforce users.
  • The comment creation time is set to the WhatsApp message sent time.
  • Attachment are added to the comment as file (uploaded to SalesForce) or as link to WitiOp (depending on the configuration).

Image Modified

In the example, the WhatsApp messages for which comments have been added in the Case are those shown above. 

On the left, there's the message sent by the customer; on the right the Agent's message. 

The comments from the customer and the agent are posted using different Salesforce users.

The comment creation time is set to the WhatsApp message sent time.

Attachment are added to the comment as file (uploaded to SalesForce) or as link to WitiOp (depending on the configuration).

Configuration


To make the Integration work, the following configurations must be set: 

  • The Agent must be configured on WitiOp and on Salesforce with the same email: in this way the Case will be opened in the Salesorce account of the Agent who has managed the conversation. 
  • A user with username "WitiOpCustomer" must be created on Salesforce, so that the customer comments will be distinguished by the agent comments, when the messages are reported from WitiOp. 
  • AddAttachments: if set to true attachments are uploaded to SalesForce, else are inserted as links to WitiOp.