Automatically generate Dialogflow intents from chat logs

Automatically generate Dialogflow intents from chat logs

Pricing: This is a free tool

In this article I will explain how to use BotFlo Autotrain to automatically extract Dialogflow intents from your chat logs. 

Prepare the chat logs in CSV format

The CSV format is simple. You will have two columns - ID and Text. The ID column must be unique and can be a reference to any internal identifier. The second column has the text of the user message. 



1 Log in to BotFlo if you haven't done so already

2 From the menu, select FAQ Bots > Automatically extract intents from chat logs




3 Upload the CSV file you created. At the moment, Autotrain can process only 500 rows at a time (it is a very compute intensive process, and I don't want to overload the server)



4 If your CSV file input is OK, you will see a message on the next page with a green check mark. Click on the Autotrain button.





5 You will be prompted to save the CSV file. 



6 Download and open this CSV file. It will look like below.



7 You can delete all except the first 4 Columns and you will have a CSV file that you can use directly inside the Basic FAQ Bot Generator. 

Notes about the CSV format

The first 4 columns are the same as the regular 4 Column CSV format

Column 5 is SentID - which is the ID you used for the corresponding user message in the chat log CSV file

Column 6 is SentenceText - which is the full sentence from the chat log CSV file. Note that the "Query" field (Column 3) will usually have only a phrase extracted from this sentence, and not the entire sentence. 

Column 7 is Unique - which is a boolean value (0 or 1) which indicates whether there is only a single row in the CSV file corresponding to the IntentID. The ones which can be clustered into non-unique values (i.e. all the 0s) are in the first part of the CSV file, while those which could not be clustered (all the 1s) are at the second part of the CSV file. 

    • Related Articles

    • Automatically generate Dialogflow quiz bot for Zoho SalesIQ

      Pricing: Free Link to tool Using the BotFlo app, you can convert a CSV file specified in the expected format into a Dialogflow quiz bot (which can be used inside the Zoho SalesIQ live chat integration). In this article, I explain how you can do it. ...
    • Generate custom payload for Dialogflow Messenger suggestion chips

      Pricing: BotFlo Starter, BotFlo Plus and BotFlo Pro Link to tool 1 Place your cursor into the buttons and start typing the text 2 Click on the Preview button 3 Verify the output inside the Dialogflow Messenger chat widget 4 Click on Copy JSON to ...
    • Generate custom payload for Dialogflow Messenger Card (Info Response)

      Pricing: BotFlo Starter, BotFlo Plus, BotFlo Pro Link to tool 1 Type out the URL for the image in the Image URL textbox. You will see a preview of the image show up inside the box below once the focus shifts out of the textbox. 2 Add the link. This ...
    • Free tools

      The following tools are free: Automatically extract intents from chat logs Convert WordPress CSV Export to Dialogflow agent ZIP file Convert Mindomo flowchart .txt file to Dialogflow Messenger agent ZIP file Viewer Candidate Explorer Convert CSV to ...
    • Automatically convert your WordPress website into a Dialogflow agent

      Pricing: Free Link to tool You can convert your WordPress website into a Dialogflow agent in a few minutes using the BotFlo app. Here are the steps Install the Export All URLs plugin BotFlo only works with the export file created by the Export All ...