Close Menu
SalesforceCodex
    Facebook X (Twitter) Instagram
    Trending
    • The Ultimate Guide to Data Cleanup Techniques for Salesforce
    • How to Leverage Model Context Protocol (MCP) to Enhance Salesforce AI
    • Top Mistakes Developers Make in Salesforce Apex Triggers
    • Introducing Agentforce3 to Salesforce Developers
    • The Ultimate Guide to Apex Order of Execution for Developers
    • How to Handle Bulkification in Apex with Real-World Use Cases
    • How to Confidently Manage Transactions in Salesforce Apex
    • Building a Dynamic Tree Grid in Lightning Web Component
    Facebook X (Twitter) Instagram
    SalesforceCodex
    Subscribe
    Saturday, August 2
    • Home
    • Salesforce Platform
      • Architecture
      • Apex
      • Lightning Web Components
      • Integration
      • Flows & Automation
      • Best Practices
      • Questions
      • News
      • Books Testimonial
    • Industries
      • Artificial Intelligence
    • Hire Me
    • Certification
      • How to Prepare for Salesforce Integration Architect Exam
      • Certification Coupons
    • Downloads
      • Salesforce Release Notes
      • Apex Coding Guidelines
    • About Us
      • Privacy Policy
    • Contact Us
    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 Sahni6 Mins Read

    How to Leverage Model Context Protocol (MCP) to Enhance Salesforce AI

    July 28, 2025
    By Dhanik Lal Sahni7 Mins Read

    Top Mistakes Developers Make in Salesforce Apex Triggers

    July 25, 2025
    By Dhanik Lal Sahni14 Mins Read

    The Ultimate Guide to Apex Order of Execution for Developers

    July 20, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Ranked #1 Salesforce Developer Blog by SalesforceBen.com
    SFBenTopDeveloper
    Ranked #4 Salesforce Developer Blog by ApexHours.com
    ApexHoursTopDevelopers
    Categories
    Archives
    Tags
    apex (116) apex best practices (5) apex code best practice (10) apex code optimization (6) Apex logging (4) apex rest (11) apex trigger best practices (6) architecture (22) Asynchronous apex (9) AWS (5) batch apex (10) best code practice (4) code optimization (9) custom metadata types (5) design principle (9) flow (16) 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 (5) optimize apex code (6) optimize apex trigger (5) Permission set (4) Queueable (9) queueable apex (4) rest api (23) salesforce (150) salesforce apex (52) salesforce api integration (5) Salesforce Interview Question (5) salesforce news (5) salesforce question (5) solid (6) tooling api (5) 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

    MailChimp

    Expert Salesforce Developer and Architect
    Ranked #1 SALESFORCE DEVELOPER BLOG BY SALESFORCEBEN.COM
    Featured on Top Salesforce Developer Blog By ApexHours
    Recent Posts
    • The Ultimate Guide to Data Cleanup Techniques for Salesforce
    • How to Leverage Model Context Protocol (MCP) to Enhance Salesforce AI
    • Top Mistakes Developers Make in Salesforce Apex Triggers
    • Introducing Agentforce3 to Salesforce Developers
    • The Ultimate Guide to Apex Order of Execution for Developers
    Ranked in Top Salesforce Blog by feedspot.com
    RSS Recent Stories
    • Top 10 Salesforce CRM Trends to Watch in 2025 July 18, 2025
    • Discover the Top 10 Salesforce AppExchange Apps to Boost Productivity July 10, 2025
    • 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
    Archives
    Categories
    Tags
    apex (116) apex best practices (5) apex code best practice (10) apex code optimization (6) Apex logging (4) apex rest (11) apex trigger best practices (6) architecture (22) Asynchronous apex (9) AWS (5) batch apex (10) best code practice (4) code optimization (9) custom metadata types (5) design principle (9) flow (16) 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 (5) optimize apex code (6) optimize apex trigger (5) Permission set (4) Queueable (9) queueable apex (4) rest api (23) salesforce (150) salesforce apex (52) salesforce api integration (5) Salesforce Interview Question (5) salesforce news (5) salesforce question (5) solid (6) tooling api (5) 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.