DenserAIDenserAI Docs
Chatbot

Use Documents from Google Drive

Create New Chatbot

Similarly to creating chatbot from webpage or from files, Denser now support creating chatbot from your Google Drive files. As shown in the screenshot below, select Google Drive tile when you are at the Create Chatbot page. Then click Select Google Drive Files button to start with.

Create From Google Drive Documents

A dialog window will open after clicking Select Google Drive Files button. If you had not used this feature before, Denser would request access to your Google Drive account. Click Add Google Drive button and you will be directed to Google sign in to grant Denser access to your Google Drive account. After you granted access, the dialog window lists all the Google Drive accounts you already granted access.

Select or Add New Google Drive

You can click Open button to open Google Drive picker to select files. As shown in the screenshot below, use Google Drive picker to select files that you want to include for building your chatbot. Click Select button to confirm your selection.

Browse Google Drive Documents

After selecting Google Drive documents that you would like to include, simply click Build Now button to start creating your chatbot.

Rebuild Chatbot

As mentioned in the Chatbot Data Store guide, you can update your chatbot's data content and then rebuild your chatbot at Data Store page. You can also add Google Drive documents to your chatbot's data store now. As shown in the screenshot below, select Google Drive from + New Record menu to open Google Drive picker.

From Google Drive

If your chatbot did not connect to any Google account, you would be asked to connect your chatbot with a Google account first on a dialog window. Next time you select Google Drive from + New Record menu, the connected Google drive account would immediately open in Google Drive picker. You can change the Google drive account connected to your chatbot by setting Google Drive Integration.

Similarly to create chatbot, you can select file in Google Drive and add the document to your chatbot's data store. The added Google Drive documents should be listed in the data store table. Note chatbot rebuild is also required after adding/removing Google Drive files. It is possible that the documents in Google Drive are updated after building your chatbot. Data store provides auto rebuild to periodically sync latest changes to the chatbot. Please refer to the auto rebuild guide.

Security Information

  • Denser has been approved by Google to use drive.file scope to gain limited access your Google account.
  • When you browsing files in Google Drive picker, Denser does not yet have access to your Google Drive file data or metadata. Only when you click Select button on Google Drive picker, Google gives Denser access to the selected files. I.e. Denser does not have access to files in your Google Drive unless you explicitly select them for building chatbot.
  • Denser stores encrypted refresh token of your Google account in Denser database. The refresh token is used to generate a short lived access token that expires in 1 hour. Denser only uses this short live access token to access the Google drive files and never exposes refresh token over public network.
  • You can revoke Denser access to your Google Drive account after building your chatbot. You can do this by visiting user settings page, and then delete the Google accounts listed under the Manage Google Drive Access section (see screenshots below). Note: Make sure you also delete Google Drive file records in your chatbot data store. Otherwise auto / manual rebuild will fail because Denser no longer has access to the deleted Google Drive accounts.

User Settings

Revoke Access

On this page