Skip to main content

Google Drive

BotDojo can integrate with Google Drive to sync Files and Folders. Following are the steps to set up the Google Drive integration:

  1. Log in to your BotDojo Account and go to Integrations.

  2. Click on the Google Drive Integration and click Connect

  3. Click Connect. You will be redirected to the authorization page.

  4. Select your Google account.

  5. Click Continue to grant BotDojo the permissions to read files and folders from your drive

  6. The Google Drive integration is now successfully connected.

  7. Now navigate to the Data tab and click Import Data.

  8. Create a new folder.

  9. Select Google Drive as the source.

  10. Click Browse Folders to select the Google Drive folder.

  11. Select the folder from the picker that you want to sync into Botdojo.

  12. Click Save

  13. This starts the sync process. Click on th loader name to view the synced files and folders.

  14. Click Browse Documents & Files to view the synced data.

  15. All the files and folders are successfully synced.

Uploading files with agent tools

Google Drive provides two distinct file-transfer tools:

  • transferFile downloads a file from a publicly accessible or signed URL and uploads it to Google Drive. It does not accept a local path.
  • transferFromWorkspace uploads a file from the active BotDojo workspace. Pass a workspace-relative path such as exports/report.docx or the canonical path /mnt/workspace/exports/report.docx. This tool is available only when the agent is running in workspace context.

For transferFromWorkspace, the Google Drive file name defaults to the workspace file name. You can optionally provide a different file name, destination folder ID, or request conversion to a supported Google Workspace format.