{"id":14485,"date":"2022-10-18T16:37:04","date_gmt":"2022-10-18T07:37:04","guid":{"rendered":"https:\/\/docs.c-bot.pro\/?p=14485"},"modified":"2023-09-05T11:47:16","modified_gmt":"2023-09-05T02:47:16","slug":"use_case_03","status":"publish","type":"post","link":"https:\/\/docs.c-bot.pro\/en\/connect\/make\/use_case_03\/","title":{"rendered":"Upload the file downloaded from Google Drive using BOT"},"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\/connect\/\">Connect<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/connect\/make\">Make<\/a> &gt; Upload the file downloaded from Google Drive using BOT\n<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\"><strong>Creating a scenario<\/strong><\/h2>\n\n\n\n<p>Creates a scenario that uploads the file downloaded from Google Drive with a BOT execution.<\/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-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1088\" height=\"617\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/09\/make_scenario_03_01_01.jpg\" alt=\"\" class=\"wp-image-12611\"\/><\/figure>\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<p><strong>Google Drive\uff08Download a File\uff09<\/strong><br>Download the file from Google Drive.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><strong>Cloud BOT\uff08Upload File\uff09<\/strong><br>Upload the file data to Cloud BOT.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><strong>Cloud BOT\uff08Execute BOT\uff09<\/strong><br>Execute the BOT that uploads a file to the website.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\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__1_1\" class=\"wp-block-heading\"><strong>Setting Google Drive<\/strong><\/h3>\n\n\n\n<p>1.&nbsp;Click \"Create a new scenario\" to create a scenario.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/07\/con_scr_make_06.jpg\" alt=\"\" class=\"wp-image-12527\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>2. Click \"+\" icon and type \"Google Drive\" in the search box to locate it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1414\" height=\"676\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/09\/make_scenario_03_02.jpg\" alt=\"\" class=\"wp-image-12527\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>3. Select \"Download a File\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1414\" height=\"676\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/09\/make_scenario_03_03.jpg\" alt=\"\" class=\"wp-image-12528\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>4. Set the module. \"Enter a File ID\" and \"File ID\" settings. <br><small> *Create a Connection if it does not exist.<br> *The following is an input example for typing a file ID [Enter a Folder ID] to \"Select from the list\". <\/small><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1414\" height=\"676\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/09\/make_scenario_03_04.jpg\" alt=\"\" class=\"wp-image-12529\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Click \"Run Once\" to confirm the behavior. If you can confirm the execution result, the setting is complete.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 id=\"outline__1_2\" class=\"wp-block-heading\"><strong>Setting Cloud BOT (Upload File)<\/strong><\/h3>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>1. When you mouse over next to the icon, \"Add another module\" is displayed. Click \"Add another module\" to add a new module. Search \"Cloud BOT\" in the search box and select it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1414\" height=\"676\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/09\/make_scenario_03_05.jpg\" alt=\"\" class=\"wp-image-12542\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>2. Select \"Upload File\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1414\" height=\"371\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/09\/make_scenario_03_06.jpg\" alt=\"\" class=\"wp-image-12543\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>3. Set the module. Refer to <a href=\"https:\/\/docs.c-bot.pro\/en\/connect\/make\/module\/#outline__1_3_1\">this page<\/a> about setting values.  <br><small>*Create a Connection if it does not exist. Learn more about creating a Connection <a href=\"https:\/\/docs.c-bot.pro\/en\/connect\/make\/module\/#outline__3\" data-type=\"URL\" data-id=\"https:\/\/docs.c-bot.pro\/en\/connect\/make\/module\/#outline__3\">here<\/a>.<br>In the image example, the module automatically identifies Files in Google Drive. <\/small><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1414\" height=\"676\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/09\/make_en_usecase_image_3_01.jpg\" alt=\"\" class=\"wp-image-23288\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Click \"Run Once\" to confirm the behavior. If you can confirm the execution result, the setting is complete.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 id=\"outline__1_3\" class=\"wp-block-heading\"><strong>Setting Cloud BOT (Execute BOT)<\/strong><\/h3>\n\n\n\n<p>1. Click \"Add another module\", then type \"Cloud BOT\" in the search box to locate and select it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1414\" height=\"676\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/09\/make_scenario_03_10.jpg\" alt=\"\" class=\"wp-image-12622\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>2.&nbsp;Select \"Execute BOT\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1414\" height=\"465\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/09\/make_scenario_03_11.jpg\" alt=\"\" class=\"wp-image-12623\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>3. Set the module. Refer to <a href=\"https:\/\/docs.c-bot.pro\/en\/connect\/make\/module\/#outline__1_2_1\" data-type=\"URL\" data-id=\"https:\/\/docs.c-bot.pro\/en\/connect\/make\/module\/#outline__1_2_1\">this page<\/a> about setting values.<br><small>*Create a Connection if it does not exist. Learn more about creating a Connection <a href=\"https:\/\/docs.c-bot.pro\/en\/connect\/make\/module\/#outline__3\">here<\/a>.<\/small><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1414\" height=\"767\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/09\/make_en_usecase_image_3_04.jpg\" alt=\"\" class=\"wp-image-23293\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>The File ref value obtained by the Upload File module can be set as the value. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1414\" height=\"767\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/09\/make_en_usecase_image_3_05.jpg\" alt=\"\" class=\"wp-image-23295\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Check the operation with \"Run Once\" and click \"Save\" when you are satisfied with the execution results. This completes the creation of the scenario.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;Home &gt; Connect &gt; Make &gt; Upload the file downloaded from Google Drive using BOT Creating a scenario Creates a scenario that uploads the file downloaded from Google Drive with a BOT execution. Google Drive\uff08Download a File\uff09Download the file from Google Drive. Cloud BOT\uff08Upload File\uff09Upload the file data to Cloud BOT. Cloud BOT\uff08Execute BOT\uff09Execute the BOT that uploads a file to the website. Setting Google Drive 1.&nbsp;Click \"Create a new scenario\" to create a scenario. 2. Click \"+\" icon and type \"Google Drive\" in the search box to locate it. 3. Select \"Download a File\". 4. Set the module. \"Enter a File ID\" and \"File ID\" settings. *Create a Connection if it does not exist. *The following is an input example for typing a file ID [Enter a Folder ID] to \"Select from the list\". Click \"Run Once\" to confirm the behavior. If you can confirm the execution result, the setting is complete. Setting Cloud BOT (Upload File) 1. When you mouse over next to the icon, \"Add another module\" is displayed. Click \"Add another module\" to add a new module. Search \"Cloud BOT\" in the search box and select it. 2. Select \"Upload File\". 3. Set the module. Refer [&hellip;]<\/p>\n","protected":false},"author":2,"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=12509","footnotes":""},"categories":[43],"tags":[51],"class_list":["post-14485","post","type-post","status-publish","format-standard","hentry","category-make","tag-make","en-US"],"_links":{"self":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/14485","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/comments?post=14485"}],"version-history":[{"count":10,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/14485\/revisions"}],"predecessor-version":[{"id":23428,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/14485\/revisions\/23428"}],"wp:attachment":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/media?parent=14485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/categories?post=14485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/tags?post=14485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}