Versions Compared

Key

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

...

The entire flow is customisable since every Salesforce environment is different. This existing flow is applicable to most Salesforce environments that have a standard Sales for Service cloud implementation. For more information how to configure the standard trigger, go to:Configure the Social25 Multi Chat

/wiki/spaces/GPDI/pages/2864873541

Field Mapping

1. Lead

Code Block
languagejava
Lead(
	Heroku_Conversation_Id__c = Heroku_Message__c.Chat_Identifier__c,
	LastName = Heroku_Message__c.User_Full_Name__c,
	Phone = Heroku_Message__c.User_Phone_Number__c,
	LeadSource = Heroku_Message__c.Conversation_Medium__c,
	RecordTypeId = Social25_Config__c.Default_Lead_Recordtype__c
)

...