Hello community!
I'm using the Enhanced BOT in my company's operation and I've come across several customers who don't answer the satisfaction survey, which the BOT is responsible for collecting the customer's answers. However, customers fail to respond and the BOT closes the session close to 24 hours later, which affects our total service time.
I tried to implement a solution in APEX with a class triggered by an automation flow which changes the session status to "Ended", but according to the Messaging Session documentation, the "Status" field cannot be updated.
APEX class:
MessagingSession messagingSession = [Select OwnerId FROM MessagingSession Where id = '<session_id>'];messagingSession.Status = Ended;update messagingSession;
Is there a solution via APEX or Enhanced BOT settings?
Hi, sorry for the inconvenience. If you don't receive a response here, we recommend reaching out to our support team for further assistance. You can do so by visiting https://help.salesforce.com/s/articleView?id=000393090&language=en_US&type=1