{"id":17315,"date":"2023-01-18T20:14:32","date_gmt":"2023-01-18T11:14:32","guid":{"rendered":"https:\/\/docs.c-bot.pro\/?p=17315"},"modified":"2023-09-02T11:37:03","modified_gmt":"2023-09-02T02:37:03","slug":"powerautomate_use_case_02","status":"publish","type":"post","link":"https:\/\/docs.c-bot.pro\/en\/connect\/powerautomate\/powerautomate_use_case_02\/","title":{"rendered":"Execute a BOT when receiving a Gmail"},"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\/powerautomate\">Power Automate<\/a> &gt; Execute a BOT when receiving a Gmail<\/p>\n\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\">Creating a flow<\/h2>\n\n\n\n<p>Create a flow that executes a specific BOT when receiving new Gmail.<\/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\"><img loading=\"lazy\" decoding=\"async\" width=\"1310\" height=\"384\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/01\/powerautomate_use_case_image02.png\" alt=\"\" class=\"wp-image-16911\"\/><\/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>Gmail\uff08When a new email arrives\uff09<\/strong><br>Trigger when a new email arrives.<\/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 a BOT\uff09<\/strong><br>Execute arbitrary bot.<\/p>\n<\/div>\n<\/div>\n\n\n\n<h3 id=\"outline__1_1\" class=\"wp-block-heading\">Setting a Gmail<\/h3>\n\n\n\n<p>1. Click \"Create\" from the navigation menu on the left side of the screen and select \"Automated Cloudflow\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"752\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/05\/po_07.png\" alt=\"\" class=\"wp-image-21220\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>2. Although a modal window of \"Build an automated cloud flow\" will be displayed, press the \"Skip\" button.\"<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1441\" height=\"753\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/05\/po_ex1_02.png\" alt=\"\" class=\"wp-image-21221\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>3. Search for \"Gmail\" and click the icon.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2880\" height=\"1504\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-05-29-9.11.54.png\" alt=\"\" class=\"wp-image-21239\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>4. Select the trigger \"When a new email arrives.\"<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1441\" height=\"753\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/05\/po_ex1_12.png\" alt=\"\" class=\"wp-image-21241\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>5. Set the trigger. Specify \"Label,\" etc.<\/p>\n\n\n\n<p><small>*Create a connection if it doesn't exist.<\/small><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2880\" height=\"1504\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-05-29-9.14.07.png\" alt=\"\" class=\"wp-image-21242\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/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_2\" class=\"wp-block-heading\">Setting Cloudbot<\/h3>\n\n\n\n<p>1. Select \"New Step\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1441\" height=\"727\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/06\/po_ex5_02.png\" alt=\"\" class=\"wp-image-21550\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>2. Search for \"Cloud BOT\" and click the icon.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2880\" height=\"1504\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-05-29-9.18.59.png\" alt=\"\" class=\"wp-image-21243\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>3. Select \"Execute BOT\" from Actions.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1441\" height=\"753\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/05\/po_ex1_14.png\" alt=\"\" class=\"wp-image-21244\"\/><\/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 action. Click <a href=\"https:\/\/docs.c-bot.pro\/en\/connect\/powerautomate\/powerautomate_trigger_action\/#outline__1_2\" data-type=\"URL\" data-id=\"https:\/\/docs.c-bot.pro\/en\/connect\/powerautomate\/powerautomate_trigger_action\/#outline__1_2\">here<\/a> for setting values.<\/p>\n\n\n\n<p><small><small>*Create a connection if it doesn't exist. Click <a href=\"https:\/\/docs.c-bot.pro\/en\/connect\/powerautomate\/powerautomate_manual\/#outline__2_1\" data-type=\"URL\" data-id=\"https:\/\/docs.c-bot.pro\/en\/connect\/powerautomate\/powerautomate_manual\/#outline__2_1\">here <\/a>for information on creating a connection.<\/small><\/small><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1680\" height=\"855\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/09\/pa_en_use_case_image_2_01.jpg\" alt=\"\" class=\"wp-image-23086\"\/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>A flow has been created. Check the operation from \"Test\" in the upper menu (upper right of the screen). If you can confirm the execution result, the settings are completed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2880\" height=\"1504\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2023\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-05-29-9.22.23.png\" alt=\"\" class=\"wp-image-21247\"\/><\/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; Power Automate &gt; Execute a BOT when receiving a Gmail Creating a flow Create a flow that executes a specific BOT when receiving new Gmail. Gmail\uff08When a new email arrives\uff09Trigger when a new email arrives. Cloud BOT\uff08Execute a BOT\uff09Execute arbitrary bot. Setting a Gmail 1. Click \"Create\" from the navigation menu on the left side of the screen and select \"Automated Cloudflow\". 2. Although a modal window of \"Build an automated cloud flow\" will be displayed, press the \"Skip\" button.\" 3. Search for \"Gmail\" and click the icon. 4. Select the trigger \"When a new email arrives.\" 5. Set the trigger. Specify \"Label,\" etc. *Create a connection if it doesn't exist. Setting Cloudbot 1. Select \"New Step\". 2. Search for \"Cloud BOT\" and click the icon. 3. Select \"Execute BOT\" from Actions. 4. Set the action. Click here for setting values. *Create a connection if it doesn't exist. Click here for information on creating a connection. A flow has been created. Check the operation from \"Test\" in the upper menu (upper right of the screen). If you can confirm the execution result, the settings are completed.<\/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=16910","footnotes":""},"categories":[50],"tags":[19],"class_list":["post-17315","post","type-post","status-publish","format-standard","hentry","category-powerautomate","tag-power-automate","en-US"],"_links":{"self":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/17315","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=17315"}],"version-history":[{"count":9,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/17315\/revisions"}],"predecessor-version":[{"id":23087,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/17315\/revisions\/23087"}],"wp:attachment":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/media?parent=17315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/categories?post=17315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/tags?post=17315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}