Loading
메일 전송 도메인 확인 상태 안내더 많이 읽기

Salesforce Conversations Start Outside Business Hours in Enhanced Chat

게시 일자: Jan 23, 2026
상세 설명

Enhanced Chat (MIAW) does not natively prevent new messaging sessions from being created outside configured business hours. When a customer presses the chat button during business hours, a session object is created — but if the button was pressed just before business hours end, the session may still initiate. This article describes how to use Omni-Channel Flow and an Enhanced Bot to detect and end sessions that start outside of business hours.

 

솔루션

To prevent sessions from starting outside business hours, create an Enhanced Bot to end conversations and configure an Omni-Channel Flow to route them starting outside of business hours to that bot.

Prerequisite:

  • The business hours are 9:00 AM to 6:00 PM JST (0:00 AM to 9:00 AM UTC), excluding Sundays. 

Enhanced Bot configurations:

  • Dialogs > [Welcome] dialog
    • Update the message to state that the conversation cannot be accepted as it is outside business hours
    • In [Next Step], change the action to [Start another dialog] (End Chat)
  • Overview > Settings
    • Set [Custom]  and 0.0 in Bot Response Delay

Omni-Channel Flow resource configurations:

  • Variable 1
    • Data Type: Date/Time
    • NOW()
  • Variable 2 (UTC)
    • Data Type: Date/Time
    • DATETIMEVALUE(TEXT(TODAY())&" 00:00:00")
  • Variable 3 (UTC)
    • Data Type: Date/Time
    • DATETIMEVALUE(TEXT(TODAY())&" 09:00:00")
  • Formula 1
    • Data Type: Number
    • WEEKDAY({!$Flow.CurrentDate})
  • Flow element: Decision
    • [Any Condition Is Met (OR)]
    • Variable 1 | Less Than | Variable 2
    • Variable 1 | Greater Than | Variable 3
    • Formula 1 | Equals | 1 

This Decision element routes the flow to the first path when outside business hours and to the Default Outcome when within hours. By routing the first path, you can end the sessions that start outside of business hours.

Knowledge 기사 번호

005123916

 
로드 중
Salesforce Help | Article