Current section
Files
Jump to
Current section
Files
priv/data/flows/sol_registration.json
{
"_ui": {
"nodes": {
"10da044c-beb6-486a-9580-0c7933537cb8": {
"type": "wait_for_response",
"config": {
"cases": {}
},
"position": {
"top": 60,
"left": 600
}
},
"1654b934-1861-4565-891e-73d54aa35a98": {
"type": "execute_actions",
"position": {
"top": 1300,
"left": 540
}
},
"1d4bdc91-6996-4879-b5ea-c3996b3a03c0": {
"type": "execute_actions",
"position": {
"top": 1240,
"left": 1000
}
},
"3631eb12-391d-4d69-afe6-8446ed5ebbca": {
"type": "execute_actions",
"position": {
"top": 300,
"left": 540
}
},
"5d13fa3e-29a8-439a-8b40-2c8c85f252a3": {
"type": "execute_actions",
"position": {
"top": 1420,
"left": 540
}
},
"5f5da8d1-6e89-499d-b0bb-a8d7dcd5eeb2": {
"type": "execute_actions",
"position": {
"top": 220,
"left": 940
}
},
"64b4223e-3dc1-4283-bcfe-7a3b76f11a08": {
"type": "wait_for_response",
"config": {
"cases": {}
},
"position": {
"top": 1040,
"left": 460
}
},
"e109d93a-bd05-4937-8ab7-d99763e87f80": {
"type": "execute_actions",
"position": {
"top": 700,
"left": 540
}
},
"f7a928ea-75fa-4346-b776-3b85e2ec52a9": {
"type": "wait_for_response",
"config": {
"cases": {}
},
"position": {
"top": 540,
"left": 540
}
}
},
"stickies": {}
},
"name": "SoL Registration",
"type": "messaging",
"uuid": "f4f38e00-3a50-4892-99ce-a281fe24d040",
"vars": ["f4f38e00-3a50-4892-99ce-a281fe24d040"],
"nodes": [{
"uuid": "10da044c-beb6-486a-9580-0c7933537cb8",
"exits": [{
"uuid": "0ad48a4d-fb01-4ddd-a9f2-b6d321f3f963",
"destination_uuid": "3631eb12-391d-4d69-afe6-8446ed5ebbca"
}, {
"uuid": "04687580-540f-4dd4-a4c5-360151119ac3",
"destination_uuid": "3631eb12-391d-4d69-afe6-8446ed5ebbca"
}, {
"uuid": "4a767be0-b47a-4bdd-a2f0-a414fa44c4c1",
"destination_uuid": "5f5da8d1-6e89-499d-b0bb-a8d7dcd5eeb2"
}],
"router": {
"type": "switch",
"wait": {
"type": "msg"
},
"cases": [{
"type": "has_any_word",
"uuid": "aa5fc18a-772a-4baf-9d9d-d748b637a796",
"arguments": ["1"],
"category_uuid": "34696b56-4c2b-4ab3-86cd-a3d795d9b688"
}, {
"type": "has_any_word",
"uuid": "0614ed41-e2c2-4b7b-ae25-c6a936c2eb83",
"arguments": ["2"],
"category_uuid": "e7420a28-69a6-41bd-951d-d9f9f57bc1d1"
}],
"operand": "@input.text",
"categories": [{
"name": "Hindi",
"uuid": "34696b56-4c2b-4ab3-86cd-a3d795d9b688",
"exit_uuid": "0ad48a4d-fb01-4ddd-a9f2-b6d321f3f963"
}, {
"name": "English",
"uuid": "e7420a28-69a6-41bd-951d-d9f9f57bc1d1",
"exit_uuid": "04687580-540f-4dd4-a4c5-360151119ac3"
}, {
"name": "Other",
"uuid": "d03a4c5c-5b30-491b-8d27-4a63862fab55",
"exit_uuid": "4a767be0-b47a-4bdd-a2f0-a414fa44c4c1"
}],
"result_name": "language",
"default_category_uuid": "d03a4c5c-5b30-491b-8d27-4a63862fab55"
},
"actions": []
}, {
"uuid": "5f5da8d1-6e89-499d-b0bb-a8d7dcd5eeb2",
"exits": [{
"uuid": "ee9fd689-4318-485c-9a7e-568e1658d669",
"destination_uuid": "10da044c-beb6-486a-9580-0c7933537cb8"
}],
"actions": [{
"text": "Sorry, we didn't get you.\n\nWhat is your preferred language to receive creative activities?",
"type": "send_msg",
"uuid": "58578969-ec19-49bf-8910-3db585508f35",
"attachments": [],
"quick_replies": []
}]
}, {
"uuid": "3631eb12-391d-4d69-afe6-8446ed5ebbca",
"exits": [{
"uuid": "4311a8a0-a9d5-4b4f-b00a-83a63c04da00",
"destination_uuid": "f7a928ea-75fa-4346-b776-3b85e2ec52a9"
}],
"actions": [{
"text": "Here's an introductory video of the platform and instructional guide.\n\nPlease also tell us your full name",
"type": "send_msg",
"uuid": "bbe57054-0d1c-4001-ba95-d947fe099f05",
"attachments": [],
"quick_replies": []
}]
}, {
"uuid": "f7a928ea-75fa-4346-b776-3b85e2ec52a9",
"exits": [{
"uuid": "a368616e-2c18-480d-a5dd-e75256ee3736",
"destination_uuid": "e109d93a-bd05-4937-8ab7-d99763e87f80"
}],
"router": {
"type": "switch",
"wait": {
"type": "msg"
},
"cases": [],
"operand": "@input.text",
"categories": [{
"name": "All Responses",
"uuid": "4297fca7-9441-4489-ae22-8f65a9534d90",
"exit_uuid": "a368616e-2c18-480d-a5dd-e75256ee3736"
}],
"result_name": "contact_name",
"default_category_uuid": "4297fca7-9441-4489-ae22-8f65a9534d90"
},
"actions": []
}, {
"uuid": "e109d93a-bd05-4937-8ab7-d99763e87f80",
"exits": [{
"uuid": "0e7267f2-7fce-442a-8dc6-16959a030691",
"destination_uuid": "64b4223e-3dc1-4283-bcfe-7a3b76f11a08"
}],
"actions": [{
"text": "We're glad to know your name @contact.fields.name\n\nTell us how old you are:\nType 1 if you are less than 10 years\nType 2 if you are 11 years to 14 years of age\nType 3 if you are 15 to 18 years\nType 4 if you are 19 or above ",
"type": "send_msg",
"uuid": "a321c893-85a0-4318-b8bd-f65cb2f07e9d",
"attachments": [],
"quick_replies": []
}]
}, {
"uuid": "64b4223e-3dc1-4283-bcfe-7a3b76f11a08",
"exits": [{
"uuid": "f1fc8b2c-c7f8-4489-a1cc-37b033152307",
"destination_uuid": "1654b934-1861-4565-891e-73d54aa35a98"
}, {
"uuid": "3ad6cff7-8d60-41bc-a881-0bb93908f540",
"destination_uuid": "1654b934-1861-4565-891e-73d54aa35a98"
}, {
"uuid": "0e1195d9-d658-481f-b51b-794e33a00989",
"destination_uuid": "1654b934-1861-4565-891e-73d54aa35a98"
}, {
"uuid": "eddd128b-69e6-43f5-ac53-0a18b0a151f5",
"destination_uuid": "1654b934-1861-4565-891e-73d54aa35a98"
}, {
"uuid": "1ea86390-6831-4154-8fb4-a7c678f1e666",
"destination_uuid": "1d4bdc91-6996-4879-b5ea-c3996b3a03c0"
}],
"router": {
"type": "switch",
"wait": {
"type": "msg"
},
"cases": [{
"type": "has_number_eq",
"uuid": "01d34281-e41b-4f63-8d2b-6f07af372e02",
"arguments": ["1"],
"category_uuid": "98f47f2a-e175-48e1-9716-853659300bf1"
}, {
"type": "has_number_eq",
"uuid": "80489811-ec3d-4c87-8328-b50842645561",
"arguments": ["2"],
"category_uuid": "7fce7d80-cb53-4b53-bd88-659ff506ffd0"
}, {
"type": "has_number_eq",
"uuid": "d4335a03-3924-4725-bc1b-4ecd8fc4710d",
"arguments": ["3"],
"category_uuid": "f7f182ca-478e-4be7-9b0f-50e51ec40bc4"
}, {
"type": "has_number_eq",
"uuid": "379d0c9a-5b62-4f69-9ff1-783aaf38f5aa",
"arguments": ["4"],
"category_uuid": "0b257da6-515a-4beb-baa9-eb617db36765"
}],
"operand": "@input.text",
"categories": [{
"name": "Less than 10",
"uuid": "98f47f2a-e175-48e1-9716-853659300bf1",
"exit_uuid": "f1fc8b2c-c7f8-4489-a1cc-37b033152307"
}, {
"name": "11 to 14",
"uuid": "7fce7d80-cb53-4b53-bd88-659ff506ffd0",
"exit_uuid": "3ad6cff7-8d60-41bc-a881-0bb93908f540"
}, {
"name": "15 to 18",
"uuid": "f7f182ca-478e-4be7-9b0f-50e51ec40bc4",
"exit_uuid": "0e1195d9-d658-481f-b51b-794e33a00989"
}, {
"name": "19 or above",
"uuid": "0b257da6-515a-4beb-baa9-eb617db36765",
"exit_uuid": "eddd128b-69e6-43f5-ac53-0a18b0a151f5"
}, {
"name": "Other",
"uuid": "74388e34-71e0-45ef-9632-feecef7b6af9",
"exit_uuid": "1ea86390-6831-4154-8fb4-a7c678f1e666"
}],
"result_name": "age_group",
"default_category_uuid": "74388e34-71e0-45ef-9632-feecef7b6af9"
},
"actions": []
}, {
"uuid": "1d4bdc91-6996-4879-b5ea-c3996b3a03c0",
"exits": [{
"uuid": "61830b8d-6ceb-4c87-9423-3c03ac04334e",
"destination_uuid": "64b4223e-3dc1-4283-bcfe-7a3b76f11a08"
}],
"actions": [{
"text": "Sorry, we didn't understand that.\nPlease select one of the options from (1,2,3,4)",
"type": "send_msg",
"uuid": "50d39ac9-9c2b-4aa5-ab3d-bee7dd2cd946",
"attachments": [],
"quick_replies": []
}]
}, {
"uuid": "1654b934-1861-4565-891e-73d54aa35a98",
"exits": [{
"uuid": "0d295458-a5a7-48fa-98da-7545dc9a2a05",
"destination_uuid": "5d13fa3e-29a8-439a-8b40-2c8c85f252a3"
}],
"actions": [{
"type": "set_contact_field",
"uuid": "1a5cadff-66ec-4b5d-991b-08d12fa8723b",
"field": {
"key": "age_group",
"name": "Age Group"
},
"value": "@results.age_group.category"
}]
}, {
"uuid": "5d13fa3e-29a8-439a-8b40-2c8c85f252a3",
"exits": [{
"uuid": "7e4f97ec-5fd4-4e04-ac94-e01e4fb4992d",
"destination_uuid": null
}],
"actions": [{
"text": "Thank you for introducing yourself to us @contact.fields.name ЁЯШК ",
"type": "send_msg",
"uuid": "41525160-355f-4708-ab99-160b866829d8",
"attachments": [],
"quick_replies": []
}]
}],
"language": "base",
"localization": {
"hi": {
"0b257da6-515a-4beb-baa9-eb617db36765": {
"name": ["19 рдпрд╛ рдЙрд╕рд╕реЗ рдКрдкрд░"]
},
"34696b56-4c2b-4ab3-86cd-a3d795d9b688": {
"name": ["рд╣рд┐рдиреНрджреА"]
},
"3e84709b-bdf0-4f9b-bfd2-284a34b0ce5b": {
"name": ["рдирд╛рдо"]
},
"41525160-355f-4708-ab99-160b866829d8": {
"text": ["рд╣рдореЗрдВ рдЕрдкрдирд╛ рдкрд░рд┐рдЪрдп рджреЗрдиреЗ рдХреЗ рд▓рд┐рдП рдзрдиреНрдпрд╡рд╛рдж @results.name ЁЯШК "]
},
"4297fca7-9441-4489-ae22-8f65a9534d90": {
"name": ["рдЕрдиреНрдп"]
},
"50d39ac9-9c2b-4aa5-ab3d-bee7dd2cd946": {
"text": ["рдХреНрд╖рдорд╛ рдХрд░реЗрдВ, рд╣рдо рдЖрдкрдХреЛ рд╕рдордЭ рдирд╣реАрдВ рдкрд╛рдПред\n\nрдХреГрдкрдпрд╛ (1,2,3,4) рдореЗрдВ рд╕реЗ рдХрд┐рд╕реА рдПрдХ рд╡рд┐рдХрд▓реНрдк рдХрд╛ рдЪрдпрди рдХрд░реЗрдВ"]
},
"58578969-ec19-49bf-8910-3db585508f35": {
"text": ["рдХреНрд╖рдорд╛ рдХрд░реЗрдВ, рд╣рдо рдЖрдкрдХреЛ рд╕рдордЭ рдирд╣реАрдВ рдкрд╛рдПред\nрд░рдЪрдирд╛рддреНрдордХ рдХрд╛рд░реНрдпрдХрд▓рд╛рдк рдХреЛ рдкреНрд░рд╛рдкреНрдд рдХрд░рдиреЗ рдХреЗ рд▓рд┐рдП рдЖрдкрдХреА рдкрд╕рдВрджреАрджрд╛ рднрд╛рд╖рд╛ рдХреНрдпрд╛ рд╣реИ?"]
},
"74388e34-71e0-45ef-9632-feecef7b6af9": {
"name": ["рдЕрдиреНрдп"]
},
"7fce7d80-cb53-4b53-bd88-659ff506ffd0": {
"name": ["11 рд╕реЗ 14"]
},
"98f47f2a-e175-48e1-9716-853659300bf1": {
"name": ["10 рд╕реЗ рдХрдо"]
},
"a321c893-85a0-4318-b8bd-f65cb2f07e9d": {
"text": ["рд╣рдореЗрдВ рдЖрдкрдХрд╛ рдирд╛рдо рдЬрд╛рдирдХрд░ рдЦреБрд╢реА рд╣реБрдИ @results.name \nрдЖрдк рдХрд┐рддрдиреЗ рд╕рд╛рд▓ рдХреЗ рд╣реИрдВ? \n\nрдЕрдЧрд░ рдЖрдк 10 рд╡рд░реНрд╖ рд╕реЗ рдХрдо рд╣реИрдВ рддреЛ 1 рднреЗрдЬреЗрдВ \nрдЕрдЧрд░ рдЖрдк 11 рд╡рд░реНрд╖ рд╕реЗ 14 рд╡рд░реНрд╖ рдХреА рдЖрдпреБ рдХреЗ рд╣реИрдВ рддреЛ 2 рднреЗрдЬреЗрдВ \n15 рд╕реЗ 18 рд╕рд╛рд▓ рд╣реЛрдиреЗ рдкрд░ 3 рднреЗрдЬреЗрдВ \nрдЕрдЧрд░ рдЖрдк 19 рдпрд╛ рдЙрд╕рд╕реЗ рдКрдкрд░ рд╣реИрдВ рддреЛ 4 рднреЗрдЬреЗрдВ"]
},
"bbe57054-0d1c-4001-ba95-d947fe099f05": {
"text": ["рд╣рдорд╛рд░реЗ рд╕рд╛рде рдЬреБрдбрд╝рдиреЗ рдХреЗ рд▓рд┐рдП рдПрдХ рдкрд░рд┐рдЪрдп рд╡реАрдбрд┐рдпреЛ рджреЗрдЦреЗрдВред рдФрд░ рдХреГрдкрдпрд╛ рд╣рдореЗрдВ рднреА рдЕрдкрдирд╛ рдирд╛рдо рдмрддрд╛рдПрдВ"]
},
"d03a4c5c-5b30-491b-8d27-4a63862fab55": {
"name": ["рдЕрдиреНрдп"]
},
"e7420a28-69a6-41bd-951d-d9f9f57bc1d1": {
"name": ["рдЕрдВрдЧреНрд░реЗрдЬрд╝реА"]
},
"f7f182ca-478e-4be7-9b0f-50e51ec40bc4": {
"name": ["15 рд╕реЗ 18"]
},
"fdccbbd4-3dc3-40cc-bf58-1e430776adea": {
"text": ["рдХреНрд╖рдорд╛ рдХрд░реЗрдВ, рд╣рдо рдЖрдкрдХреЛ рд╕рдордЭ рдирд╣реАрдВ рдкрд╛рдПред\n\nрдХреГрдкрдпрд╛ рд╣рдореЗрдВ рдЕрдкрдирд╛ рдирд╛рдо рдмрддрд╛рдПрдВред\n"]
}
}
},
"spec_version": "13.1.0",
"expire_after_minutes": 10080
}