[ { "type" : "nivoBotDefinition", "definition" : { "id" : "e21097fa-ce30-4b9c-ba0c-ce3592f55b5e", "name" : "Feedback Bot", "steps" : [ { "id" : "5394d4f2-5c28-424b-8e63-3cdb5bfdbb1d", "action" : { "type" : "question", "id" : "198b839d-0e17-4e24-bc32-fbb94d6ee350", "text" : "{{name}}, could you please answer a quick feedback form?", "choices" : [ "Yes", "No" ] }, "flowControl" : { "type" : "immediately" }, "condition" : null }, { "id" : "bcb87691-0dd5-41ae-93b5-092f5fa916c7", "action" : { "type" : "form", "id" : "7b6c8698-be4c-4152-9a5b-0b3090881bef", "formId" : "d7cc12fa-3a4a-4911-8214-b0d3a0dfb9ed" }, "flowControl" : { "type" : "stepComplete" }, "condition" : { "type" : "answerShouldBe", "key" : "198b839d-0e17-4e24-bc32-fbb94d6ee350", "expectedAnswer" : "Yes" } }, { "id" : "7dda38fe-1371-4dd0-8dda-6573f45cfffd", "action" : { "type" : "message", "id" : "aea3d7ea-e59e-4e55-8848-56e1aa7e0f88", "text" : "Thank you! " }, "flowControl" : { "type" : "stepComplete" }, "condition" : { "type" : "answerShouldBe", "key" : "198b839d-0e17-4e24-bc32-fbb94d6ee350", "expectedAnswer" : "Yes" } }, { "id" : "c069d5ad-b887-447f-b28a-82ebdd53b36a", "action" : { "type" : "message", "id" : "63b66136-4383-4ad5-aa15-d2b5240f6bbf", "text" : "No worries, hope you have a great day!" }, "flowControl" : { "type" : "stepComplete" }, "condition" : { "type" : "answerShouldBe", "key" : "198b839d-0e17-4e24-bc32-fbb94d6ee350", "expectedAnswer" : "No" } }, { "id" : "45637751-8bae-4f9d-8b01-a8e8b17e9720", "action" : { "type" : "inbox", "id" : "52ac51af-d0b8-4fbb-b233-f2a513f9be2f", "inboxId" : "7a29d8c5-ab58-48b8-9f03-8b3d2596008d" }, "flowControl" : { "type" : "stepComplete" }, "condition" : { "type" : "answerShouldBe", "key" : "198b839d-0e17-4e24-bc32-fbb94d6ee350", "expectedAnswer" : "Yes" } } ], "creationDate" : "2020-03-17T09:11:54.651Z", "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 } ] } } ]