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

Adding buttons to answers from structured data source (csv)

Hello,

I followed this format to create a csv file for a structured FAQ csv file: 

 
But it doesn't show me the button. I do think it showed me a button, when I played around with the data store last week, but after starting to build the bot, I can't get it to show me a button.

 This is how I structured the csv file: https://docs.google.com/spreadsheets/d/1ZNk6irFlcud8f1WWqirYNRtZKKGVlkCq-Z--953OaVs/edit?usp=sharing

I also recorded, how I add the csv file as structured faq document: https://www.loom.com/share/17fab55a647b4b4ab003e0f2b89f0e03

The bot does answer with the correct text, but it doesn't add the button.

I also tried adding only rows, where all columns are filled out, because of this part from the documentation:
""

Important details for the CSV format:

  • Extra space character after , causes an error.
  • Blank lines (even at the end of the file) cause an error.

""

Am I missing something?

Solved Solved
0 2 568
1 ACCEPTED SOLUTION

Hi Yannick,

it does not show you a button. You have to create a custom payload to show a button: https://cloud.google.com/dialogflow/cx/docs/concept/integration/dialogflow-messenger

Here is an example: https://github.com/xavidop/dialogflow-cx-webhook-pokedex/tree/main

Best,

Xavi

View solution in original post

2 REPLIES 2

Hi Yannick,

it does not show you a button. You have to create a custom payload to show a button: https://cloud.google.com/dialogflow/cx/docs/concept/integration/dialogflow-messenger

Here is an example: https://github.com/xavidop/dialogflow-cx-webhook-pokedex/tree/main

Best,

Xavi

Weird, I thought it did work once, when I tried.

At least I can use Markdown with [Link Text](URL).