Using Bot for data manipulation use case in your company requires need of implementing some extra security layer to make it spoof proof. One of exciting salesforce feature we have is the well known Einstein Bot which many companies have implemented. I am going to cover detail step-by-step implementation of User validation use case using encrypted token. STEP-1: Create a Site & Site User go to setup > Sites & Domains > Sites Create a Site and make your user as "Site Contact". This is a prerequisites for live agent or Embedded Service setup. STEP-2 : Create a Embedded Service(formerly snap-ins) go to Service setup > Embedded Service Create a new Embedded Service Deployment record and copy the embedded service code snipped generated in a notepad. STEP-3 : Create a Visualforce page to test the chatbot (it will simulate the actual web portal which is going to consume the embedded service snipped.) BotController.apxc public class BotControlle...
Quick actions are not supported yet by LWC as per salesforce documents . As a workaround we need to create a container Lightning aura component and add the LWC components to it and the Lightning aura component can be added to quick actions. To add lightning component to a quick action go to setup-> Object manager -> Object -> Buttons & Actions and add the lightning component. The component should have the force:lightningQuickActionWithoutHeader interface LogACall.cmp <aura:component implements="force:lightningQuickActionWithoutHeader,force:hasRecordId" access="global"> <c:LogaCall_LWC recordId="{!v.recordId}" onsave ="{!c.saveFromLWC}"/> </aura:component> LogACall.js ({ saveFromLWC : function(component, event, helper) { $A.get('e.force:refreshView').fire(); } }) The lightning aura component will call the LWC component and also we are passing a custom even from LWC compone...