Is there a way to fire any automation when a MessageSession record's status is changed to "Ended", or in other words when the user clicks end chat?
I have got a MessageSession trigger that I can see is firing on update via the developer console's debug logs, but no debug log is created when end chat is clicked. Also tried a process builder but same issue, doesn't fire.
Several use cases, parenting files to the correct record (Lead and/or Case) and saving the conversation elsewhere etc.
If relevant I can see a rest call to the below in the Chrome network console when clicking end chat: