Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to send rich content and session parameter fulfillment response from flexible webhook.

Hi all, It is possible to send rich content and session parameter fulfillment response from flexible webhook?

I can send rich content using standard webhook but can't from flexible webhook. 

How can i send this response from flexible webhook response?

'fulfillmentResponse' => [
    'messages' => [
        [
            'text' => ['text' => ['This text come from standard webhook']]
        ]
    ]
]

Thank you

0 1 259
1 REPLY 1

Hi @shakil776 , the response from a flexible webhook is slightly different,  you have to specify the parameter and how to extract it in the config:

xavidop_0-1707122893670.png

Here you can find the docs: https://cloud.google.com/dialogflow/cx/docs/concept/webhook#flexible-webhook-response