Legacy Dev Forum Posts

 View Only

Sign Up

Genesys Dialogflow ES - User phone_call model

  • 1.  Genesys Dialogflow ES - User phone_call model

    Posted 06-05-2025 19:24

    Botmatic | 2023-06-14 08:30:18 UTC | #1

    Hi all,

    We are using the Dialogflow ES integration and want to use the phone_call model as suggested here: https://help.mypurecloud.com/articles/specify-the-google-cloud-dialogflow-es-speech-model/

    It says we have to return a custom payload from Dialogflow to Genesys, and it has an example of how to add this in the console. But I need to do it via webhook fulfilment, and in addition I want to return the custom payload and an answer text.

    Has anyone used this integration before, specifically with a webhook response rather than a static intent response? How did you do it?


    Botmatic | 2023-06-14 09:17:56 UTC | #2

    So I've made a bit more progress. Note that when I add a hardcoded custom payload to the intent i see the following fulfilment messages in the response:

    "fulfillmentMessages": [ { "text": { "text": [ "Hi! How can I help you today?" ] } }, { "payload": { "recognition-options": { "model": "phone_call", "variant": "" } } } ],

    I've managed to replicate the above in my webhook response by following this: https://github.com/dialogflow/dialogflow-fulfillment-nodejs/issues/267

    But I am finding that this causes a looping error where I keep receiving the welcome message. Does anyone know how to solve this? Or whether it's even solvable?

    Further, why is the model setting not easily configured on the Genesys side? It seems odd that I have to return a custom payload to control it. This is so not user friendly.


    system | 2023-07-15 09:18:12 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 20413