Hi Team,
I am new to Copilot Studio.
I would like to integrate third party agent api's(Genesys) into PVA topic(Copilot Studio).
I have created a power automate flow and able to post customer messages to Genesys live agent with help of HTTP connector.
After posting message to Live Agent, I want to make another API call for receiving messages from live agent. I am able to receive message from agent with help of another API call. But Agent sends multiple messages, I want to display those messages to customer in the PVA.
FYI: Genesys Cloud will send live agent messages to a configured our endpoint or webhook URL.
In order to sync messages sent by live agent, I have to call second API continuously on periodical basis. I tried doing this using "Go To Step" task but after 100 seconds getting infinite loop exception.
I want to run this flow with help of GoToStep continuously on periodical basis, so that we can sync live agent messages to PVA bot. Once we receive new message from user, it should end previous flow execution and should start execution the flow from the beginning.
Can you please suggest the solution to my requirement. Is there any solution available in the Copilot studio to my requirement.