{"id":1368,"date":"2018-04-13T19:22:43","date_gmt":"2018-04-13T19:22:43","guid":{"rendered":"https:\/\/officedevblogs.wpengine.com\/?p=1368"},"modified":"2018-04-13T19:22:43","modified_gmt":"2018-04-13T19:22:43","slug":"get-response-from-custom-kaizala-forms","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/get-response-from-custom-kaizala-forms\/","title":{"rendered":"Flow scenario #2b: Get response from custom Kaizala forms"},"content":{"rendered":"<p>In this post I will explore how you could get response from custom Kaizala forms over email. This is very similar to the scenario mentioned in the post:\u00a0Flow scenario #2a: Get response from custom Kaizala formsKaizala. But at that point, the Kaizala flow connector did not have the inbuilt capability to get responses from a custom action, because of which I employed a WebHook mechanism to capture the responses. Now that the Kaizala Flow connector supports fetching responses as an inbuilt functionality, will demonstrate how that could be leveraged.<\/p>\n<p>For this we will need a custom action. In case you are not familiar with creating \/ using custom action, please read Part A of the previous\u00a0post. In this post I will start with creating the flow assuming that you have the custom action ready.<\/p>\n<h2>Creating the Flow<\/h2>\n<ol>\n<li>Go to\u00a0<a href=\"https:\/\/flow.microsoft.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/flow.microsoft.com<\/a>\u00a0and sign in with your credentials.<\/li>\n<li>Click\u00a0<strong>My flows\u00a0<\/strong>and then click\u00a0<strong>Create from blank<\/strong>.\n<img decoding=\"async\" class=\"alignnone size-full wp-image-1369\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/06\/my-flows.png\" alt=\"Toolbar showing my flows.\" width=\"676\" height=\"57\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/06\/my-flows.png 676w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/06\/my-flows-300x25.png 300w\" sizes=\"(max-width: 676px) 100vw, 676px\" \/><\/li>\n<li>Click <strong>Search hundreds of connectors and triggers<\/strong>.\n<img decoding=\"async\" class=\"alignnone size-full wp-image-1371\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/06\/search-for-connector-or-triggers1.png\" alt=\"Search hudreds of connectors and triggers button\" width=\"746\" height=\"141\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/06\/search-for-connector-or-triggers1.png 746w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/06\/search-for-connector-or-triggers1-300x57.png 300w\" sizes=\"(max-width: 746px) 100vw, 746px\" \/><\/li>\n<li>Give a name to your flow.<\/li>\n<li>In the connector search box, search for\u00a0<strong>Kaizala.<\/strong><\/li>\n<li>Select the <strong>Kaizala Flow<\/strong> connector from the search result.<\/li>\n<li>From the available triggers, select\u00a0<strong>When someone responds to a custom action.\u00a0<\/strong>Note that\u00a0you&#8217;ll need to authenticate to Kaizala at this point with your mobile number and OTP that you will receive.\n<img decoding=\"async\" class=\"alignnone size-full wp-image-1372\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/06\/custom-action-email-action.png\" alt=\"When someone responds to a custom action dialog box\" width=\"1013\" height=\"657\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/06\/custom-action-email-action.png 1013w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/06\/custom-action-email-action-300x195.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/06\/custom-action-email-action-768x498.png 768w\" sizes=\"(max-width: 1013px) 100vw, 1013px\" \/><\/li>\n<li>Add an action to send email (I have chosen\u00a0<strong>gmail.com \u2013 Send email\u00a0<\/strong>action \u2013\u00a0<em>you will need to authenticate to your email account<\/em>).<\/li>\n<li>Enter an email address in the\u00a0<strong>To\u00a0<\/strong>field.<\/li>\n<li>Click on the\u00a0<strong>Subject\u00a0<\/strong>field \u2013 you will notice a pop-up on the right that gives you a bunch of values fetched from the trigger above.<\/li>\n<li>Click on\u00a0<strong>Body\u00a0<\/strong>field and choose the\u00a0<strong>Answers<\/strong>\u00a0from the pop-up<\/li>\n<\/ol>\n<p>For this example, I have used the\u00a0<strong>Feedback<\/strong>\u00a0form from the portal. For the email, in the email subject, I have the responder\u2019s name and in the email body I have selected Answer1 (\u00a0<em>rating provided in this example<\/em>\u00a0) and Answer2 (\u00a0<em>verbatim feedback in this example<\/em>\u00a0).<\/p>\n<p>Hope that was helpful!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, I will explore how you could get response from custom Kaizala forms over email. This is very similar to the scenario mentioned in the previous post:\u00a0Flow scenario #2a: Get response from custom Kaizala forms.<\/p>\n","protected":false},"author":69216,"featured_media":1372,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11],"tags":[21,87],"class_list":["post-1368","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office-add-ins","tag-connectors","tag-kaizala"],"acf":[],"blog_post_summary":"<p>In this post, I will explore how you could get response from custom Kaizala forms over email. This is very similar to the scenario mentioned in the previous post:\u00a0Flow scenario #2a: Get response from custom Kaizala forms.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/1368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69216"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=1368"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/1368\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/1372"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=1368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=1368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=1368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}