Skip to main content
小组

Enhanced Chat (Messaging In-App/Web)

This Trailblazer community serves as a central hub, fostering dynamic discussions among customers, partners, users, and Salesforce teams on Enhanced Chat (formerly Messaging for In-App and Web). Beginning in June 2025, Messaging for In-App and Web is changing its name to Enhanced Chat. During this transition, you can possibly see references to both names in our documentation. We wish we could magically update the name everywhere at once, and we thank you for your patience as we evolve.

In my MIAW setup (synchronous), a customer receives "Agents are not available. Try again later," when a Messaging Session is received during business hours and no agents are available or are busy. 

 

When an agent becomes available, these Messaging Sessions are not routed to them. Why? 

 

These Messaging Sessions are owned by Automated Process, stuck in a Status of Waiting, aren't re-routed in Omni-Channel when an agent comes online, have no option to change the Owner from Automated Process, and can't be ended or deleted. 

 

What are we supposed to do with these records? How can I get them rerouted to an agent, end them, or delete them? 

 

Please note, this is specific to Messaging Sessions where the customer received the "Agents are not available. Try again later."

19 个回答
  1. 7月20日 15:33

    I'm sure this is way late to answer, but if you go to the messaging user of the message you can end the conversation

0/9000

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日 22: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

@* 質問広場~初心者から上級者まで~ 日本 *

 

@Enhanced Chat (Messaging In-App/Web)

 

こんにちは。 

既知の問題「 iOSデバイス上のSafariにおいて、トップタブレイアウトを使用すると拡張チャットヘッダーが隠れてしまう 」について、対応している方がいましたらご教示ください。 

 

ボットの設置場所

・特定の「申し込みページ」 

 

発生している問題

・iOSのSafari(トップタブレイアウト)で、チャットヘッダーが隠れることで、利用者はボットの終了や最小化ができず、申込画面に戻れなくなる。  

・画面を戻すにはブラウザの「戻る」操作しかなく、入力途中のデータが消えて最初からやり直しになる。

・この不便さにより、ユーザーが申し込みを諦めて離脱してしまう可能性が極めて高い。

 

この問題に直面し、すでに何らかの対応をしている方がいればアドバイスをいただきたいです。 

よろしくお願いいたします。

2 个回答
  1. 7月14日 23:46

    @Keiji Otsubo

     さん 

    ご教示いただきありがとうございます。 

    iphone側でSafariの設定を変えることで、タブの位置が変わること確認ができました!  

     

    コチラの方法は、おもにチャット利用者(お客様)に設定いただくものかとおもいますが、 

    チャットを運用する側で対応できる方法はありますでしょうか? 

     

    例えば、チャットを開く前にトップタブレイアウトの利用者へ注意喚起をする方法など、 

    チャットボットでの工夫や運用面での工夫などあればアドバイスいただきたいです。

     

    よろしくお願いいたします。

0/9000

I am using MIAW Enhanced Web Chat on Experience Cloud (Experience Builder).

Issue: When I minimize the chat window, the default circle button reappears. I want only my custom button to show. 

 

Default circle button reappears after minimizing MIAW chat window in Experience Cloud (Enhanced Chat Bot)

It is there any option? 

 

2 个回答
  1. 5月7日 10:47

    Hi @Rajesh Chintalakonda

     

    We had similar issue when working on similar feature.  

     

    You can override standard button class and make it hidden. Add the css in respective embedded site.  

     

    Do let me know if you need more info.

0/9000

We are currently configuring enhanced chat to use within our experience site.  How can I configure the "Agents are not available. Try again later." message in salesforce enhanced chat? We are not putting agentforce within our chat to start. 

Is there anyway to control the

 

 

8 个回答
  1. 2025年11月17日 08:19

    Hi @Chelsey Latzig

    - have you seen reasonForNotRouting?  

     

    I've tested checking Agent Availability in Onmi Flow then routing... to nothing... but updating the the reasonForNotRouting text to be custom  

     

    https://help.salesforce.com/s/articleView?id=service.omnichannel_create_reasonfornotrouting.htm&type=5

     

     

    Salesforce Omni Channel Flow reasonForNotRouting (YouTube InfallibleTechie)

0/9000

Hello we are trying to block our customers from sending us links on enhanced chat v1. 

We still want our Salesforce users to be able to send links. 

1 个回答
  1. 5月19日 08:02

    Hi @Reginald Swan

     

    Enhanced Chat doesn’t currently offer a native option to block only customer-side links while still letting agents send them. The common workaround is to include custom validation or pre-message filtering using Embedded Service SDK, bots, or middleware. This helps detect URLs in incoming customer messages and block or warn users before they submit their messages. Salesforce users can still keep normal link-sharing capability on the agent side.

0/9000

 As part of the business requirement, a set of questionnaires (not via a survey link) should be sent after the agent ends the conversation. The responses captured from these questionnaires must be stored against the corresponding Case record. 

4 个回答
0/9000

Hello, 

We have migrated over to the MIAW from the Classic Live Agent (Chat Transcripts) and have noticed it's not a Like for Like.  Can anyone assist me in the following: 

 

  1. What is the best way to export the Conversations? With Chat Transcripts, I had a report and was able to email to the supervisors and the QA Team. The reports in SF don't have any of these.
  2. With Chat Transcripts, SF had OOTB Fields 
    1. Visitor Details: Visitor IP, Platform, Browser, Brower Language, etc
    2. Metrics fields: Visitor Average Response Time, Visitor Message Count, Wait Time, Wait Time in Minutes, Agent Average Response Time, Agent Message Count, Chat Duration

Do I have to create all these myself? We are using an Embedded Services 

 

Thank you in advance for you time and assistance.

14 个回答
  1. 4月28日 09:47

    Hi @Jeanette Albert

     

    MIAW is an enhanced messaging channel, and unlike the standard messaging channels, the content of the conversation (the transcript) is not stored in the ConversationEntry object. 

     

    Please refer to the articles below to learn more about the differences between standard and enhanced channels and the different ways you can export the conversation data in Enhanced Messaging: 

     

    https://developer.salesforce.com/docs/service/messaging-object-model/guide/messaging-object-model-access-data.html

     

     

    https://help.salesforce.com/s/articleView?id=service.working_with_conversation_data.htm&type=5

     

     

    https://help.salesforce.com/s/articleView?id=service.conversation_transcripts_aws_database.htm&type=5

     

     

    https://help.salesforce.com/s/articleView?id=003600224&type=1

0/9000

Just in case anyone else encounters this issue when trying to add a Permission Set for Enhanced Chat to a Permission Set Group. 

 

Per the instructions for

giving users access to Enhanced Chat I created a custom Permission Set and left the License dropdown set to None, then added the App Permission "Enhanced Chat Rep

." The problem came when I tried to add my new Permission Set to a Permission Set Group, rather than just assign it to a user. I kept getting an error telling me that the Salesforce "user license doesn't allow the permission: Enhanced Chat Rep." 

 

Finally I realized I needed to make two separate Permission Sets. One with 

Enhanced Chat User selected as the License and Enhanced Chat Rep selected in App Permissions. And then a second with no license selected and all the other necessary permissions that aren't available in the license specific permission set options.

0/9000

We recently went live with Salesforce embedded chat on our website. Our agents are currently finding it difficult to monitor incoming chat requests, as the notification icon appears briefly and can be easily missed and they don't have their headphones on all the time. 

 

Is there any way we can highlight the tab they're logged in to Omni channel with a flashy pop up/color that can draw the agent's attention. Basically I'm looking for a visual indicator to alert the agent of a new chat request. Looking for suggestions. 

3 个回答
0/9000