Close Menu
SalesforceCodex
    Facebook X (Twitter) Instagram
    Trending
    • Building a Dynamic Tree Grid in Lightning Web Component
    • 10 Salesforce Chrome Extensions to Boost Your Productivity
    • How to Build a Generic Modal Window in Lightning Web Component
    • Top 10 Salesforce Flow Features of Salesforce Summer ’25
    • Unlock the Power of Vibe Coding in Salesforce
    • How to Implement Dynamic Queueable Chaining in Salesforce Apex
    • How to Implement Basic Queueable Chaining in Salesforce Apex
    • How to Suppress PMD Warnings in Salesforce Apex
    Facebook X (Twitter) Instagram
    SalesforceCodex
    Subscribe
    Saturday, July 5
    • Home
    • Architecture
    • Salesforce
      • News
      • Apex
      • Integration
      • Books Testimonial
    • Questions
    • Certification
      • How to Prepare for Salesforce Integration Architect Exam
      • Certification Coupons
    • Integration Posts
    • Downloads
    • About Us
      • Privacy Policy
    SalesforceCodex
    Home»Salesforce»Setting Up Live Chat with Salesforce Messaging

    Setting Up Live Chat with Salesforce Messaging

    Dhanik Lal SahniBy Dhanik Lal SahniFebruary 20, 2024No Comments5 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Salesforce Messaging
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Salesforce Messaging refers to the suite of products and services offered by Salesforce that allow organisations to engage with their customers via several message channels. This feature is especially vital in today’s digital-first world, as customers expect fast, easy, and personalised interactions with businesses across different communications platforms. Salesforce Messaging enables businesses to communicate with clients via their chosen channels, such as SMS, MMS, WhatsApp, Facebook Messenger, and other popular messaging apps, all straight from the Salesforce platform.

    Key Features of Salesforce Messaging

    Omnichannel Messaging

    Salesforce Messaging enables businesses to connect several messaging services, including SMS, Facebook Messenger, WhatsApp, and web chat, into a single interface. This allows service agents to handle discussions across several channels within the Salesforce platform.

    Chatbots & Automated Responses

    Salesforce Einstein AI enables businesses to build chatbots that handle common questions and tasks, such as checking order statuses or making appointments, freeing agents to focus on more complicated issues.

    Seamless Customer Experience

    Salesforce Messaging provides a seamless customer experience by keeping conversation histories accessible to service agents, ensuring customers do not repeat previously supplied information. The continuity improves the overall consumer experience.

    Personalisation

    Leveraging Salesforce’s CRM data may tailor messaging exchanges to customer history, preferences, and context. Personalisation can boost consumer happiness and engagement.

    Proactive Messaging

    Businesses can start interactions with clients depending on specified triggers or events, such as an upcoming appointment reminder or a delivery status update.

    Use Cases of Salesforce Messaging

    Customer Support: Salesforce Messaging may deliver quick and efficient support, allowing customers to seek assistance via their chosen message channels.

    Sales & Marketing: Businesses can interact with potential clients using conversational messaging, answering inquiries, making recommendations, and even processing purchases within the chat.

    Appointment Scheduling: Automated chatbots can book and reschedule appointments and provide confirmations and reminders via message channels.

    Feedback Collection: Post-interaction questionnaires and feedback requests can be issued via messaging channels, making it easier for customers to offer useful information.

    Event Notifications: Customers can receive personalised notifications and updates about events, deals, and promotions via texting.

    Now we understand the usage of Salesforce Messaging, let us enable Live chat using the Salesforce Messing enhanced channel.

    Prerequisites for Enabling Messaging

    1. Enable Chat User in Service User Record
    2. Add Messaging User and Messaging for In-App and Web User Permission Set License to Service user
    3. Add User to Service Messaging Queue either directly or using profile/role etc
    4. Add a Messaging Channel in Presence Statuses (Chat – Available)

    Steps for Enabling Messaging

    1. Enable Salesforce Messaging
    2. Create Messaging for In-App and Web Channel
    3. Create Embedded Service Deployments
    4. Add Domain Url in CORS
    5. Test using the Test Page

    1. Enable Salesforce Messaging

    Enable Salesforce Messaging from Setup->Messaging Settings.

    Salesforce Messaging - SalesforceCodex
    Enable Salesforce Messaging Setting

    2. Create Messaging for In-App and Web Channel

    Create a Messaging Channel Messaging for In-App and Web from Setup->Messaging Settings. Select New Channel from the Messaging Setting Page.

    Messaging for In-App and Web - SalesforceCodex

    Select Messaging Channel Messaging for In-App and Web from the Messaging Channel selection page.

    Messaging Channel in Salesforce Messaging

    It will open the Name your channel page. Put a name according to your solution. I have added the name Live Chat for Experience Cloud for this blog post.

    Messaging Channel - SalesforceCodex

    Once the message channel is created, set Routing Type as Omni-Queue and Service Messaging as Queue.

    This messaging channel should be activated to use. So activate it by clicking the Activate button from the messaging channel page.

    3. Create Embedded Service Deployments

    Embedded Service Deployments is a useful tool that enables businesses to include Salesforce Service Cloud functionality directly into their websites or mobile apps. Embedded Service Deployments use Salesforce’s Lightning Service Console to provide services such as live web chat, chatbots, case submission forms, knowledge articles, and more, all integrated into the company’s digital presence.

    To create new Embedded Service Deployments, start from Setup->Embedded Service Deployments. Click the button New Deployment on the Embedded Service Deployments page.

    Select Messaging for In-app and Web on New Embedded Service deployment.

    Embedded Service deployment -SalesforceCodex

    It will open the deployment destination page. You can select based on your requirements. I have selected Web for this post.

    Once the deployment destination is selected, it will ask to put deployment details. Enter deployment details to create embedded service deployment.

    After putting detail click save to crate service deployment. It will take some to create service deployment. Once Embedded Service Deployment is created, publish it to test.

    4. Add Domain Url in CORS

    Add your domain URL in CORS from the Setup menu. Set CSP Context to All and enable all CSP directives.

    5. Test using the Test Page

    We can test Salesforce messaging from the Embedded Service Deployment Settings page. Click on the Test Chat Component on this page. This will open the Try Out chat page.

    Before opening this page, Enable Available Chat from the Omni Channel component. Check the attached video for testing the Salesforce Messaging feature.

    References

    Salesforce Messaging – Trailhead

    Salesforce Messaging

    Related Posts

    Integrate Slack in Salesforce for Real-Time Notifications

    Low Code Integration for Text Translation using SysTran API

    Posting Rich Text Chatter using Apex

    Create Jira Issue in Salesforce Apex with Jira Integration

    Accessing External Credential Parameters of Named Credential in Salesforce Apex

    Need Help?

    Need some kind of help in implementing this feature, connect on my LinkedIn profile Dhanik Lal Sahni.

    architecture chat CORS CSP Customer Experience Embedded Service Deployments lightning live chat messaging in salesforce omnichannel omnichannel messaging Personalisation Proactive Messaging salesforce salesforce messaging Salesforce Service Deployment Service Deployment Trusted Urls in Salesforce
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleTop Developer Features in Salesforce Spring ’24 Release
    Next Article Appointment Assistance Real Time Location Url Generation
    Dhanik Lal Sahni
    • Website
    • Facebook
    • X (Twitter)

    With over 18 years of experience in web-based application development, I specialize in Salesforce technology and its ecosystem. My journey has equipped me with expertise in a diverse range of technologies including .NET, .NET Core, MS Dynamics CRM, Azure, Oracle, and SQL Server. I am dedicated to staying at the forefront of technological advancements and continuously researching new developments in the Salesforce realm. My focus remains on leveraging technology to create innovative solutions that drive business success.

    Related Posts

    By Dhanik Lal Sahni4 Mins Read

    Building a Dynamic Tree Grid in Lightning Web Component

    June 29, 2025
    By Dhanik Lal Sahni9 Mins Read

    10 Salesforce Chrome Extensions to Boost Your Productivity

    June 1, 2025
    By Dhanik Lal Sahni4 Mins Read

    How to Build a Generic Modal Window in Lightning Web Component

    May 26, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Ranked #1 SALESFORCE DEVELOPER BLOG BY SALESFORCEBEN.COM
    Featured on Top Salesforce Developer Blog By ApexHours
    Recent Posts
    • Building a Dynamic Tree Grid in Lightning Web Component
    • 10 Salesforce Chrome Extensions to Boost Your Productivity
    • How to Build a Generic Modal Window in Lightning Web Component
    • Top 10 Salesforce Flow Features of Salesforce Summer ’25
    • Unlock the Power of Vibe Coding in Salesforce
    Ranked in Top Salesforce Blog by feedspot.com
    RSS Recent Stories
    • Top 20 Salesforce Data Cloud Interview Questions & Answers for Admins June 5, 2025
    • How to Connect Excel to Salesforce to Manage Your Data and Metadata February 9, 2025
    • Difference Between With Security and Without Security in Apex January 2, 2025
    • Top Reasons to Love Salesforce Trailhead: A Comprehensive Guide December 5, 2024
    • How to Utilize Apex Properties in Salesforce November 3, 2024
    Archives
    Categories
    Tags
    apex (112) apex code best practice (8) apex rest (11) apex trigger best practices (4) architecture (22) Asynchronous apex (9) AWS (5) batch apex (9) batch processing (4) code optimization (8) custom metadata types (5) design principle (9) einstein (3) flow (15) future method (4) google (6) google api (4) integration (19) integration architecture (6) lighting (8) lightning (66) lightning-combobox (5) lightning-datatable (10) lightning component (32) Lightning web component (64) lwc (53) named credential (8) news (4) optimize apex code (4) Permission set (4) Queueable (9) rest api (23) S3 Server (4) salesforce (143) salesforce apex (48) salesforce api (4) salesforce api integration (5) salesforce bulk api (3) Salesforce Interview Question (4) salesforce news (5) salesforce question (5) solid (6) tooling api (5) Visual Studio Code (3) Winter 20 (8)

    Get our newsletter

    Want the latest from our blog straight to your inbox? Chucks us your detail and get mail when new post is published.
    * indicates required

    Facebook X (Twitter) Instagram Pinterest YouTube Tumblr LinkedIn Reddit Telegram
    © 2025 SalesforceCodex.com. Designed by Vagmine Cloud Solution.

    Type above and press Enter to search. Press Esc to cancel.

    Ad Blocker Enabled!
    Ad Blocker Enabled!
    Our website is made possible by displaying online advertisements to our visitors. Please support us by disabling your Ad Blocker.