Skip to main content

#Messaging Session토론 중인 항목 1개

I have created a custom button to launch MIAW Chat on Community page and have hidden the standard button by setting visibility as always hidden. But after starting a chat , unless the user clicks on 'End Conversation' and closes the chat window , the standard button will always be visible. Even if agent ends the session , the user can still send new messages or just minimize the chat window. The conversation does not end. If user logs out with keeping the chat window and again logs in after sometime , chat window is still open on that page. Basically the custom button is of no use if user starts a chat and  doesn't end conversation and closes window.

 

Is there any APIs or any other way to close complete conversation when Agent ends the session?

 

#Messaging Session #Service Cloud #Messaging

답변 9개
  1. 7월 15일 오후 10:09

    @Don Schueler How to programmatically determine if a MessagingSession was ended by the new "End Session Based on Inactivity" automation vs. manually by an agent?

0/9000
Vikrant Goswami 님이 #Flow에 질문했습니다

Hi all, I have a flow routing the incoming messaging requests to a queue for messaging for web implementation. But I see the routing is failing for some messaging requests and flow is failing at Route Work action with this error 'The queue must be an Omni-Channel queue This Route Work invocable action did not create a valid Pending Service Routing.' Now my question is that since it works just fine for most of the messaging requests then how can there be an issue with the queue. I am not able to figure out the issue here. I have also checked the data of incoming messaging requests for both failing and passing cases and I can't see any relevant issue in the data as well. 

Has anyone faced this before? Is there something I should look at which I may be missing here? 

Let me know please, thanks!! 

 Edit - Adding image of the error in flow.

#Messaging Session  #Service Cloud

 

Messaging Sessions going to Fallback Queue

 

 

 

#Flow

답변 6개
0/9000
Ariel Gencianeo (N/A) 님이 * Service Cloud *에 질문했습니다

Hello Everyone,

 

Just want to ask if it is possible to end both Conversation and messaging session  when agent click End Chat button in messaging session page so that it will also end the conversation in customer's prechat form?

 

#Service Cloud

답변 8개
  1. 2023년 11월 15일 오후 8:27

    Ariel,

     

    As of now, there is no configuration for this. But, the end visitor will see a message that the agent left the conversation.

0/9000

I was successfully able to setup Messaging for In App and Web in my sandbox and it's working fine. Now I have deployed the complete MIAW setup to higher orgs via VS Code , I was able to deploy all the sites, networks, Messaging Channel, EmbeddedServiceConfig, VF Page etc. successfully.

But I'm facing error while publishing the embedded service. I'm getting a success mail saying that the site is successfully published but I'm getting below error just after clicking "Publish" :

Something went wrong, Gack ID: 1839136551-31169 (1553746173)

 

Also, the "Test Messaging" is disabled. The VF page which was created in the previous org , I have deployed that as well and updated all the urls in the page to new sandbox but still it doesn't help. Since it's mentioned that they will create a new vf page , I tried deleting the deployed vf page but still same issue.

 

 

Any help would be appreciated. Although I can create a new embedded service manually in the new sandbox but it would be good to fix this. As I have deployed all components , just need to publish it.

 

#Service Cloud #Messaging Session #Messaging

답변 4개
  1. 2025년 5월 14일 오후 4:20

    @Fazleabbas Jafry

     

    I had to create a new embedded service deployment. The got fixed after this. 

    Please share if you have any other approach for this.

0/9000

 I’m working on migrating from LiveChat to Messaging for In-App and Web and need to apply custom CSS to the Einstein Bot within the customer chat window. Specifically, I want to:

  • Increase the font size for better readability
  • Make focus states clearly visible for accessibility
  • Avoid keyboard traps to ensure smooth tab navigation

 While inspecting the implementation, I looked into the minified .js asset files to find styling hooks or class names, but modifying those directly doesn’t seem safe or maintainable.

I’m looking for guidance or examples on how to safely apply these styles, ideally without breaking Salesforce updates. What’s the recommended approach for customizing the chat window UI in this context? Is there official support or documentation for this kind of styling? 

@Enhanced Chat (Messaging In-App/Web) #Service Cloud  #Salesforce Developer #Omni Channel #Messaging Session

 

 

답변 1개
  1. 2025년 5월 4일 오후 3:54

    Faced similar limitation when migrating, unfortunately, the customizations are pretty limited. Here is some documentation to modify the styling for CSS of the text message bubble - https://developer.salesforce.com/docs/service/messaging-web/guide/customize-text-message-bubble.html?_ga=2.187649192.100907895.1738079703-1605979368.1737756652

     

    Modifying the css classes that you see when inspecting the UI on the browser is not recommended as those can change over time. The CSS/styling is primarily controlled using the branding section in the embedded service deployment.

0/9000

In legacy Live Chat, we used to show all chat transcript record for a particular Case on our community case detail page in a related list. It seems we cannot do the same in MIAW because we can only fetch the conversation via Connect API. Just came across this MIAW feature that it allows end users to see old conversation if they are verified. Can anyone please help with how to verify users for this. I have seen multiple documents but they all seem to be about external Websites and android apps. I need this only for Community.

 

Not sure , if it will serve our purpose because we display chat button on Case Detail page and would ideally like to see conversation for that particular case only but one end user can have multiple cases.

 

#Messaging Users #Messaging Session #Service Cloud #Messaging

답변 15개
  1. 2025년 4월 23일 오후 5:44

    We spent about 2 hours on the phone with our IT person and the SF support team to get it set up in our sandbox. I could not tell you what they ended up having to do at the end of all that. BUT also, we were told after all of that we really did not need User Verification since all of our users will be authenticating in from Experience Cloud not an external platform. I am sure that may have changed by now. We had to abandon that project for others.

0/9000

I have configured MIAW on community and pass the case ID and User ID as hidden pre-chat fields. In the omni-channel flow , I'm linking the case and contact to messaging session and messaging user object and then the routing takes place. 

The pre-chat frequency is set to Every Session , so I get caseId and user Id whenever a new session starts. But there is a scenario that session is inactive and customer again sends a message.  

I'm sure here the pre-chat fields will not be sent again but since the Messaging Session was already linked to a Case , it should route properly. 

Instead , even the related case record is removed from the Messaging Session. I'm  updating the messaging session only when a caseId is received  , then how it is becoming blank ? Also , the chat is now routed to Fallback Queue. When exactly does this omni-channel flow gets invoked ? 

 

#Messaging Session #Omni Channel

답변 1개
  1. 2025년 2월 6일 오후 4:19

    Hello, 

    Maybe try to add a decision in your Omni flow to check if the caseId is populated of not... If a Case existe then do not create a new one.

0/9000
Ariel Gencianeo (N/A) 님이 * Service Cloud *에 질문했습니다

Hello Everyone,

 

Just want to ask why in messaging session from inactive to waiting to active status, change the related record case subject field gets updated from being populated to blank? why this happens?

 

#Omni Channel #Messaging Session #Case

답변 4개
  1. 2023년 11월 13일 오전 6:26

    thanks for responding to my question, but this is now solved i just add a decision element to check if case already exist in messaging session and if exist just do nothing, to answer the question its a messaging for web only and I'm not observing the case

0/9000
0/9000

Does anyone know how to access the ConversationContextEntry object in Omni-flow? I keep trying to create a variable within the flow but the object is never there. I've added the permission necessary via permission set but I still can't see it. Any ideas?

 

#Salesforce #Messaging Session #Omni Channel #Flow

답변 2개
  1. 2024년 3월 10일 오후 8:04

    Yes thank you but I did that before I posted. Looks like it's inaccessible for people now. 🤷🏾‍♀️

0/9000