Hello Community,
We have a requirement for our web messenger setup to be able to send a "Canned Response" to a customer if there has been inactivity from their end post our Agents reply. So if customer has not replied back say 5 minutes after agent responded, then we send a canned response with a message about inactivity. Again if there is no response say after 10 minutes, we will message again and disconnect conversation, with the customer having ability to message us back later.
To solve this I was looking at Triggers and managed to configure one to run a data-action for api POST /api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages
The above approach does not work as the API can only be run in user-context and I can't do that within the trigger workflow. This is the error I get, "This request requires a user context. Client credentials cannot be used for requests to this resource."
Any help with this or any other approach would be really appreciated.
Regards
#WebMessaging------------------------------
Vineet Kakroo
Senior Technical Consultant
------------------------------