[ { "type" : "nivoBotDefinition", "definition" : { "id" : "a917541d-604a-401b-89ba-2d9d66d43ea6", "name" : "Welcome + ID + Folder", "steps" : [ { "id" : "11d65c6e-d1cc-4036-bfc3-b71e1679bc1b", "action" : { "type" : "message", "id" : "1930da9f-07b1-4618-a638-ee3a8aa94c9c", "text" : "Hi {{name}}, welcome to {{instituion}}! \n\nBefore we continue we just need to confirm your details. " }, "flowControl" : { "type" : "stepComplete" }, "condition" : null }, { "id" : "ba181112-7a23-41fb-9999-b7642619121d", "action" : { "type" : "question", "id" : "cdd351b2-d9c9-4926-9bbf-66ad94b1ba2d", "text" : "How would you like to confirm your details?", "choices" : [ "ID Check (Recommended) ", "Verification Form" ] }, "flowControl" : { "type" : "stepComplete" }, "condition" : null }, { "id" : "b75d8538-1a0c-495a-95a3-291e3cc1d776", "action" : { "type" : "idv", "id" : "c7512d24-4af2-4539-b7e8-a0b72a2811c4" }, "flowControl" : { "type" : "stepComplete" }, "condition" : { "type" : "answerShouldBe", "key" : "cdd351b2-d9c9-4926-9bbf-66ad94b1ba2d", "expectedAnswer" : "ID Check (Recommended) " } }, { "id" : "e3e306cd-f617-42ca-8da8-901db56d3d49", "action" : { "type" : "inbox", "id" : "9b43ac93-22f5-44bd-9bfd-4cf8a7341816", "inboxId" : "efb70330-e9b7-4049-8ec2-bed91de0cc6a" }, "flowControl" : { "type" : "stepComplete" }, "condition" : { "type" : "answerShouldBe", "key" : "cdd351b2-d9c9-4926-9bbf-66ad94b1ba2d", "expectedAnswer" : "ID Check (Recommended) " } }, { "id" : "887739db-b298-467b-ae68-23d9d0f70897", "action" : { "type" : "form", "id" : "55321bf5-4528-42b4-9171-177299edf5b1", "formId" : "801cbabe-1d67-415a-afe1-faed64f6584e" }, "flowControl" : { "type" : "stepComplete" }, "condition" : { "type" : "answerShouldBe", "key" : "cdd351b2-d9c9-4926-9bbf-66ad94b1ba2d", "expectedAnswer" : "Verification Form" } }, { "id" : "52784d4c-eff7-4c51-b355-1f64288eea9c", "action" : { "type" : "inbox", "id" : "50cbe31d-a849-45b4-8105-272694d48b10", "inboxId" : "d43112db-7e0d-4bad-942f-ab9ba1abe880" }, "flowControl" : { "type" : "stepComplete" }, "condition" : { "type" : "answerShouldBe", "key" : "cdd351b2-d9c9-4926-9bbf-66ad94b1ba2d", "expectedAnswer" : "Verification Form" } }, { "id" : "976ae98c-a242-407c-b004-53b1fa9537cd", "action" : { "type" : "question", "id" : "de29de77-807d-4e43-ac0b-2546cab71b4c", "text" : "Thanks, we aim to send you your documents within the next 24 working hours. In the meantime would you like to do something else?", "choices" : [ "Yes please", "No thank you " ] }, "flowControl" : { "type" : "stepComplete" }, "condition" : null }, { "id" : "ce1fabf0-d743-4ae9-957c-f498f06d636e", "action" : { "type" : "message", "id" : "0291140b-cc18-4e77-8bd9-64a91239d045", "text" : "Please leave a message and we'll get back to you as soon as possible. " }, "flowControl" : { "type" : "stepComplete" }, "condition" : { "type" : "answerShouldBe", "key" : "de29de77-807d-4e43-ac0b-2546cab71b4c", "expectedAnswer" : "Yes please" } }, { "id" : "df387664-5807-422d-8dcb-d8bb5831fe91", "action" : { "type" : "inbox", "id" : "4ac76023-79ee-4c11-9ae2-33867e7fc9fd", "inboxId" : "277f64c4-8734-4ae7-8aa0-f5019e6a0cbd" }, "flowControl" : { "type" : "stepComplete" }, "condition" : { "type" : "answerShouldBe", "key" : "de29de77-807d-4e43-ac0b-2546cab71b4c", "expectedAnswer" : "Yes please" } } ], "creationDate" : "2019-09-16T10:14:09.918Z", "isLocked" : false } }, { "type" : "form", "form" : { "id" : "801cbabe-1d67-415a-afe1-faed64f6584e", "name" : "ID form", "questions" : [ { "id" : "450a82cd-5d64-4f66-ae94-9250f19b7b89", "question" : "Current address", "type" : "address", "choices" : null }, { "id" : "86641c15-f25e-44cb-8467-3aadc058146e", "question" : "Name", "type" : "text", "choices" : null } ] } } ]