{"id":1420,"date":"2018-06-25T21:08:47","date_gmt":"2018-06-25T21:08:47","guid":{"rendered":"https:\/\/officedevblogs.wpengine.com\/?p=1420"},"modified":"2018-06-25T21:08:47","modified_gmt":"2018-06-25T21:08:47","slug":"kaizala-send-a-survey-daily","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/kaizala-send-a-survey-daily\/","title":{"rendered":"Flow scenario #1: Send a survey daily"},"content":{"rendered":"<p>I have picked up a scenario where you might need to send a survey with the same set of questions on a daily basis. This could be automated very simply using Microsoft Flow. In case you are new to Flow or the Kaizala connector, suggest you read this\u00a0<a href=\"https:\/\/kaizala007.wordpress.com\/2018\/01\/12\/automating-business-process-using-kaizala-flow-connector\/\">post\u00a0<\/a>to get started.<\/p>\n<h2>Trigger<\/h2>\n<p>This scenario will need a\u00a0<strong>Recurrence\u00a0<\/strong>trigger to be triggered every day at a set time. You can search for Recurrence and configure it with your desired frequency. Following, I have shown a screenshot of my example.\u00a0<em>(configured to run everyday at 7AM).<\/em><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-104\" src=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/survey-trigger.png?w=1100\" alt=\"survey trigger\" data-attachment-id=\"104\" data-permalink=\"https:\/\/kaizala007.blog\/2018\/01\/12\/flow1-send-a-survey-daily\/survey-trigger\/\" data-orig-file=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/survey-trigger.png?w=1100\" data-orig-size=\"599,331\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"survey trigger\" data-image-description=\"\" data-medium-file=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/survey-trigger.png?w=1100?w=300\" data-large-file=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/survey-trigger.png?w=1100?w=599\" \/><\/p>\n<h2>Action<\/h2>\n<p>Subsequently you can add a Kaizala action to send the survey. Search for \u201c<strong>Send action on a group\u201d\u00a0<\/strong>and add it to the flow.\u00a0You can configure the title, visibility, anonymity, multiple responses, due date (in hours) and questions.<\/p>\n<p>The questions field is a JSON array of question(s) that are in the format {\u201ctitle\u201d:\u201dstring\u201d, \u201ctype\u201d:\u201dstring\u201d}. For details on supported types in questions refer\u00a0<a href=\"https:\/\/docs.microsoft.com\/en-us\/kaizala\/connectors\/actions_post\">documentation<\/a>. Following screenshot shows sample.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-102\" src=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/survey-action.png?w=1100\" alt=\"survey action\" data-attachment-id=\"102\" data-permalink=\"https:\/\/kaizala007.blog\/2018\/01\/12\/flow1-send-a-survey-daily\/survey-action\/\" data-orig-file=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/survey-action.png?w=1100\" data-orig-size=\"601,763\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"survey action\" data-image-description=\"\" data-medium-file=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/survey-action.png?w=1100?w=236\" data-large-file=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/survey-action.png?w=1100?w=601\" \/><\/p>\n<p>I wanted the title to have the date information \u2013 so I added an expression as shown below.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-100\" src=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/date-time-format.png?w=1100\" alt=\"date time format\" data-attachment-id=\"100\" data-permalink=\"https:\/\/kaizala007.blog\/2018\/01\/12\/flow1-send-a-survey-daily\/date-time-format\/\" data-orig-file=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/date-time-format.png?w=1100\" data-orig-size=\"386,131\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"date time format\" data-image-description=\"\" data-medium-file=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/date-time-format.png?w=1100?w=300\" data-large-file=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/date-time-format.png?w=1100?w=386\" \/><\/p>\n<h2><\/h2>\n<h2>Screenshots of the flow<\/h2>\n<h3>Complete flow<\/h3>\n<p>(recurrence trigger and the send survey action) looks like this:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-101\" src=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/flow-snapshot.png?w=1100\" alt=\"flow snapshot\" data-attachment-id=\"101\" data-permalink=\"https:\/\/kaizala007.blog\/2018\/01\/12\/flow1-send-a-survey-daily\/flow-snapshot\/\" data-orig-file=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/flow-snapshot.png?w=1100\" data-orig-size=\"558,334\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"flow snapshot\" data-image-description=\"\" data-medium-file=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/flow-snapshot.png?w=1100?w=300\" data-large-file=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/flow-snapshot.png?w=1100?w=558\" \/><\/p>\n<h3>Survey on phone<\/h3>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-103\" src=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/survey-on-phone.png?w=1100\" alt=\"survey on phone\" data-attachment-id=\"103\" data-permalink=\"https:\/\/kaizala007.blog\/2018\/01\/12\/flow1-send-a-survey-daily\/survey-on-phone\/\" data-orig-file=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/survey-on-phone.png?w=1100\" data-orig-size=\"373,401\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"survey on phone\" data-image-description=\"\" data-medium-file=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/survey-on-phone.png?w=1100?w=279\" data-large-file=\"https:\/\/kaizala007.files.wordpress.com\/2018\/01\/survey-on-phone.png?w=1100?w=373\" \/><\/p>\n<p>Hope that was helpful. Thank you for reading!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This blog discusses the scenario where you might need to send a survey with the same set of questions on a daily basis. This could be automated very simply using Microsoft Flow. In case you are new to Flow or the Kaizala connector, suggest you read this post to get started.<\/p>\n","protected":false},"author":69216,"featured_media":25159,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11],"tags":[21,87],"class_list":["post-1420","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office-add-ins","tag-connectors","tag-kaizala"],"acf":[],"blog_post_summary":"<p>This blog discusses the scenario where you might need to send a survey with the same set of questions on a daily basis. This could be automated very simply using Microsoft Flow. In case you are new to Flow or the Kaizala connector, suggest you read this post to get started.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/1420","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=1420"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/1420\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/25159"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=1420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=1420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=1420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}