[ { "type" : "nivoBotDefinition", "definition" : { "id" : "19dd9181-3542-4edd-933c-075432768247", "name" : "Feedback Bot", "steps" : [ { "id" : "2c33131f-74fd-4e3e-ac14-5b487dea5328", "action" : { "type" : "question", "id" : "98f9ee96-e375-4a96-ac7e-7e78151b0eb3", "text" : "Could you please answer a quick 3 question survey? ", "choices" : [ "Yes", "No" ] }, "flowControl" : { "type" : "immediately" }, "condition" : null }, { "id" : "26fa1080-08ef-4a94-83e7-4d5f13345546", "action" : { "type" : "form", "id" : "1f93c359-18f6-4f3d-818e-9294a7a7307f", "formId" : "d7cc12fa-3a4a-4911-8214-b0d3a0dfb9ed" }, "flowControl" : { "type" : "stepComplete" }, "condition" : { "type" : "answerShouldBe", "key" : "98f9ee96-e375-4a96-ac7e-7e78151b0eb3", "expectedAnswer" : "Yes" } }, { "id" : "cf6c67b2-97db-4e29-a33d-3a70dea24e44", "action" : { "type" : "message", "id" : "3089c14a-a458-44be-b884-df1f459ab2b5", "text" : "Thanks! We hope to make your customer experience better :) " }, "flowControl" : { "type" : "stepComplete" }, "condition" : { "type" : "answerShouldBe", "key" : "98f9ee96-e375-4a96-ac7e-7e78151b0eb3", "expectedAnswer" : "Yes" } }, { "id" : "ddaa2bae-285a-4211-9eb6-be624fbb0f50", "action" : { "type" : "message", "id" : "95c298ea-f714-4b59-8323-ac2d9e787f14", "text" : "No problem. Have a good day. " }, "flowControl" : { "type" : "stepComplete" }, "condition" : { "type" : "answerShouldBe", "key" : "98f9ee96-e375-4a96-ac7e-7e78151b0eb3", "expectedAnswer" : "No" } }, { "id" : "476d20ad-44aa-47e4-8ffa-29f060c75cbb", "action" : { "type" : "inbox", "id" : "57837429-ddf7-44af-b601-5619a376a4e1", "inboxId" : "d1baf5be-b07c-4a98-a954-cf3f158ecd34" }, "flowControl" : { "type" : "stepComplete" }, "condition" : null } ], "creationDate" : "2019-10-02T19:54:26.202Z", "isLocked" : false } }, { "type" : "form", "form" : { "id" : "d7cc12fa-3a4a-4911-8214-b0d3a0dfb9ed", "name" : "Feedback Form", "questions" : [ { "id" : "db2ff2fd-9d91-4bfc-9597-944a956fbcea", "question" : "How was our service today?", "type" : "choice", "choices" : [ "Loved it ð\u009f¥°", "Good ð\u009f\u0098\u0083", "Just okay ð\u009f\u0098\u009b", "Hated it ð\u009f¤¬" ] }, { "id" : "d6623418-b276-4905-89fb-142c4f939204", "question" : "Do you prefer talking to us here?", "type" : "choice", "choices" : [ "Yes", "No" ] }, { "id" : "3f249cbd-d106-4ffc-95a1-392efd00c6ff", "question" : "Any other feedback?", "type" : "text", "choices" : null } ] } } ]