{"id":14491,"date":"2022-10-18T16:38:53","date_gmt":"2022-10-18T07:38:53","guid":{"rendered":"https:\/\/docs.c-bot.pro\/?p=14491"},"modified":"2023-09-05T11:49:19","modified_gmt":"2023-09-05T02:49:19","slug":"use_case_05","status":"publish","type":"post","link":"https:\/\/docs.c-bot.pro\/en\/connect\/make\/use_case_05\/","title":{"rendered":"Adding group data obtained by BOT to a spreadsheet"},"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; Adding group data obtained by BOT to a spreadsheet\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 sequentially writes to a spreadsheet using the list data obtained in the cloud BOT.<\/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=\"1249\" height=\"626\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/10\/make_itarator_01.jpg\" alt=\"\" class=\"wp-image-14330\"\/><\/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>Cloud BOT\uff08Watch BOT Done\uff09<\/strong><br>Retrieves the BOT execution result when a BOT has executed completely.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><strong>Iterator<\/strong><br>The subsequent modules are executed sequentially for the number of rows of group data obtained by Watch BOT Done.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><strong>Google Sheets\uff08Add a Row\uff09<\/strong><br>Adds new row data fetched by the Iterator to the spreadsheet.<\/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>Setting Cloud BOT<\/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 loading=\"lazy\" decoding=\"async\" width=\"1419\" height=\"682\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/07\/con_scr_make_06.jpg\" alt=\"\" class=\"wp-image-10368\"\/><\/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 \"Cloud BOT\" 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=\"1419\" height=\"744\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/07\/con_scr_make_07.jpg\" alt=\"\" class=\"wp-image-10370\"\/><\/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 \"Watch BOT Done\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1679\" height=\"931\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/10\/make_itarator_03-1.jpg\" alt=\"\" class=\"wp-image-14335\"\/><\/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. Refer to <a href=\"https:\/\/docs.c-bot.pro\/en\/connect\/make\/module\/#outline__1_1_1\" data-type=\"URL\" data-id=\"https:\/\/docs.c-bot.pro\/en\/connect\/make\/module\/#outline__1_1_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>.<\/small><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1669\" height=\"648\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/09\/make_en_usecase_image_5_01.jpg\" alt=\"\" class=\"wp-image-23330\"\/><\/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. Execute the BOT on the Created BOT website.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1679\" height=\"931\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/10\/make_itarator_05.jpg\" alt=\"\" class=\"wp-image-14339\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>If you can confirm the execution result, the trigger setting is complete.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1669\" height=\"837\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/09\/make_en_usecase_image_5_02.jpg\" alt=\"\" class=\"wp-image-23331\"\/><\/figure>\n\n\n\n<h3 id=\"outline__1_2\" class=\"wp-block-heading\"><strong>Setting Iterator<\/strong><\/h3>\n\n\n\n<p>1.&nbsp;Click \"Add another module\" next to the icon to add a new module. Search \"Flow Control\" in the search box and select it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1669\" height=\"501\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/09\/make_en_usecase_image_5_10.jpg\" alt=\"\" class=\"wp-image-23358\"\/><\/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 \"Iterator\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1679\" height=\"931\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/10\/make_itarator_10.jpg\" alt=\"\" class=\"wp-image-14352\"\/><\/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 Iterator.<br>Specify the group data (Array) obtained from the cloud BOT in the \"Array\" field.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1669\" height=\"648\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/09\/make_en_usecase_image_5_03.jpg\" alt=\"\" class=\"wp-image-23332\"\/><\/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<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1669\" height=\"769\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/09\/make_en_usecase_image_5_04.jpg\" alt=\"\" class=\"wp-image-23333\"\/><\/figure>\n\n\n\n<h3 id=\"outline__1_3\" class=\"wp-block-heading\"><strong>Setting Google Sheets<\/strong><\/h3>\n\n\n\n<p>1. Click \"Add another module\" next to the icon to add a new module. Search \"Google Sheets\" 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=\"1679\" height=\"931\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/10\/make_itarator_13-1.jpg\" alt=\"\" class=\"wp-image-14360\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>2. Select \"Add a Row\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1679\" height=\"931\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/10\/make_itarator_14.jpg\" alt=\"\" class=\"wp-image-14361\"\/><\/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. Specify \"Choose a Method,\" \"Choose a Drive,\" \"Spreadsheet ID,\" \"Sheet Name,\" etc.<br><small>*Create a Connection if it does not exist.<\/small><\/p>\n\n\n\n<p>In this example, a spreadsheet to add a data row to is specified.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1669\" height=\"601\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/09\/make_en_usecase_image_5_05.jpg\" alt=\"\" class=\"wp-image-23335\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>4. &nbsp;Specify the value in the \"Values\" field.<br>Extract the value from the output value of the cloud BOT by specifying \"Bundle order position\" of the Iterator as a key.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1669\" height=\"672\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/09\/make_en_usecase_image_5_06.jpg\" alt=\"\" class=\"wp-image-23336\"\/><\/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<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1679\" height=\"931\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2022\/10\/make_itarator_17.jpg\" alt=\"\" class=\"wp-image-14365\"\/><\/figure>\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\"><img loading=\"lazy\" decoding=\"async\" width=\"1669\" height=\"886\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/09\/make_en_usecase_image_5_09.jpg\" alt=\"\" class=\"wp-image-23337\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>If you actually check the spreadsheet, it will be written as follows.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1669\" height=\"492\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/09\/make_en_usecase_image_5_07.jpg\" alt=\"\" class=\"wp-image-23338\"\/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;Home &gt; Connect &gt; Make &gt; Adding group data obtained by BOT to a spreadsheet Creating a scenario Creates a scenario that sequentially writes to a spreadsheet using the list data obtained in the cloud BOT. Cloud BOT\uff08Watch BOT Done\uff09Retrieves the BOT execution result when a BOT has executed completely. IteratorThe subsequent modules are executed sequentially for the number of rows of group data obtained by Watch BOT Done. Google Sheets\uff08Add a Row\uff09Adds new row data fetched by the Iterator to the spreadsheet. Setting Cloud BOT 1. &nbsp;Click \"Create a new scenario\" to create a scenario. 2. Click \"+\" icon and type \"Cloud BOT\" in the search box to locate it. 3. &nbsp;Select \"Watch BOT Done\". 4. Set the module. Refer to this page about setting values.*Create a Connection if it does not exist. Learn more about creating a Connection here. Click \"Run Once\" to confirm the behavior. Execute the BOT on the Created BOT website. If you can confirm the execution result, the trigger setting is complete. Setting Iterator 1.&nbsp;Click \"Add another module\" next to the icon to add a new module. Search \"Flow Control\" in the search box and select it. 2.&nbsp;Select \"Iterator\". 3. Set the Iterator.Specify the [&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=14323","footnotes":""},"categories":[43],"tags":[51],"class_list":["post-14491","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\/14491","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=14491"}],"version-history":[{"count":10,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/14491\/revisions"}],"predecessor-version":[{"id":23432,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/14491\/revisions\/23432"}],"wp:attachment":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/media?parent=14491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/categories?post=14491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/tags?post=14491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}