Código fluxo - Opções (array)

Para você que deseja importar o código em seu fluxo e testar da forma que achar melhor.

ver-codigo-vs-importar.mp4
{ "7ad6f8f2-603f-4e14-8c75-7f8c4870c07f": { "id": "7ad6f8f2-603f-4e14-8c75-7f8c4870c07f", "name": "entry", "data": { "type": "entry", "name": "Entrada", "description": "Início do fluxo (usuário envia uma mensagem)" }, "class": "entry", "html": "entry", "typenode": "vue", "inputs": {}, "outputs": { "output_1": { "connections": [ { "node": "fbc56dc5-2201-438c-850b-bc2721ebdd77", "output": "input_1" } ] } }, "pos_x": 650, "pos_y": 48 }, "fbc56dc5-2201-438c-850b-bc2721ebdd77": { "id": "fbc56dc5-2201-438c-850b-bc2721ebdd77", "name": "node_d1a1e872-4e09-45f6-99c4-a4605fb87824", "data": { "type": "message", "inputs": 1, "outputs": [ { "title": "Default" } ], "name": "Componente selecionado", "message": "Componente selecionado: Debug" }, "class": "", "html": "node_default", "typenode": "vue", "inputs": { "input_1": { "connections": [ { "node": "7ad6f8f2-603f-4e14-8c75-7f8c4870c07f", "input": "output_1" } ] } }, "outputs": { "output_1": { "connections": [ { "node": "4e36d30a-dcb9-4ca7-87a7-dec0b2107a70", "output": "input_1" } ] } }, "pos_x": 618, "pos_y": 247 }, "4e36d30a-dcb9-4ca7-87a7-dec0b2107a70": { "id": "4e36d30a-dcb9-4ca7-87a7-dec0b2107a70", "name": "node_2a29f760-d36c-4b2c-89bb-8733bd364b07", "data": { "type": "message", "inputs": 1, "outputs": [ { "title": "Default" } ], "name": "Explicando o componente", "message": "O componente debug deve ser utilizado ..." }, "class": "", "html": "node_default", "typenode": "vue", "inputs": { "input_1": { "connections": [ { "node": "fbc56dc5-2201-438c-850b-bc2721ebdd77", "input": "output_1" } ] } }, "outputs": { "output_1": { "connections": [ { "node": "659c0767-56da-4157-8001-571a5accd662", "output": "input_1" } ] } }, "pos_x": 618, "pos_y": 527 }, "dcac08a4-c6d8-4cbd-9fcf-95dc6f1b24d9": { "id": "dcac08a4-c6d8-4cbd-9fcf-95dc6f1b24d9", "name": "node_97ede421-7384-4352-b646-15a7ec1ed84d", "data": { "type": "message", "inputs": 1, "outputs": [ { "title": "Default" } ], "message": "Opção incorreta, tente novamente.", "name": "Opção incorreta" }, "class": "", "html": "node_default", "typenode": "vue", "inputs": { "input_1": { "connections": [ { "node": "659c0767-56da-4157-8001-571a5accd662", "input": "output_5" } ] } }, "outputs": { "output_1": { "connections": [ { "node": "659c0767-56da-4157-8001-571a5accd662", "output": "input_1" } ] } }, "pos_x": 1013, "pos_y": 893 }, "ca455683-b29b-432e-8906-c2f1e934a00a": { "id": "ca455683-b29b-432e-8906-c2f1e934a00a", "name": "node_daff4a10-c7fb-4bf6-a91e-0cc771c42567", "data": { "type": "flow", "inputs": 1, "outputs": [], "flowId": "66aa8001272ce6cffa35bca6", "name": "Menu inicial" }, "class": "", "html": "node_default", "typenode": "vue", "inputs": { "input_1": { "connections": [ { "node": "659c0767-56da-4157-8001-571a5accd662", "input": "output_4" } ] } }, "outputs": {}, "pos_x": 1233, "pos_y": 1348 }, "98c68b2a-b6f8-412f-a999-69080cc7b9be": { "id": "98c68b2a-b6f8-412f-a999-69080cc7b9be", "name": "node_42ab53d1-07f3-46b1-883a-97d66f1d4654", "data": { "type": "debug", "inputs": 1, "outputs": [ { "title": "Default" } ], "phoneAuthorised": "48984137055", "name": "debug" }, "class": "", "html": "node_default", "typenode": "vue", "inputs": { "input_1": { "connections": [ { "node": "659c0767-56da-4157-8001-571a5accd662", "input": "output_1" } ] } }, "outputs": { "output_1": { "connections": [ { "node": "659c0767-56da-4157-8001-571a5accd662", "output": "input_1" } ] } }, "pos_x": 250, "pos_y": 1334 }, "659c0767-56da-4157-8001-571a5accd662": { "id": "659c0767-56da-4157-8001-571a5accd662", "name": "node_e24f9e59-e385-402d-8fab-f9518808bd26", "data": { "body": "Selecione uma das opções abaixo", "button": "Selecionar", "description": "", "footer": "", "header": "Mais alguma dúvida?", "inputs": 1, "name": "Decisão", "outputs": [ { "title": "Exemplos avançados" }, { "title": "Vídeo explicativo" }, { "title": "Ver código" }, { "title": "Ir para o menu" }, { "title": "Nenhuma das opções" } ], "rows": [ { "id": "953fdb7c-47ac-472d-80ce-dbce62b316f1", "title": "Exemplos avançados", "description": "Para voce que deseja se aprofundar no conhecimento" }, { "id": "3668a0b2-84bb-4fbc-bc7f-9723a4807cac", "title": "Vídeo explicativo", "description": "Para você que deseja ver explicação em vídeo" }, { "id": "8a6c4726-972c-4528-8b2c-54d3304e8b6b", "title": "Ver código", "description": "Para você que deseja o código deste fluxo e importar em seus testes" }, { "id": "993d2935-67ee-4603-8f0f-741211df70c7", "title": "Ir para o menu", "description": "Para você que entendeu tudo e deseja voltar ao menu" } ], "type": "options", "variables": [ { "name": "button_xwsjyado", "description": "Variável contendo o título da opção selecionada" } ] }, "class": "", "html": "node_default", "typenode": "vue", "inputs": { "input_1": { "connections": [ { "node": "4e36d30a-dcb9-4ca7-87a7-dec0b2107a70", "input": "output_1" }, { "node": "dcac08a4-c6d8-4cbd-9fcf-95dc6f1b24d9", "input": "output_1" }, { "node": "98c68b2a-b6f8-412f-a999-69080cc7b9be", "input": "output_1" }, { "node": "d4f10a15-6af7-43f8-9b62-03e5f44bd4a8", "input": "output_1" }, { "node": "18fa60fb-74ea-47bc-8b42-ec09ebebbe34", "input": "output_1" } ] } }, "outputs": { "output_1": { "connections": [ { "node": "98c68b2a-b6f8-412f-a999-69080cc7b9be", "output": "input_1" } ] }, "output_2": { "connections": [ { "node": "18fa60fb-74ea-47bc-8b42-ec09ebebbe34", "output": "input_1" } ] }, "output_3": { "connections": [ { "node": "d4f10a15-6af7-43f8-9b62-03e5f44bd4a8", "output": "input_1" } ] }, "output_4": { "connections": [ { "node": "ca455683-b29b-432e-8906-c2f1e934a00a", "output": "input_1" } ] }, "output_5": { "connections": [ { "node": "dcac08a4-c6d8-4cbd-9fcf-95dc6f1b24d9", "output": "input_1" } ] } }, "pos_x": 631, "pos_y": 891 }, "18fa60fb-74ea-47bc-8b42-ec09ebebbe34": { "id": "18fa60fb-74ea-47bc-8b42-ec09ebebbe34", "name": "node_a73d7ffa-5247-4fdf-8dea-84615a79100a", "data": { "type": "message", "inputs": 1, "outputs": [ { "title": "Default" } ], "message": "Acesse o video em nossa documentação clicando aqui em: *<a href=\"https://mobilesaudejira.atlassian.net/wiki/x/AYAywQ\" target=\"_blank\">Componente Opções (array)</a>*", "name": "Video explicativo" }, "class": "", "html": "node_default", "typenode": "vue", "inputs": { "input_1": { "connections": [ { "node": "659c0767-56da-4157-8001-571a5accd662", "input": "output_2" } ] } }, "outputs": { "output_1": { "connections": [ { "node": "659c0767-56da-4157-8001-571a5accd662", "output": "input_1" } ] } }, "pos_x": 590, "pos_y": 1333 }, "d4f10a15-6af7-43f8-9b62-03e5f44bd4a8": { "id": "d4f10a15-6af7-43f8-9b62-03e5f44bd4a8", "name": "node_fbe4a135-44fd-4e3c-b74c-3990fc9670e2", "data": { "type": "message", "inputs": 1, "outputs": [ { "title": "Default" } ], "message": "Acesse o código em nossa documentação clicando aqui em: *<a href=\"https://mobilesaudejira.atlassian.net/wiki/x/AQA1wQ\" target=\"_blank\">Código Fluxo Opções (array)</a>*\n\n", "name": "Ver código" }, "class": "", "html": "node_default", "typenode": "vue", "inputs": { "input_1": { "connections": [ { "node": "659c0767-56da-4157-8001-571a5accd662", "input": "output_3" } ] } }, "outputs": { "output_1": { "connections": [ { "node": "659c0767-56da-4157-8001-571a5accd662", "output": "input_1" } ] } }, "pos_x": 903, "pos_y": 1339 } }

Mobile Saúde - Mosia Omnichannel