Current section
Files
Jump to
Current section
Files
priv/data/flows/help.json
{
"_ui": {
"nodes": {
"0abf3b1c-5f79-48bf-9076-a72828d3bb39": {
"type": "execute_actions",
"position": {
"top": 1060,
"left": 120
}
},
"3ea030e9-41c4-4c6c-8880-68bc2828d67b": {
"type": "execute_actions",
"position": {
"top": 20,
"left": 480
}
},
"6d39df59-4572-4f4c-99b7-f667ea112e03": {
"type": "execute_actions",
"position": {
"top": 480,
"left": 260
}
},
"6f68083e-2340-449e-9fca-ac57c6835876": {
"type": "wait_for_response",
"config": {
"cases": {}
},
"position": {
"top": 300,
"left": 120
}
},
"85e897d2-49e4-42b7-8574-8dc2aee97121": {
"type": "execute_actions",
"position": {
"top": 660,
"left": 120
}
},
"a5105a7c-0917-4900-a0ce-cb5d3be2ffc5": {
"type": "execute_actions",
"position": {
"top": 480,
"left": 560
}
},
"ca4e201c-b500-418e-8fdf-97ac0d4a80a5": {
"type": "execute_actions",
"position": {
"top": 920,
"left": 120
}
},
"f189f142-6d39-40fa-bf11-95578daeceea": {
"type": "execute_actions",
"position": {
"top": 460,
"left": 0
}
}
},
"languages": [
{
"eng": "English"
},
{
"spa": "Spanish"
}
]
},
"name": "Help Workflow",
"type": "message",
"uuid": "HELP_UUID",
"vars": [
"HELP_UUID"
],
"nodes": [
{
"uuid": "3ea030e9-41c4-4c6c-8880-68bc2828d67b",
"exits": [
{
"uuid": "a8311645-482e-4d35-b300-c92a9b18798b",
"destination_uuid": "6f68083e-2340-449e-9fca-ac57c6835876"
}
],
"actions": [
{
"text": "Thank you for reaching out. This is your help message along with some options-\n \n*Type 1* for option 1\n*Type 2* for option 2\n*Type 3* for option 3\n*Type 4* to optout and stop receiving our messages",
"type": "send_msg",
"uuid": "e319cd39-f764-4680-9199-4cb7da647166",
"attachments": [],
"quick_replies": []
}
]
},
{
"uuid": "6f68083e-2340-449e-9fca-ac57c6835876",
"exits": [
{
"uuid": "744b1082-4d95-40d0-839a-89fc1bb99d30",
"destination_uuid": "f189f142-6d39-40fa-bf11-95578daeceea"
},
{
"uuid": "77cd0e42-6a13-4122-a5fc-84b2e2daa1d4",
"destination_uuid": "85e897d2-49e4-42b7-8574-8dc2aee97121"
},
{
"uuid": "0caba4c7-0955-41c9-b8dc-6c58112503a0",
"destination_uuid": "6d39df59-4572-4f4c-99b7-f667ea112e03"
},
{
"uuid": "1da8bf0a-827f-43d8-8222-a3c79bcace46",
"destination_uuid": "a5105a7c-0917-4900-a0ce-cb5d3be2ffc5"
},
{
"uuid": "d11aaf4b-106f-4646-a15d-d18f3a534e38",
"destination_uuid": "3ea030e9-41c4-4c6c-8880-68bc2828d67b"
}
],
"router": {
"type": "switch",
"wait": {
"type": "msg"
},
"cases": [
{
"type": "has_any_word",
"uuid": "0345357f-dbfa-4946-9249-5828b58161a0",
"arguments": [
"1"
],
"category_uuid": "de13e275-a05f-41bf-afd8-73e9ed32f3bf"
},
{
"type": "has_any_word",
"uuid": "bc425dbf-d50c-48cf-81ba-622c06e153b0",
"arguments": [
"2"
],
"category_uuid": "d3f0bf85-dac1-4b7d-8084-5c1ad2575f12"
},
{
"type": "has_any_word",
"uuid": "be6bc73d-6108-405c-9f88-c317c05311ad",
"arguments": [
"3"
],
"category_uuid": "243766e5-e353-4d65-b87a-4405dbc24b1d"
},
{
"type": "has_any_word",
"uuid": "ebacc52f-a9b0-406d-837e-9e5ca1557d17",
"arguments": [
"4"
],
"category_uuid": "3ce58365-61f2-4a6c-9b03-1eeccf988952"
}
],
"operand": "@input.text",
"categories": [
{
"name": "One",
"uuid": "de13e275-a05f-41bf-afd8-73e9ed32f3bf",
"exit_uuid": "744b1082-4d95-40d0-839a-89fc1bb99d30"
},
{
"name": "Two",
"uuid": "d3f0bf85-dac1-4b7d-8084-5c1ad2575f12",
"exit_uuid": "77cd0e42-6a13-4122-a5fc-84b2e2daa1d4"
},
{
"name": "Three",
"uuid": "243766e5-e353-4d65-b87a-4405dbc24b1d",
"exit_uuid": "0caba4c7-0955-41c9-b8dc-6c58112503a0"
},
{
"name": "Four",
"uuid": "3ce58365-61f2-4a6c-9b03-1eeccf988952",
"exit_uuid": "1da8bf0a-827f-43d8-8222-a3c79bcace46"
},
{
"name": "Other",
"uuid": "65da0a4d-2bcc-42a2-99f5-4c9ed147f8a6",
"exit_uuid": "d11aaf4b-106f-4646-a15d-d18f3a534e38"
}
],
"default_category_uuid": "65da0a4d-2bcc-42a2-99f5-4c9ed147f8a6"
},
"actions": []
},
{
"uuid": "f189f142-6d39-40fa-bf11-95578daeceea",
"exits": [
{
"uuid": "d002db23-a51f-4183-81d6-b1e93c5132fb",
"destination_uuid": "ca4e201c-b500-418e-8fdf-97ac0d4a80a5"
}
],
"actions": [
{
"text": "Message for option 1",
"type": "send_msg",
"uuid": "ed7d10f7-6298-4d84-a8d2-7b1f6e91da07",
"attachments": [],
"quick_replies": []
}
]
},
{
"uuid": "6d39df59-4572-4f4c-99b7-f667ea112e03",
"exits": [
{
"uuid": "b913ee73-87d2-495b-8a2d-6e7c40f31fd5",
"destination_uuid": "ca4e201c-b500-418e-8fdf-97ac0d4a80a5"
}
],
"actions": [
{
"text": "Message for option 3",
"type": "send_msg",
"uuid": "10196f43-87f0-4205-aabd-1549aaa7e242",
"attachments": [],
"quick_replies": []
}
]
},
{
"uuid": "a5105a7c-0917-4900-a0ce-cb5d3be2ffc5",
"exits": [
{
"uuid": "df45c811-b1fe-4d25-a925-88f8d7ad6fc9",
"destination_uuid": null
}
],
"actions": [
{
"text": "Message for option 4",
"type": "send_msg",
"uuid": "36051723-7d00-422e-8846-2336a9ecbc9d",
"all_urns": false,
"attachments": [],
"quick_replies": []
},
{
"type": "set_contact_field",
"uuid": "690c3e48-d31a-4819-86a6-e6dc11aa8ff8",
"field": {
"key": "settings",
"name": "Settings"
},
"value": "optout"
}
]
},
{
"uuid": "85e897d2-49e4-42b7-8574-8dc2aee97121",
"exits": [
{
"uuid": "37a545df-825b-4611-a7fe-b17dfb62c430",
"destination_uuid": "ca4e201c-b500-418e-8fdf-97ac0d4a80a5"
}
],
"actions": [
{
"text": "Message for option 2. You can add them to a group based on their response.",
"type": "send_msg",
"uuid": "a970d5d9-2951-48dc-8c66-ee6833c4b21e",
"attachments": [
"image:https://www.buildquickbots.com/whatsapp/media/sample/jpg/sample01.jpg"
],
"quick_replies": []
}
]
},
{
"uuid": "ca4e201c-b500-418e-8fdf-97ac0d4a80a5",
"exits": [
{
"uuid": "d2d5c526-643c-4dd3-b44c-62770615941e",
"destination_uuid": "0abf3b1c-5f79-48bf-9076-a72828d3bb39"
}
],
"actions": [
{
"type": "add_contact_groups",
"uuid": "c4f7297a-66ed-477f-b546-a3e86871b630",
"groups": [
{
"name": "Priority",
"uuid": "5"
}
]
}
]
},
{
"uuid": "0abf3b1c-5f79-48bf-9076-a72828d3bb39",
"exits": [
{
"uuid": "f0c799c6-8deb-4d9d-a245-6c361e142b65",
"destination_uuid": null
}
],
"actions": [
{
"text": "We hope that helped you out.",
"type": "send_msg",
"uuid": "4cbb069d-99b0-4493-826a-13558107e366",
"all_urns": false,
"attachments": [],
"quick_replies": []
}
]
}
],
"language": "eng",
"localization": {
"hi": {
"e319cd39-f764-4680-9199-4cb7da647166": {
"text": [
"बाहर तक पहुँचने के लिए धन्यवाद। क्या यह आप के लिए देख रहे हैं- टाइप 1, ग्लिफ़ टाइप 2 के बारे में अधिक जानने के लिए, यदि आप ग्लिफ़ टाइप 3 के लिए शानदार वेबसीइट टाइप 4 से आउटपुट के लिए ऑनबोर्ड होना चाहते हैं"
]
}
}
},
"spec_version": "13.1.0"
}