Genesys Cloud - Main

 View Only

Sign Up

  • 1.  receive alert on data action failure

    Posted 13 days ago

    Hi,

    Is there a way to receive an alert or an email, in an inbound call flow, if a data action is in failure?

    Thanks


    #ArchitectandDesign

    ------------------------------
    Yann Foucaud
    Telecom Engineer F&m, Bennit
    ------------------------------


  • 2.  RE: receive alert on data action failure
    Best Answer

    Posted 13 days ago

    Yes - the Genesys Cloud "Agentless Email" capability can be used as part of a mechanism to send an alert or email when a data action fails in an inbound flow.

    You can create a Data Action that calls the Agentless Email API endpoint /api/v2/conversations/emails/agentless in order to send an email programmatically on the failure path of the data action within the inbound call flow. 



    ------------------------------
    Josh Wilcox
    Sr. PS Consultant
    ------------------------------



  • 3.  RE: receive alert on data action failure

    Posted 10 days ago

    Using a data action to report the failure of a data action seems a questionable approach... 



    ------------------------------
    Michael Lukoschek
    NA
    ------------------------------



  • 4.  RE: receive alert on data action failure

    Posted 12 days ago

    Olá Yann, tudo bem?

    Sim, além do Agentless Email citado pelo Josh, existem algumas formas adicionais de monitorar falhas de Data Action em fluxos inbound, dependendo do nível de criticidade e visibilidade desejada.


    Opção 1 - Envio de e-mail usando Agentless Email (mais direto)

    No caminho de Failure da sua Data Action no Architect, adicione outro Data Action chamando o endpoint:

    POST /api/v2/conversations/emails/agentless

    Isso permite enviar e-mails automaticamente sem depender de agente ou fila.
    Basta montar o corpo JSON com destinatário + assunto + detalhes do erro.

    ➡️ Boa prática: inclua no corpo algo como Flow.debug, Error.message, CorrelationId ou parâmetros relevantes para facilitar investigação.


    🧠 Opção 2 - Registrar erro no Log e criar alerta no Operational Console

    Caso você queira monitoramento contínuo:

    1. No Architect → Data Action Failure → use a função "Log" para registrar um alerta customizado.

    2. No Operational Console → Alerts, crie uma regra para ser notificado quando esse erro ocorrer repetidamente.

    Isso é útil quando você não quer "lotar" a caixa de e-mail da operação, mas ainda quer rastreabilidade.


    📨 Opção 3 - Disparar evento para um Webhook / Sistema externo (mais avançado)

    Se sua operação já usa ferramentas como Datadog, Splunk, Grafana, Zabbix ou ServiceNow, você pode:

    • No caminho de erro → chamar um Data Action HTTP para enviar o alerta a esses sistemas.

    • Criar dashboards de falha por fluxo, Data Action ou endpoint externo.



    ------------------------------
    Fernando Sotto dos Santos
    Consultor Grupo Casas Bahia
    ------------------------------