Salesforce | Administration | Email-to-Case | Create Cases using Email-to-Case

Email to Case

Setup

·       Click on Email-to-Case

A screenshot of a computer

AI-generated content may be incorrect.

·       Enable the following flags,

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

·       Provide the Routing Address

A screenshot of a computer

AI-generated content may be incorrect.

·       Add details of Email-to-case Routing addresses

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

·       You can assign Owner of the case to an User or a Queue. Once case is created that case will go the pointed user or queue.

·       Now, you need to verify the email address + while sending the email, you need to send it to Email Service Address

Verification

·       After the setup, you will receive the following kind of email to the registered email. Verify the email address by clicking the following link,

A screenshot of a computer

AI-generated content may be incorrect.·  

Validation

A screenshot of a computer

AI-generated content may be incorrect.

·        In Salesforce, if you open the Case object, you can notice a new case has been created,

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

·       Agent can open the case and respond to the email,

A screenshot of a computer

AI-generated content may be incorrect.

·       Customer can notice the email in their mail box from the Agent and respond back as well,

A screenshot of a computer

AI-generated content may be incorrect.

·       Customer can respond the email and Agent will receive the same,

A screenshot of a computer

AI-generated content may be incorrect.

Salesforce | Administration | Enhanced Chat v2

What is Salesforce Enhanced Chat v2?

Enhanced Chat v2 is a new customer interface for Enhanced Chat. V2 is optimized for modernized features and agentic use cases. It is a redesigned version to support multi-modal experience in the future.

List of things needed for Enhanced Chat

  • Enable Omni-Channel
    • Omni-Channel Queue-Based Routing or Omni-Channel Flow Routing (Recommended)
  • Enable Messaging
  • Enable Digital Experiences 
  • Configure Service Console App
  • Setup the Language
  • Assign Permission Sets for the users
    • Messaging User
    • Service Cloud User
  • Create Service Channels - Route work from a Salesforce object, such as cases, chats, leads, or even custom objects, to support agents *Not created and came by default
    • Name: Messaging
    • Salesforce Object: Messaging Session
  • Create Messaging Channel - Enhanced Messaging provides more ways to exchange information with customers. To message customers, turn on Messaging and create channels.
    • Name: Website Chat Channel
    • Queue: Enhanced_Chat_Queue1
  • Create Omni-Channel Flow - If you have opted for Omni-Channel Flow in the Messaging Channels
    • Flow Name: Flow Chats to Agents and Queues
    • Route work name: QueueBasedRouteWork
    • Service Channel: Messaging
    • Route To: Queue
    • Queue: Enhanced_Chat_Queue1
  • Create Queues & Assign Agents - Queues allow groups of users to manage a shared workload more effectively. A queue is a location where records can be routed to await processing by a group member. The records remain in the queue until a user accepts them for processing or they are transferred to another queue.
    • Enhanced_Chat_Queue1
    • Enhanced_Chat_Queue2
    • Routing Configurations: Enhanced_Chat_Routing 
    • Selected Objects: Messaging User, Messaging Session
  • Create Routing Configurations - Specify how work items are routed to agents. Define the relative priority and relative size of work items. Create a routing configuration for each service channel in your org
    • Name: Enhanced_Chat_Routing
    • Queue: Enhanced_Chat_Queue1
    • Overflow Assignee: Level2.
  • Update Presences Status - Let agents indicate when they’re online and available to receive work items from a specific service channel, or whether they’re away or offline.
    • Online, Offline, Busy
  • Enabled Service Presence Statuses
  • Add “Messaging Session Record” page with “Enhanced Conversation”

Enable Omni-Channel

Omni-Channel Queue-Based Routing

Define a Queue for your chat requests and assign it to a Routing Configuration.

  • Go to Setup (gear icon).
  • In the Quick Find box, search for "Omni-Channel Settings" or navigate to Feature Settings > Service > Omni-Channel.
  • Check the "Enable Omni-Channel" box and click Save. Enhanced Chat relies entirely on Omni-Channel for routing.

A screenshot of a chat

AI-generated content may be incorrect.

Omni-Channel Flow Routing (Recommended)

Build a Flow to dynamically route the chat to the correct Queue, Agent, or even an Einstein Bot based on pre-chat data or business logic.

  • Enable “Enhanced Omni-Channel Routing” and select Routing types, you wanted to support

A screenshot of a computer

AI-generated content may be incorrect.

Enable Messaging 

Turn On Messaging: Setup > Messaging and follow the steps to enable the feature for your organization.

A screenshot of a computer

AI-generated content may be incorrect.

