Packages

An open source two way communication platform for the social sector

Current section

Files

Jump to
glific priv data flows activity.json
Raw

priv/data/flows/activity.json

{
"_ui": {
"nodes": {
"030d0b21-ab4e-414e-8eaf-c80e32e33549": {
"position": {
"left": 860,
"top": 520
},
"type": "execute_actions"
},
"0af7a49e-ad82-4c43-ba54-b75d6e34241d": {
"config": {},
"position": {
"left": 940,
"top": 40
},
"type": "split_by_subflow"
},
"22a03ac9-1df7-4eaa-b020-15d17244bd9e": {
"position": {
"left": 320,
"top": 320
},
"type": "execute_actions"
},
"377ca922-0a4a-4c1c-b54a-712d1cb5fad3": {
"config": {},
"position": {
"left": 260,
"top": 740
},
"type": "split_by_subflow"
},
"427a86b4-3d40-4d4e-a106-7ce87ac02d40": {
"position": {
"left": 860,
"top": 360
},
"type": "execute_actions"
},
"570446be-bf63-447a-b098-23ed76674b87": {
"config": {
"cases": {}
},
"position": {
"left": 480,
"top": 0
},
"type": "wait_for_response"
},
"62664d1c-cfd8-4378-8ba1-c912fdd5c8ab": {
"position": {
"left": 0,
"top": 0
},
"type": "execute_actions"
},
"62fc2c97-8eff-45f4-bcfd-8ab8f06f5c81": {
"position": {
"left": 540,
"top": 340
},
"type": "execute_actions"
},
"67e13040-4658-4403-a7a9-8bf0b0d10fe9": {
"position": {
"left": 320,
"top": 440
},
"type": "execute_actions"
},
"8034f3ff-a376-41e5-bd9f-8007221804b5": {
"position": {
"left": 680,
"top": 160
},
"type": "execute_actions"
},
"b97332b6-0d40-4dc8-9c67-f075447e63f9": {
"position": {
"left": 560,
"top": 440
},
"type": "execute_actions"
},
"f92a0270-77e2-464f-bf05-3b86653aa880": {
"config": {
"cases": {}
},
"position": {
"left": 520,
"top": 700
},
"type": "wait_for_response"
}
},
"stickies": {}
},
"expire_after_minutes": 10080,
"language": "base",
"localization": {
"hi": {
"0e01e03d-9e58-41e1-b888-fa9d6835466e": {
"name": [
"थिएटर"
]
},
"15116a98-9204-4e60-ad6a-07523eec468b": {
"text": [
"\"कविता के विभिन्न रूप हैं जैसे सोननेट, हाइक, आदि। यह कविता का एक बहुत ही रोचक रूप है जो लिखने के लिए उतना ही चुनौतीपूर्ण है! ठोस कविता, जिसे पैटर्न या आकृति कविता भी कहा जाता है क्योंकि इसमें एक दृश्य उपस्थिति है! कविता के विषय से मेल खाता है। \""
]
},
"60a713f9-f767-4c06-9086-e1f733417dd7": {
"name": [
"कविता"
]
},
"611c1f36-eef2-4077-9ac4-b20ccc1b9285": {
"text": [
"अपनी इच्छित विषय तक पहुंचने के लिए नीचे दिए गए मेनू में संख्या (1, 2, 3, आदि) टाइप करें। \n\n1. दृश्य कला का प्रयास करें \n2. कविता की कोशिश करो \n3. थिएटर का प्रयास करें \n\nया, \n\n9. मदद के लिए 9 टाइप करें"
]
},
"87b55633-80ed-46b2-aa84-719681c52528": {
"text": [
"\"फूलों का रंग?\" एक मजेदार कला गतिविधि है जो आपको अपने परिवार के साथ मस्ती करते हुए सुंदर फूलों को आकर्षित करने के लिए अपनी उंगलियों और हाथों का उपयोग करने में मदद करेगी।"
]
},
"b590c662-f15c-49b8-97f9-0954ce7fc721": {
"name": [
"अन्य"
]
},
"de7e6272-6f91-4ad1-b8ba-8d313c878098": {
"text": [
"अपने शरीर को सुनो, और पता करें कि उसे क्या कहना है!"
]
},
"ff1cf4ae-dcd5-4f4c-b2b9-e003b000a808": {
"name": [
"दृश्य कला"
]
}
}
},
"name": "Activity",
"nodes": [
{
"actions": [
{
"attachments": [],
"quick_replies": [],
"text": "Type the number in the menu below (1, 2, 3, etc) to navigate and access the content you want.\n\n1. Try Visual arts\n2. Try Poetry\n3. Try Theatre\n\nor,\n\n9. Type 9 for Help",
"type": "send_msg",
"uuid": "611c1f36-eef2-4077-9ac4-b20ccc1b9285"
}
],
"exits": [
{
"destination_uuid": "570446be-bf63-447a-b098-23ed76674b87",
"uuid": "7837b675-5731-41b7-9b83-87743d031521"
}
],
"uuid": "62664d1c-cfd8-4378-8ba1-c912fdd5c8ab"
},
{
"actions": [],
"exits": [
{
"destination_uuid": "22a03ac9-1df7-4eaa-b020-15d17244bd9e",
"uuid": "1d9667d7-8b04-4c77-a13b-1d4986e62010"
},
{
"destination_uuid": "62fc2c97-8eff-45f4-bcfd-8ab8f06f5c81",
"uuid": "dc9e8739-2f1d-48a8-9da9-18aec04c9ada"
},
{
"destination_uuid": "427a86b4-3d40-4d4e-a106-7ce87ac02d40",
"uuid": "751e1a59-5990-4f9c-9547-8865c01fec18"
},
{
"destination_uuid": "8034f3ff-a376-41e5-bd9f-8007221804b5",
"uuid": "e7d56330-bda5-4d05-bd8b-f4f9349bf1b4"
},
{
"destination_uuid": "62664d1c-cfd8-4378-8ba1-c912fdd5c8ab",
"uuid": "c886d2b2-ec93-4bec-946c-24334d565a48"
}
],
"router": {
"cases": [
{
"arguments": [
"1"
],
"category_uuid": "ff1cf4ae-dcd5-4f4c-b2b9-e003b000a808",
"type": "has_number_eq",
"uuid": "01da421e-9913-4e34-b1e6-017510b17ad4"
},
{
"arguments": [
"2"
],
"category_uuid": "60a713f9-f767-4c06-9086-e1f733417dd7",
"type": "has_number_eq",
"uuid": "9cbf8e53-a11f-48d4-ade4-1e3df27b5057"
},
{
"arguments": [
"3"
],
"category_uuid": "0e01e03d-9e58-41e1-b888-fa9d6835466e",
"type": "has_number_eq",
"uuid": "8998e3c0-f05d-4e69-baff-af1c2afcf2b5"
},
{
"arguments": [
"9"
],
"category_uuid": "a2e6a033-176a-49a9-b613-be786a1eef45",
"type": "has_number_eq",
"uuid": "b722a535-fb54-4923-88ef-f9e1e8924ad5"
}
],
"categories": [
{
"exit_uuid": "1d9667d7-8b04-4c77-a13b-1d4986e62010",
"name": "Visual Arts",
"uuid": "ff1cf4ae-dcd5-4f4c-b2b9-e003b000a808"
},
{
"exit_uuid": "dc9e8739-2f1d-48a8-9da9-18aec04c9ada",
"name": "Poetry",
"uuid": "60a713f9-f767-4c06-9086-e1f733417dd7"
},
{
"exit_uuid": "751e1a59-5990-4f9c-9547-8865c01fec18",
"name": "Theatre",
"uuid": "0e01e03d-9e58-41e1-b888-fa9d6835466e"
},
{
"exit_uuid": "e7d56330-bda5-4d05-bd8b-f4f9349bf1b4",
"name": "Help",
"uuid": "a2e6a033-176a-49a9-b613-be786a1eef45"
},
{
"exit_uuid": "c886d2b2-ec93-4bec-946c-24334d565a48",
"name": "Other",
"uuid": "b590c662-f15c-49b8-97f9-0954ce7fc721"
}
],
"default_category_uuid": "b590c662-f15c-49b8-97f9-0954ce7fc721",
"operand": "@input.text",
"result_name": "activity",
"type": "switch",
"wait": {
"type": "msg"
}
},
"uuid": "570446be-bf63-447a-b098-23ed76674b87"
},
{
"actions": [
{
"flow": {
"name": "Help Workflow",
"uuid": "HELP_UUID"
},
"type": "enter_flow",
"uuid": "883a4070-5201-4780-8fd6-86017afc87c9"
}
],
"exits": [
{
"destination_uuid": null,
"uuid": "59fa9fc1-5121-4c59-85e7-35e71d211389"
},
{
"destination_uuid": null,
"uuid": "9cbc5f11-84c5-4ee6-b823-cb68a95caa1f"
}
],
"router": {
"cases": [
{
"arguments": [
"completed"
],
"category_uuid": "04e86a11-9014-4eaa-915d-e2b85c9051d4",
"type": "has_only_text",
"uuid": "1c4160c0-cc95-4ac0-b2ff-ac7d825ddff2"
},
{
"arguments": [
"expired"
],
"category_uuid": "4d2895a7-f73e-4ac6-a7fe-537dcbbd52fe",
"type": "has_only_text",
"uuid": "107bdfa6-c3e4-49a3-ae74-444f079713fd"
}
],
"categories": [
{
"exit_uuid": "59fa9fc1-5121-4c59-85e7-35e71d211389",
"name": "Complete",
"uuid": "04e86a11-9014-4eaa-915d-e2b85c9051d4"
},
{
"exit_uuid": "9cbc5f11-84c5-4ee6-b823-cb68a95caa1f",
"name": "Expired",
"uuid": "4d2895a7-f73e-4ac6-a7fe-537dcbbd52fe"
}
],
"default_category_uuid": "4d2895a7-f73e-4ac6-a7fe-537dcbbd52fe",
"operand": "@child.run.status",
"type": "switch"
},
"uuid": "0af7a49e-ad82-4c43-ba54-b75d6e34241d"
},
{
"actions": [
{
"labels": [
{
"name": "Help",
"uuid": "Help:ID"
}
],
"type": "add_input_labels",
"uuid": "744d3836-3841-4d55-8a95-c927e41aa0cd"
}
],
"exits": [
{
"destination_uuid": "0af7a49e-ad82-4c43-ba54-b75d6e34241d",
"uuid": "6d139dee-1219-4bf2-b022-e3bed356e283"
}
],
"uuid": "8034f3ff-a376-41e5-bd9f-8007221804b5"
},
{
"actions": [
{
"labels": [
{
"name": "Visual Arts",
"uuid": "Visual Arts:ID"
}
],
"type": "add_input_labels",
"uuid": "a98eae2b-ab70-40ce-8e11-3fdce7fbbba9"
}
],
"exits": [
{
"destination_uuid": "67e13040-4658-4403-a7a9-8bf0b0d10fe9",
"uuid": "e2c9477e-b97c-40c4-b5d4-003838b5db1a"
}
],
"uuid": "22a03ac9-1df7-4eaa-b020-15d17244bd9e"
},
{
"actions": [
{
"labels": [
{
"name": "Poetry",
"uuid": "Poetry:ID"
}
],
"type": "add_input_labels",
"uuid": "e5118735-409f-45f8-ac42-6b1b2fdccb12"
}
],
"exits": [
{
"destination_uuid": "b97332b6-0d40-4dc8-9c67-f075447e63f9",
"uuid": "577f242d-5b37-4afc-8c5b-214dcd5a46b2"
}
],
"uuid": "62fc2c97-8eff-45f4-bcfd-8ab8f06f5c81"
},
{
"actions": [
{
"labels": [
{
"name": "Theatre",
"uuid": "Theatre:ID"
}
],
"type": "add_input_labels",
"uuid": "b80e1a95-2b47-4167-a40d-cf21c911606e"
}
],
"exits": [
{
"destination_uuid": "030d0b21-ab4e-414e-8eaf-c80e32e33549",
"uuid": "bfe59a6d-818b-4ccf-8b87-1e41327dd3e6"
}
],
"uuid": "427a86b4-3d40-4d4e-a106-7ce87ac02d40"
},
{
"actions": [
{
"attachments": [],
"quick_replies": [],
"text": "“Painting Flowers?” is a fun art activity which will help you to use your fingers and hands to draw beautiful flowers while having fun with your family.",
"type": "send_msg",
"uuid": "87b55633-80ed-46b2-aa84-719681c52528"
}
],
"exits": [
{
"destination_uuid": "f92a0270-77e2-464f-bf05-3b86653aa880",
"uuid": "03c95a7b-d23a-426a-8e8c-c587754e9e50"
}
],
"uuid": "67e13040-4658-4403-a7a9-8bf0b0d10fe9"
},
{
"actions": [
{
"attachments": [],
"quick_replies": [],
"text": "\"There are various forms of poems such as sonnets, haikus, etc. This is a very interesting form of poetry that is as challenging as it is fun to write! Concrete poetry, also called pattern or shape poetry because it has a visual appearance that matches the subject matter of the poem.\"",
"type": "send_msg",
"uuid": "15116a98-9204-4e60-ad6a-07523eec468b"
}
],
"exits": [
{
"destination_uuid": "f92a0270-77e2-464f-bf05-3b86653aa880",
"uuid": "dbac803e-4ba4-49ea-9065-7290e022bb31"
}
],
"uuid": "b97332b6-0d40-4dc8-9c67-f075447e63f9"
},
{
"actions": [
{
"attachments": [],
"quick_replies": [],
"text": "Listen to your body, and find out what it has to say! ",
"type": "send_msg",
"uuid": "de7e6272-6f91-4ad1-b8ba-8d313c878098"
}
],
"exits": [
{
"destination_uuid": "f92a0270-77e2-464f-bf05-3b86653aa880",
"uuid": "0e99c6be-40d1-4ca6-8199-a8ca0a4c0001"
}
],
"uuid": "030d0b21-ab4e-414e-8eaf-c80e32e33549"
},
{
"actions": [],
"exits": [
{
"destination_uuid": "377ca922-0a4a-4c1c-b54a-712d1cb5fad3",
"uuid": "b939bed0-239d-4bc7-b8b8-e74ac7206c40"
},
{
"destination_uuid": "377ca922-0a4a-4c1c-b54a-712d1cb5fad3",
"uuid": "402d70d2-f874-4ea1-b596-23b807bd0cb7"
}
],
"router": {
"cases": [],
"categories": [
{
"exit_uuid": "b939bed0-239d-4bc7-b8b8-e74ac7206c40",
"name": "All Responses",
"uuid": "89247ee1-e40b-4122-afc4-622552cf382c"
},
{
"exit_uuid": "402d70d2-f874-4ea1-b596-23b807bd0cb7",
"name": "No Response",
"uuid": "af0cd29f-b311-4afc-ba97-1745ae4860a4"
}
],
"default_category_uuid": "89247ee1-e40b-4122-afc4-622552cf382c",
"operand": "@input.text",
"type": "switch",
"wait": {
"timeout": {
"category_uuid": "af0cd29f-b311-4afc-ba97-1745ae4860a4",
"seconds": 60
},
"type": "msg"
}
},
"uuid": "f92a0270-77e2-464f-bf05-3b86653aa880"
},
{
"actions": [
{
"flow": {
"name": "Feedback",
"uuid": "FEEDBACK_UUID"
},
"type": "enter_flow",
"uuid": "fbe61add-c0fd-4bad-b3e9-ea3ff1ac69af"
}
],
"exits": [
{
"destination_uuid": "62664d1c-cfd8-4378-8ba1-c912fdd5c8ab",
"uuid": "36cec246-14ff-4ac8-beae-acb450ddef97"
},
{
"destination_uuid": "62664d1c-cfd8-4378-8ba1-c912fdd5c8ab",
"uuid": "7d8636ca-f7b5-45a4-a576-96f1b1ad8d3d"
}
],
"router": {
"cases": [
{
"arguments": [
"completed"
],
"category_uuid": "8713c931-a14e-49d2-b1f1-142569746c37",
"type": "has_only_text",
"uuid": "ac674e5a-ad14-4c12-848f-6be15942a0c9"
},
{
"arguments": [
"expired"
],
"category_uuid": "c2814b18-73c2-48bb-b672-ad905aff401e",
"type": "has_only_text",
"uuid": "74e54940-9aea-429d-8586-e5cb99f0c794"
}
],
"categories": [
{
"exit_uuid": "36cec246-14ff-4ac8-beae-acb450ddef97",
"name": "Complete",
"uuid": "8713c931-a14e-49d2-b1f1-142569746c37"
},
{
"exit_uuid": "7d8636ca-f7b5-45a4-a576-96f1b1ad8d3d",
"name": "Expired",
"uuid": "c2814b18-73c2-48bb-b672-ad905aff401e"
}
],
"default_category_uuid": "c2814b18-73c2-48bb-b672-ad905aff401e",
"operand": "@child.run.status",
"type": "switch"
},
"uuid": "377ca922-0a4a-4c1c-b54a-712d1cb5fad3"
}
],
"spec_version": "13.1.0",
"type": "messaging",
"uuid": "ACTIVITY_UUID",
"vars": [
"ACTIVITY_UUID"
]
}