I do not find any way to send an automated message once agent has joined the messenger chat. Please find below options analysed and let me know if we have any other option.
I find 2 API
- POST /api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages
This one has to be used with user context
- POST /api/v2/conversations/messages/agentless
This one does not support web messenger channel
Say if I have to use 1 then I can try an integration widget but we do not have an option to set a default widget. Only if we can set this widget as default one then this widget will load on answer and can execute the send message as part of it. But presently I cannot set default widget now.
I think I cannot use script as the user context cannot be used by adding a web url component .i.e. iframe (correct me if I am wrong ?)
Are there any other way expectation can be met?