Enable Digital Experiences

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Configure Service Console App

  • In Setup, go to App Manager and find your Service Console app.
  • Click the dropdown arrow and select Edit.
  • Go to Utility Items and click Add Utility Item, then select Omni-Channel.
  • Add essential navigation items like Cases, Accounts, etc..
  • Assign the app to relevant user profiles (e.g., System Administrator, Support Profile).

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Language Setup

  • Edit the language from “Translation Language Settings”
  • Add the users

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Assign Permission Sets for the users 

Assign Permission Sets: For all Service Reps who will handle the chat, assign the following:
  • Messaging User Permission Set.
  • Service Cloud User (if not already assigned).

A close-up of a white box

AI-generated content may be incorrect.

A screenshot of a phone

AI-generated content may be incorrect.

Service Channels 

  • Validate whether Messaging Channel is available 
  • And, Sales Object should be “Messaging Service”

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Messaging Channels

  • In Setup > Messaging > New Channel
  • Select Messaging for Web (this is the core of Enhanced Chat)
  • Make sure the supported object should be Messaging Session

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a video chat

AI-generated content may be incorrect.A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.A screenshot of a channel

AI-generated content may be incorrect.

  • If you wanted to go for Omni-Channel Queue-Based Routing, select Omni-Queue and provide the Queue details
  • If you wanted to go for Omni-Channel Queue Flow-Based Routing, select Omni-Flow and select the flow you are going to create in the following steps

Omni-Channel Flow-Based Routing

Chats routed to Agents and Queues

Create a Omni-channel flow

 A screenshot of a computer

AI-generated content may be incorrect.

·       Create Queue based route work and push the received message to the Queue

A screenshot of a computer

AI-generated content may be incorrect.A screenshot of a computer

AI-generated content may be incorrect.A screenshot of a computer

AI-generated content may be incorrect.

  • Edit message settings to Omni-Channel Settings 
    • Routing Type: Omni-flow
    • Flow Definition: Flow Chats to Agents and Queues
    • Fallback Queue: Enhanced_Chat_Queue1

o   Fallback Queue: Enhanced_Chat_Queue1

A screenshot of a computer

AI-generated content may be incorrect.

Skill-Based routing

·       Add Skills

A screenshot of a computer

AI-generated content may be incorrect.

·       Add “Skills-Based Routing Rules”

A screenshot of a computer

AI-generated content may be incorrect.

·       Create flow on skill-based route work

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Routing Configurations

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Queues

Queues are where work items are held until an agent is available. 

  • From Setup, enter Queues in the Quick Find box and select it.
  • Click New.
  • Enter a Label and Queue Name.
  • Select the Routing Configuration you created in the previous step.
  • Under Supported Objects, add the object you associated with your Service Channel.
  • Add Queue Members (individual users, roles, or public groups) who can receive work from this queue.
  • Click Save

·        

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Presence Statuses

  • Search for Presence Configurations in Setup, 
  • Click New, and set your agent's online status and capacity

A screenshot of a computer

AI-generated content may be incorrect.

Add Presence Statuses to Enabled Service Presence Statuses

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Configure the Deployment

  • Select your Channel from “Embedded Service Deployments”
  • Branding: Set colors, fonts, and the agent avatar to match your company branding

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Deploy and Test

The final step is to embed the chat widget on your website and test the end-to-end experience.

Generate the Code Snippet

  • The deployment process will generate a code snippet (JavaScript). This is the code you need to embed the chat widget on your website or Experience Cloud site.

Embed the Snippet

  • Copy the code snippet and paste it into the footer or header of the webpages where you want the chat widget to appear.
  • For Experience Builder Sites: You can often use a built-in component or paste the code into the Head Markup.

A screenshot of a computer

AI-generated content may be incorrect.

Embed the Snippet and Test

  • Copy the code from above steps
  • Create Visualforce pages

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

  • Add “Enhanced Conversation” to “Messaging Service Record” Page
  • Open “Messaging Sessions” page from App Launcher

A screenshot of a computer

AI-generated content may be incorrect.

  • Open Any of the Messaging Sessions and edit the page to add “Enhanced Conversation” 

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Validation of Enhanced Chat

  • Update the Agent status to “Online”

A screenshot of a computer

AI-generated content may be incorrect.

  • Open the visual force page and click on the preview of the page, what you have created,

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

  • Now, you can notice these messages in the Service Console page,

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

 

 










My Writings........

Salesforce | Administration | Email-to-Case | Create Cases using Email-to-Case

Email to Case Setup ·        Click on Email-to-Case ·         Enable the following flags, ·        Provide the Routing Addres...