If you are going to forward to another number and have it come back to the queue, you could use the button in the script to do the call to a Secure Flow and pass the agent's name or ID as part of the data. In the Secure Call use Set Participant Data to assign the user onto the call. Transfer to an Inbound Call flow, where you do the Dialogflow stuff. Then Get Participant Data and look up the User based on what was passed from the script and Secure Call flow, and use that to transfer back to the queue assigning that agent as the Preferred Agent, so the call goes back to the same agent if they are available.
Maybe that would work?
@Melissa Bailey, your thoughts?
Or, if you have an Inbound Call flow with the Call Dialogflow Bot action configured, the agent could do a Consult Transfer to the DID for that flow (the call will stay internal to Genesys Cloud). Have a greeting in the flow, then a pause of a few seconds for the agent to join the customer to the consult (play a short .wav, or play silence, or whatever). The agent can mute himself while the customer talks to the Bot. Then, when the customer is done talking to the Bot the agent can cancel the transfer and continue talking to the customer. That prsumes it is ok for the agent to hear what the customer says to the Bot.
------------------------------
George Ganahl GCP (Genesys Cloud), ICCE
Principal Technology Consultant
Genesys
------------------------------
Original Message:
Sent: 05-07-2020 09:46
From: Kartik Sura
Subject: Transfer to a dialogflow bot
Thanks. An alternate implementation (i did some prototype on this)
1. We create a dialogflow bot and expose it with a phone number (rather than integrating with genesys)
2. The agent forwards the call to the dialogflow phone
3. The dialog flow does its work and transfers back to the genesys phone number
4. The caller can talk to the agent (though it might be a different agent)
--
Original Message------
Shoot. So much for that idea.
The Resource Center doesn't list the specific types of flows that have the Bot action.
------------------------------
George Ganahl GCP (Genesys Cloud), ICCE
Principal Technology Consultant
Genesys
------------------------------