{"id":15204,"date":"2022-11-07T16:44:10","date_gmt":"2022-11-07T07:44:10","guid":{"rendered":"https:\/\/docs.c-bot.pro\/?p=15204"},"modified":"2023-08-30T19:33:00","modified_gmt":"2023-08-30T10:33:00","slug":"workato_use_case_03","status":"publish","type":"post","link":"https:\/\/docs.c-bot.pro\/en\/connect\/workato\/workato_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\/workato\">Workato<\/a> &gt; Upload the file downloaded from Google Drive using BOT<\/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 recipe<\/strong><\/h2>\n\n\n\n<p>Creates a recipe 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=\"1310\" height=\"384\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/11\/workato_use_case_3_01.jpg\" alt=\"\" class=\"wp-image-14924\"\/><\/figure>\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>New scheduled event<\/strong><br>Raise a trigger at the specified time.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><strong><strong>Google Drive\uff08Download a File\uff09<\/strong><br><\/strong>Download the file from Google Drive.<\/p>\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<\/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 uploading a file to the website.<\/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__1_1\" class=\"wp-block-heading\"><strong><strong>Setting the New scheduled event<\/strong><\/strong><\/h3>\n\n\n\n<p>1. Click \"Create\" to create a Recipe.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/08\/workato_en_use_case_1_01.jpg\" alt=\"\" class=\"wp-image-22747\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>2. Optionally type a recipe name in \"Name\" and specify \"Location\".<br>In this example, select \"Run on a schedule\" on \"Pick a starting point\".<br>Click the \"Start building\" button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/11\/workato_use_case_3_16.jpg\" alt=\"\" class=\"wp-image-14958\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>3. Set new schedule for Trigger.<\/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\/11\/workato_use_case_3_03-1.jpg\" alt=\"\" class=\"wp-image-14929\"\/><\/figure>\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 Google Drive<\/strong><\/h3>\n\n\n\n<p>1. Configure the \"ACTIONS\" settings. Click \"+\" then select \"Action in an app\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/11\/workato_use_case_3_04.jpg\" alt=\"\" class=\"wp-image-14936\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>2.&nbsp;Type \"Google Drive\" in the search box and select the app.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/11\/workato_use_case_3_05.jpg\" alt=\"\" class=\"wp-image-14938\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>3. Select an action type. Here, select \"Download file\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/11\/workato_use_case_3_06.jpg\" alt=\"\" class=\"wp-image-14939\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>4. Configure the \"Connection\" settings.<br>When the Connection is already created, the created connections list is displayed. Refer to <a href=\"https:\/\/docs.c-bot.pro\/en\/connect\/workato\/workato_manual\/#outline__2_2\">this page<\/a> about creation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/11\/workato_use_case_3_07.jpg\" alt=\"\" class=\"wp-image-14940\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>5. Configure the \"Setup\" settings. Specify \"File\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/11\/workato_use_case_3_08-1.jpg\" alt=\"\" class=\"wp-image-14943\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>6. Click \"Test\" on the top menu (top right corner) to check if it works correctly.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/11\/workato_use_case_3_14.jpg\" alt=\"\" class=\"wp-image-14954\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\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 (Upload File)<\/strong><\/h3>\n\n\n\n<p>1.Configure the \"ACTIONS\" settings. Click \"+\" then select \"Action in an app\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/11\/workato_use_case_3_09.jpg\" alt=\"\" class=\"wp-image-14946\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>2. Type \"Cloud BOT\" in the search box and select the app.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/11\/workato_use_case_3_10.jpg\" alt=\"\" class=\"wp-image-14948\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>3.Select an action type. Here, select \"Upload file\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/11\/workato_use_case_3_11.jpg\" alt=\"\" class=\"wp-image-14949\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>4. Configure the \"Connection\" settings.<br>When the Connection is already created, the created connections list is displayed. Refer to <a href=\"https:\/\/docs.c-bot.pro\/en\/connect\/workato\/workato_manual\/#outline__2_2\">this page<\/a> about creation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/11\/workato_use_case_3_12.jpg\" alt=\"\" class=\"wp-image-14950\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>5. Configure the [Setup] settings. Refer to <a href=\"https:\/\/docs.c-bot.pro\/en\/connect\/workato\/trigger_action\/#outline__1_3_1\">this page<\/a> about setting values.<br><small>In the image example, use datapill of Recipe data and specify File contents.<\/small><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/08\/workato_en_use_case_3_04.jpg\" alt=\"\" class=\"wp-image-22805\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>6. Click \"Test\" on the top menu (top right corner) to check if it works correctly.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 id=\"outline__1_4\" class=\"wp-block-heading\"><strong>Setting Cloud BOT (Execute BOT)<\/strong><\/h3>\n\n\n\n<p>1.Configure the \"ACTIONS\" settings. Click \"+\" then select \"Action in an app\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/11\/workato_use_case_3_15.jpg\" alt=\"\" class=\"wp-image-14956\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>2.Set Cloud BOT as app on \"Action\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/11\/workato_use_case_3_17-1.jpg\" alt=\"\" class=\"wp-image-14961\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>3.&nbsp;Select an action type. Here, select \"Execute BOT\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/11\/workato_use_case_3_18.jpg\" alt=\"\" class=\"wp-image-14963\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>4.Configure the \"Connection\" settings.<br>When the Connection is already created, the created connections list is displayed. Refer to <a href=\"https:\/\/docs.c-bot.pro\/en\/connect\/workato\/workato_manual\/#outline__2_2\">this page<\/a> about creation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/11\/workato_use_case_3_19.jpg\" alt=\"\" class=\"wp-image-14964\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>5.Configure the \"Setup\" settings. Refer to <a href=\"https:\/\/docs.c-bot.pro\/en\/connect\/workato\/trigger_action\/#outline__1_1_1\">this page<\/a> about setting values.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/08\/workato_en_use_case_3_04.jpg\" alt=\"\" class=\"wp-image-22809\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Click \"optional fields available\" to add a field and set an input value.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/08\/workato_en_use_case_3_02.jpg\" alt=\"\" class=\"wp-image-22806\"\/><\/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 Action can be specified in the input field. <br><small>In the image example, make File ref value of data pill an array by enclosing it with brackets [ ].<\/small><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/08\/workato_en_use_case_3_03.jpg\" alt=\"\" class=\"wp-image-22807\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>6. Now the recipe is created. Click \"Test\" on the top menu (top right corner) to check if it works correctly. <br><small>If you can confirm the execution result, the setting is complete.<\/small><\/p>\n\n\n\n<p>You can also check from the execution log by setting the file value as the output value in Cloud BOT.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1466\" height=\"905\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/08\/workato_en_use_case_3_05.jpg\" alt=\"\" class=\"wp-image-22811\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;Home &gt; Connect &gt; Workato &gt; Upload the file downloaded from Google Drive using BOT Creating a recipe Creates a recipe that uploads the file downloaded from Google Drive with a BOT execution. New scheduled eventRaise a trigger at the specified time. 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 uploading a file to the website. Setting the New scheduled event 1. Click \"Create\" to create a Recipe. 2. Optionally type a recipe name in \"Name\" and specify \"Location\".In this example, select \"Run on a schedule\" on \"Pick a starting point\".Click the \"Start building\" button. 3. Set new schedule for Trigger. Setting Google Drive 1. Configure the \"ACTIONS\" settings. Click \"+\" then select \"Action in an app\". 2.&nbsp;Type \"Google Drive\" in the search box and select the app. 3. Select an action type. Here, select \"Download file\". 4. Configure the \"Connection\" settings.When the Connection is already created, the created connections list is displayed. Refer to this page about creation. 5. Configure the \"Setup\" settings. Specify \"File\". 6. Click \"Test\" on the top menu (top right corner) to check if it works correctly. Setting Cloud BOT [&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=14918","footnotes":""},"categories":[48],"tags":[52],"class_list":["post-15204","post","type-post","status-publish","format-standard","hentry","category-workato","tag-workato","en-US"],"_links":{"self":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/15204","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=15204"}],"version-history":[{"count":10,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/15204\/revisions"}],"predecessor-version":[{"id":22888,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/15204\/revisions\/22888"}],"wp:attachment":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/media?parent=15204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/categories?post=15204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/tags?post=15204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}