{"id":32335,"date":"2025-03-05T14:48:58","date_gmt":"2025-03-05T05:48:58","guid":{"rendered":"https:\/\/docs.c-bot.pro\/?p=32335"},"modified":"2025-08-01T16:54:25","modified_gmt":"2025-08-01T07:54:25","slug":"google_drive_upload","status":"publish","type":"post","link":"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/google_drive\/google_drive_upload\/","title":{"rendered":"Google Drive \/ Upload"},"content":{"rendered":"\n<p><a href=\"https:\/\/docs.c-bot.pro\/en\/\"><i class=\"fas fa-book\"> <\/i> &nbsp; Home<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\">User guide<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/\">BOT<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/\">How to use the BOT editor<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\">Extention<\/a>&gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/google_drive\">Google Drive<\/a> &gt; Google Drive \/ Upload<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full is-resized extension_icon\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"500\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2025\/03\/icon_GoogleDrive.png\" alt=\"\" class=\"wp-image-32322\" style=\"width:75px;height:75px\"\/><\/figure>\n\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\">App overview<\/h2>\n\n\n\n<p>Upload files on Google Drive.<\/p>\n\n\n\n<p class=\"japanese_alert has-white-color has-text-color\">Due to a policy change implemented by Google, it is now only possible to upload files to Google Workspace Shared Drives.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Extended Feature URL<\/td><td>cbot-extension:\/\/cloud-bot:google-drive:upload:1<\/td><\/tr><tr><td>Provider<\/td><td>Cloud BOT <span style=\"margin-left: 2px ; padding: 2px 7px; border:0px solid #000 ; background-color: #007bff ; border-radius: 5px ; color: #ffffff ; font-size: 0.7em;\" class=\"badge\">official<\/span><\/td><\/tr><tr><td>External communication<\/td><td>Yes<br>*This application communicates with&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/cloud.google.com\/?hl=en\" target=\"_blank\"><\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/cloud.google.com\/\" data-type=\"URL\" data-id=\"https:\/\/openai.com\/\" target=\"_blank\">Google Cloud<\/a>'s API.<\/td><\/tr><tr><td>Version<\/td><td>1<\/td><\/tr><tr><td>Transaction<\/td><td>Use a transaction for each execution.<br>2 transactions per execution<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 id=\"outline__2\" class=\"wp-block-heading\">Preconfiguration<\/h2>\n\n\n\n<h3 id=\"outline__2_1\" class=\"wp-block-heading\">Google Cloud Settings<\/h3>\n\n\n\n<p>When using the Google Sheets extension, it is necessary to configure Google Cloud beforehand.<br>Please refer to the <a rel=\"noreferrer noopener\" href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/google_cloud_settings\/\" target=\"_blank\">detailed instructions here<\/a> and complete the setup.<\/p>\n\n\n\n<h2 id=\"outline__3\" class=\"wp-block-heading\">Screen description<\/h2>\n\n\n\n<h3 id=\"outline__3_1\" class=\"wp-block-heading\">Input screen<\/h3>\n\n\n\n<h4 id=\"outline__3_1_1\" class=\"wp-block-heading\">Step1<\/h4>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"988\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2025\/03\/img_gd_ul_input_en-1024x988.png\" alt=\"\" class=\"wp-image-32486\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><strong><strong>Authentication method<\/strong><\/strong><\/p>\n\n\n\n<p class=\"extension_guide_body\">Select the authentication method.<\/p>\n\n\n\n<p>Service Account: Authenticate using a Google Cloud service account.<\/p>\n\n\n\n<p><strong><strong>Authentication type<\/strong><\/strong><\/p>\n\n\n\n<p>Specify the authentication type.<\/p>\n\n\n\n<p>Reference the authentication info from a file: Authenticate using a JSON file.<br>Enter the authentication info in JSON format: Authenticate by entering credentials in JSON format.<\/p>\n\n\n\n<p class=\"extension_detail_item_body\"><small> * For authentication information, please refer to <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/google_cloud_settings\/\" target=\"_blank\" rel=\"noopener noreferrer\">this<\/a>.<\/small><\/p>\n\n\n\n<p><strong><strong>Authentication file<\/strong><\/strong><\/p>\n\n\n\n<p class=\"extension_guide_body\">This is displayed when you select 'Reference the authentication info from a file' as the authentication type.<br>Specify the JSON file.<\/p>\n\n\n\n<p><strong><strong>Authentication text (JSON format)<\/strong><\/strong><\/p>\n\n\n\n<p class=\"extension_guide_body\">This is displayed when you select 'Enter the authentication info in JSON format' as the authentication type.<br>Enter the JSON text.<\/p>\n\n\n\n<p><strong>Upload File<\/strong><\/p>\n\n\n\n<p>Specify the file to upload.<br>This file will overwrite the target file.<\/p>\n\n\n\n<p><strong>File ID<\/strong><\/p>\n\n\n\n<p>Specify the ID of the file to download.<br>You can also specify it by entering the entire file URL.<\/p>\n\n\n\n<p><strong>[How to Check the File ID]<\/strong><\/p>\n\n\n\n<p>Right-click the file on Google Drive, select \"Share\" and then choose \"Copy link\" to copy the URL. Paste it into a text editor to check.<br>The part between \"<code>\/d\/<\/code>\" and \"<code>\/edit<\/code>\" in the URL is the file ID.<br>Example : https:\/\/docs.google.com\/file\/d\/<span style=\"background: linear-gradient(transparent 60%, #bbddee 0%)\">1A2B3C4D5E6F7G8H9I0J<\/span>\/edit#gid=0<\/p>\n\n\n\n<p><strong>Upload file name (Optional)<\/strong><\/p>\n\n\n\n<p>Enter a desired file name.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 id=\"outline__3_2\" class=\"wp-block-heading\">Result Screen<\/h3>\n\n\n\n<h4 id=\"outline__3_2_1\" class=\"wp-block-heading\">File has been uploaded.<\/h4>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"273\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2025\/03\/img_gd_ul_conp_en-1024x273.png\" alt=\"\" class=\"wp-image-32487\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>The result will be displayed.<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Home &gt; User guide &gt; BOT &gt; How to use the BOT editor &gt; Extention&gt; Google Drive &gt; Google Drive \/ Upload App overview Upload files on Google Drive. Due to a policy change implemented by Google, it is now only possible to upload files to Google Workspace Shared Drives. Extended Feature URL cbot-extension:\/\/cloud-bot:google-drive:upload:1 Provider Cloud BOT official External communication Yes*This application communicates with&nbsp;Google Cloud's API. Version 1 Transaction Use a transaction for each execution.2 transactions per execution Preconfiguration Google Cloud Settings When using the Google Sheets extension, it is necessary to configure Google Cloud beforehand.Please refer to the detailed instructions here and complete the setup. Screen description Input screen Step1 Authentication method Select the authentication method. Service Account: Authenticate using a Google Cloud service account. Authentication type Specify the authentication type. Reference the authentication info from a file: Authenticate using a JSON file.Enter the authentication info in JSON format: Authenticate by entering credentials in JSON format. * For authentication information, please refer to this. Authentication file This is displayed when you select 'Reference the authentication info from a file' as the authentication type.Specify the JSON file. Authentication text (JSON format) This is displayed when you select 'Enter the [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_locale":"en_US","_original_post":"https:\/\/docs.c-bot.pro\/?p=32333","footnotes":""},"categories":[129],"tags":[],"class_list":["post-32335","post","type-post","status-publish","format-standard","hentry","category-google_drive","en-US"],"_links":{"self":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/32335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/comments?post=32335"}],"version-history":[{"count":4,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/32335\/revisions"}],"predecessor-version":[{"id":33217,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/32335\/revisions\/33217"}],"wp:attachment":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/media?parent=32335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/categories?post=32335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/tags?post=32335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}