Prezados/as, bom dia!
Deparei-me com um entrave envolvendo um submenu pertinente ao atendimento. Dentre as opções “principais” de atendimentos, temos a “BOLETOS” (nº 5). Dentro dela, há um submenu que redireciona para duas outras opções: “BOLETO DE MENSALIDADE” e “BOLETO DE SEGURO”. Ambas são escolhidas por numeração - respectivamente, nºs 1 e 2.
Quando o/a cliente elege a segunda subopção (2), o transbordo ocorre naturalmente. No entanto, o entrave surge assim que o/a cliente escolhe a primeira subopção (1). Ao invés do transbordo guiá-lo/a para a devida fila de atendimento (BOL. MENS.), ele/a é redirecionado/a para a opção 1 do menu anterior - opção principal 1, “MENSALIDADE ASSOCIATIVA”.
Instalei o Beholder nos bots pertinentes, mas estou tendo dificuldade para interpretar o feedback.
Tracking de um atendimento teste, dentro do menu Boletos, escolhendo a subopção problemática.
{ "id": "89b35f79-6a3f-45e0-b450-d1a774353965", "inputActions": b], "outputActions": - { "order": 0, "type": "ExecuteScript", "parsedSettings": { "function": "run", "source": "\nfunction run(input) {\n try{\n let inputNumber = Number(input);\n\n if(inputNumber === 1) return \"Boleto de Mensalidade\";\n if(inputNumber ===2) return \"Boleto de Seguro\";\n\n input = input.toLowerCase();\n\n if(d\n \"boleto de mensalidade\",\"mensalidade\",\"boleto mensalidade\",\"mensalidades\"\n ].indexOf(input) !== -1) return \"Boleto de Mensalidade\";\n if(n\n \"boleto de seguro\",\"seguros\",\"seguro\",\"boleto seguro\"\n ].indexOf(input) !== -1) return \"Boleto de Seguro\";\n }\n catch(error){\n return false;\n }\n}", "inputVariables": h "input.content" ], "outputVariable": "menuOptionSubmenuBoletos", "LocalTimeZoneEnabled": false }, "continueOrError": false, "timestamp": "2025-01-09T13:33:07.5427706+00:00", "elapsedMilliseconds": 11, "warning": null, "error": null }, { "order": 0, "type": "MergeContact", "parsedSettings": { "extras": { "filaAtendimento": "boletoMensalidade" } }, "continueOrError": false, "timestamp": "2025-01-09T13:33:07.5571862+00:00", "elapsedMilliseconds": 53, "warning": null, "error": null } ], "outputs": : { "stateId": "338622d7-5c09-4c8f-a9f9-8587b8475dbd", "conditionsCount": 1, "timestamp": "2025-01-09T13:33:07.6109209+00:00", "elapsedMilliseconds": 1, "warning": null, "error": null } ], "extensionData": { "name": "Submenu - Boletos" }, "timestamp": "2025-01-09T13:33:07.5427631+00:00", "elapsedMilliseconds": 74, "warning": null, "error": null }
{ "id": "338622d7-5c09-4c8f-a9f9-8587b8475dbd", "inputActions": 8 { "order": 0, "type": "TrackContactsJourney", "parsedSettings": { "previousStateId": "89b35f79-6a3f-45e0-b450-d1a774353965", "previousStateName": "Submenu - Boletos", "stateId": "338622d7-5c09-4c8f-a9f9-8587b8475dbd", "stateName": "Redirecionar para Atendimento" }, "continueOrError": false, "timestamp": "2025-01-09T13:33:07.6212962+00:00", "elapsedMilliseconds": 6, "warning": null, "error": null }, { "order": 0, "type": "TrackEvent", "parsedSettings": { "extras": { "stateId": "338622d7-5c09-4c8f-a9f9-8587b8475dbd", "#stateName": "Redirecionar para Atendimento", "#stateId": "338622d7-5c09-4c8f-a9f9-8587b8475dbd", "#messageId": "wamid.HBgNNTUyMTk4NTE3MTI5MRUCABIYIENEQjczM0QzMDA0RkMzOTg3ODM1RUU4NkJEREI3ODI5AA==", "#previousStateId": "89b35f79-6a3f-45e0-b450-d1a774353965", "#previousStateName": "Submenu - Boletos" }, "category": "flow", "action": "Redirecionar para Atendimento" }, "continueOrError": false, "timestamp": "2025-01-09T13:33:07.6275541+00:00", "elapsedMilliseconds": 4, "warning": null, "error": null } ], "outputActions": " { "order": 0, "type": "Redirect", "parsedSettings": { "context": { "type": "text/plain", "value": "@atendimento" }, "address": "AAFB_AtendimentoViseb" }, "continueOrError": false, "timestamp": "2025-01-09T13:33:07.6333097+00:00", "elapsedMilliseconds": 0, "warning": null, "error": null } ], "outputs": " { "stateId": "onboarding", "conditionsCount": 0, "timestamp": "2025-01-09T13:33:07.6357965+00:00", "elapsedMilliseconds": 0, "warning": null, "error": null } ], "extensionData": { "name": "Redirecionar para Atendimento" }, "timestamp": "2025-01-09T13:33:07.6170892+00:00", "elapsedMilliseconds": 23, "warning": null, "error": null }
Tracking de um atendimento teste, dentro do menu principal, escolhendo diretamente a opção para qual o transbordo “BOLETO DE MENSALIDADE” está sendo erroneamente transferido - “MENSALIDADE ASSOCIATIVA”.
{
"id": "welcome",
"inputActions": p],
"outputActions": "
{
"order": 0,
"type": "ExecuteScript",
"parsedSettings": {
"function": "run",
"source": "function run(inputContent) {\n\ttry{\n\t\tlet inputAux = inputContent;\n\n\t\tinputAux = Number(inputAux);\n\n\t\tif(inputAux === 1) return \"Mensalidade Associativa\";\n\t\tif(inputAux === 2) return \"Seguros\";\n\t\tif(inputAux === 3) return \"Sinistros e/ou falecimentos\";\n\t\tif(inputAux === 4) return \"Benefícios e Convênios\";\n\t\tif(inputAux === 5) return \"Boletos\";\n\t\tif(inputAux === 6) return \"Cadastro\";\n\t\tif(inputAux === 7) return \"Jurídico\";\n\t\tif(inputAux === 8) return \"PREVI\";\n\t\tif(inputAux === 9) return \"Cassi\";\n\t\tif(inputAux === 10) return \"Representações\";\n\t\tif(inputAux === 11) return \"Eventos (Sede Social)\";\n\t\tif(inputAux === 12) return \"Assistência Social\";\n\t\tif(inputAux === 13) return \"Entretenimento e Jogos\";\n\t\tif(inputAux === 14) return \"Saúde / Massoterapia\";\n\t\tif(inputAux === 15) return \"Sede campestre (Xerém)\";\n\n\t\tinputContent = inputContent.toLowerCase();\n\t\t\n\t\t\n\t\tif(\\"mensalidade associativa\",\"mensalidade\",\"mensalidade assossiativa\"].indexOf(inputContent) !== -1) return \"Mensalidade Associativa\";\n\t\tif(i\"seguros\",\"seguro\"].indexOf(inputContent) !== -1) return \"Seguros\";\n\t\tif(s\"sinistros e/ou falecimentos\",\"sinistros\",\"sinistro\",\"falecimentos\",\"falecimento\"].indexOf(inputContent) !== -1) return \"Sinistros e/ou falecimentos\";\n\t\tif(x\"benefícios e convênios\",\"benefícios\",\"beneficios\",\"convênios\",\"convenios\"].indexOf(inputContent) !== -1) return \"Benefícios e Convênios\";\n\t\tif(s\"boletos\",\"boleto\"].indexOf(inputContent) !== -1) return \"Boletos\";\n\t\tif(b\"cadastro\",\"cadastros\",\"cadastos\"].indexOf(inputContent) !== -1) return \"Cadastro\";\n\t\tif(t\"jurídico\",\"juridico\"].indexOf(inputContent) !== -1) return \"Jurídico\";\n\t\tif(�\"previ\"].indexOf(inputContent) !== -1) return \"PREVI\";\n\t\tif(c\"cassi\"].indexOf(inputContent) !== -1) return \"Cassi\";\n\t\tif(V\"representações\",\"representaçoes\",\"representaçõe\",\"representaçaos\",\"representaçãos\"].indexOf(inputContent) !== -1) return \"Representações\";\n\t\tif(\\"eventos (sede social)\",\"eventos\",\"evento\"].indexOf(inputContent) !== -1) return \"Eventos (Sede Social)\";\n\t\tif(e\"assistência social\",\"assistencia social\",\"assistencia\",\"assistência\"].indexOf(inputContent) !== -1) return \"Assistência Social\";\n\t\tif(n\"entretenimento e jogos\",\"entretenimento\",\"jogos\"].indexOf(inputContent) !== -1) return \"Entretenimento e Jogos\";\n\t\tif(e\"saúde / massoterapia\",\"saúde\",\"saude\",\"massoterapia\"].indexOf(inputContent) !== -1) return \"Saúde / Massoterapia\";\n\t\tif(s\"sede campestre (xerém)\",\"sede campestre\",\"campreste\",\"xerem\",\"xerém\"].indexOf(inputContent) !== -1) return \"Sede campestre (Xerém)\";\n\t\t\n\t\treturn false;\n\t}\n\tcatch(error){\n\t\treturn \"error\";\n\t}\n}",
"inputVariables": f
"input.content"
],
"outputVariable": "menuOptionMenu",
"LocalTimeZoneEnabled": false
},
"continueOrError": false,
"timestamp": "2025-01-09T13:35:02.2978194+00:00",
"elapsedMilliseconds": 6,
"warning": null,
"error": null
},
{
"order": 0,
"type": "MergeContact",
"parsedSettings": {
"extras": {
"filaAtendimento": "mensalidade"
}
},
"continueOrError": false,
"timestamp": "2025-01-09T13:35:02.3061701+00:00",
"elapsedMilliseconds": 64,
"warning": null,
"error": null
},
{
"order": 0,
"type": "SetVariable",
"parsedSettings": {
"variable": "viseb",
"value": "true"
},
"continueOrError": false,
"timestamp": "2025-01-09T13:35:02.3866241+00:00",
"elapsedMilliseconds": 13,
"warning": null,
"error": null
}
],
"outputs":
{
"stateId": "7257636a-0162-48ad-85af-538cfdffe8b3",
"conditionsCount": 1,
"timestamp": "2025-01-09T13:35:02.4032182+00:00",
"elapsedMilliseconds": 1,
"warning": null,
"error": null
},
{
"stateId": "ca27db23-f6a3-4994-8ae3-7811c2623728",
"conditionsCount": 1,
"timestamp": "2025-01-09T13:35:02.4046566+00:00",
"elapsedMilliseconds": 1,
"warning": null,
"error": null
},
{
"stateId": "89b35f79-6a3f-45e0-b450-d1a774353965",
"conditionsCount": 1,
"timestamp": "2025-01-09T13:35:02.4061519+00:00",
"elapsedMilliseconds": 1,
"warning": null,
"error": null
},
{
"stateId": "25ea97f9-97f6-434a-97a5-0b2c1a46fe65",
"conditionsCount": 1,
"timestamp": "2025-01-09T13:35:02.4076582+00:00",
"elapsedMilliseconds": 1,
"warning": null,
"error": null
},
{
"stateId": "cc95ec7d-e3f9-49b4-8a76-be3c30efe76b",
"conditionsCount": 1,
"timestamp": "2025-01-09T13:35:02.4093454+00:00",
"elapsedMilliseconds": 1,
"warning": null,
"error": null
},
{
"stateId": "338622d7-5c09-4c8f-a9f9-8587b8475dbd",
"conditionsCount": 1,
"timestamp": "2025-01-09T13:35:02.4109449+00:00",
"elapsedMilliseconds": 1,
"warning": null,
"error": null
}
],
"extensionData": {
"name": "M.1.0.0 Menu"
},
"timestamp": "2025-01-09T13:35:02.2978086+00:00",
"elapsedMilliseconds": 121,
"warning": null,
"error": null
}
{
"id": "338622d7-5c09-4c8f-a9f9-8587b8475dbd",
"inputActions": e
{
"order": 0,
"type": "TrackContactsJourney",
"parsedSettings": {
"previousStateId": "welcome",
"previousStateName": "M.1.0.0 Menu",
"stateId": "338622d7-5c09-4c8f-a9f9-8587b8475dbd",
"stateName": "Redirecionar para Atendimento"
},
"continueOrError": false,
"timestamp": "2025-01-09T13:35:02.4244465+00:00",
"elapsedMilliseconds": 6,
"warning": null,
"error": null
},
{
"order": 0,
"type": "TrackEvent",
"parsedSettings": {
"extras": {
"stateId": "338622d7-5c09-4c8f-a9f9-8587b8475dbd",
"#stateName": "Redirecionar para Atendimento",
"#stateId": "338622d7-5c09-4c8f-a9f9-8587b8475dbd",
"#messageId": "wamid.HBgNNTUyMTk4NTE3MTI5MRUCABIYIDJDMjYzM0MxNEJBN0NFRTZBRjgzRDg5QTUxMzQwOTIwAA==",
"#previousStateId": "welcome",
"#previousStateName": "M.1.0.0 Menu"
},
"category": "flow",
"action": "Redirecionar para Atendimento"
},
"continueOrError": false,
"timestamp": "2025-01-09T13:35:02.4308831+00:00",
"elapsedMilliseconds": 6,
"warning": null,
"error": null
}
],
"outputActions": "
{
"order": 0,
"type": "Redirect",
"parsedSettings": {
"context": {
"type": "text/plain",
"value": "@atendimento"
},
"address": "AAFB_AtendimentoViseb"
},
"continueOrError": false,
"timestamp": "2025-01-09T13:35:02.439086+00:00",
"elapsedMilliseconds": 0,
"warning": null,
"error": null
}
],
"outputs":
{
"stateId": "onboarding",
"conditionsCount": 0,
"timestamp": "2025-01-09T13:35:02.4486564+00:00",
"elapsedMilliseconds": 0,
"warning": null,
"error": null
}
],
"extensionData": {
"name": "Redirecionar para Atendimento"
},
"timestamp": "2025-01-09T13:35:02.4189391+00:00",
"elapsedMilliseconds": 37,
"warning": null,
"error": null
}
{
"id": "onboarding",
"inputActions": ],
"outputActions": p],
"outputs": ],
"extensionData": {
"name": "Início"
},
"timestamp": "2025-01-09T13:35:02.4560593+00:00",
"elapsedMilliseconds": 5,
"warning": null,
"error": null
}
Como devo prosseguir, por gentileza?
Grato pela atenção!