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

How to display button text (as end user) after clicking a button?

Hello, 
I have 2 custom payload button. When user click a specific button I want to show the button text as an end user input. Can anyone help me to implement this functionality?

Thank you.

0 3 431
3 REPLIES 3

Hi!

If you are using the dialogflow CX messenger integration you have to add a JS event: https://cloud.google.com/dialogflow/cx/docs/concept/integration/dialogflow-messenger/javascript-even...

Best,

Xavi

@xavidop Thank you for your response. Is there any way to handle this from dialogflow without frontend js event?

Unfortunately not, that is the only way to handle that