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

The conversation with the customer appears to the Agent as follows:  


See the section WitiOp Manual fort further details. 


SALESFORCE

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

SALESFORCE

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

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


WITIOP



In the example, the Agent is agent.demo.

CONFIGURATION


The Case Number is a progressive number generated by Salesforce. 




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 RemovedImage Added

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



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 RemovedImage Added

In the example, the conversation Id is 1793.  


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.

Image RemovedImage Added

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 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).



AddAttachments: if set to true attachments are uploaded to SalesForce, else are inserted as links to WitiOp.