Inserting Dynamic Source URLs in Dialogflow Data Store Agent Responses

Hi,

You ca play with it like this: using system functions to retrieve the fields:

https://cloud.google.com/dialogflow/cx/docs/reference/system-functions#func-get

After a bit of investigation, I found out that the URI and title fields could be extracted from request.knowledge.sources using the following:

$sys.func.GET_FIELD($sys.func.GET($request.knowledge.sources[0], 0), “uri”)

$sys.func.GET_FIELD($sys.func.GET($request.knowledge.sources[0], 0), “title”)

Which integration are you using? by default, in the webchat integration it shows the clickable buttons.

Regards,

1 Like