When to use the 10 Column CSV format

You can use the 10 column CSV format if you would also like to add the following to your ES bot

  • contexts
  • more than one response from your bot
  • Action field (which is sent to webhook)
  • Enable the Webhook toggle

Column descriptions

The first 4 columns are the same as the 4 column CSV format.

I will explain the other columns in this article.

Response2 – this column will allow you to add a second response for a single intent. In fact, if you add multiple rows under this column (for a given intent), that will render as multiple responses in your bot. For example, if you have 2 rows under Response2 for the IntentID 1, it will display both the rows AFTER whatever is in Response column.

Action – this is the field which is usually used in your webhook code to tell which intent fired so it can decide what logic it should execute

InputContext – the name of the input context. If your intent has multiple input contexts, list them one per row

OutputContext – the name of the output context. If your intent has multiple output contexts, list them one per row

Lifespan – the lifespan of the output context. Remember, every output context must have an associated context lifespan. Don’t forget to add this information.

CallsWebhook – if you write the word Yes into this column, it will enable the webhook toggle. Everything else, including leaving the cell empty, defaults to No and will not enable the webhook toggle

    
Extremely helpful for non-coders or those more comfortable working from a spreadsheet interface

Aravind’s CSV Upload tool is extremely helpful for non-coders or those more comfortable working from a spreadsheet interface to quickly create an intelligence Dialogflow bot with context.

Review for the FAQ Bot Generator

>