So do we have a solution to the original requirement: send a response to the customer automatically when the agent answers the chat? we cant use the routing flow because at that point we dont know which agent answers the call so this message can only be sent when the agent has the chat (connected). If we cant use the readily available API via data action then what other alternatives do we have?
It seems to me the only option is to have custom code running in the agent desktop in IFRAME which will use implicit grant and then it can invoke the API directly. It is a shame we have to have customer code for this otherwise simple requirement.
------------------------------
Zsolt Belicza
Uc, Cc Architect
------------------------------
Original Message:
Sent: 06-03-2025 10:35
From: Jan Heinonen
Subject: How to run an automatic response showing the agent's name in a web chat message
No, most API calls that affect active conversations require User Context so you can't use Data Actions.
------------------------------
Jan Heinonen
Contact Center Specialist
GlobalConnect AB
------------------------------
Original Message:
Sent: 06-03-2025 10:31
From: Zsolt Belicza
Subject: How to run an automatic response showing the agent's name in a web chat message
the problem with this approach is that post/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages is an API which requires implicit grant (user context). if you invoke the API via a data action then it will execute it as client credential OAuth so the API call will fail. is here a solution to this part?
------------------------------
Zsolt Belicza
Uc, Cc Architect
Original Message:
Sent: 08-13-2024 15:39
From: Nicole Milliken
Subject: How to run an automatic response showing the agent's name in a web chat message
So glad you found this!
------------------------------
Nicole Milliken
Genesys - Employees
Original Message:
Sent: 08-12-2024 04:52
From: Miguel L. Portugues
Subject: How to run an automatic response showing the agent's name in a web chat message
Hi i found the comunicationID , its the peer inside the participant, thanks for all.
------------------------------
Miguel L. Portugues
Sabio Ibérica, S.A.
Original Message:
Sent: 08-08-2024 13:27
From: Nicole Milliken
Subject: How to run an automatic response showing the agent's name in a web chat message
Hi Miguel,
You got an answer in the latest episode of the Genesys Cloud Q&A Show at time marker 9:35. Hope this helps you.
------------------------------
Nicole Milliken
Genesys - Employees