This article explains how to insert a message into connect support conversation while clicking on a connect action.
There might be business requirements where predefined messages will have to be inserted in connect support conversation while connect action is clicked and it is captured in the record's activity stream.
Release or Environment
Any release supporting Connect Support plugin
Suggested script below can be injected into a Connect Action and it will result in the message displaying in the connect conversation both for the Agent and End User
var id = sn_connect.Conversation.get(conversation.sys_id);