Send notifications via email
Know the Capsules available in this Collection.
Digibee
Send notification via e-mail
The Purpose is to receive any JSON content at the input, in addition to variables, and send it via email.
- * smtp-email: Account to authenticate at the email server
- * de: Sender's address
- ambiente [environment]: it indicates the warning-related environment, e.g., TEST|PROD
- destinatário [recipient]: recipient to send the email to, to use a list, it is necessary to inform a JSON array in the string format.
- pipeline: It indicates the pipeline name (free text).
- descricao-alerta: Title that will be used on the email header
- assunto: Customized subjected for identifying the email
- Parameters can also be configured dynamically; therefore, they must be informed within the "emailParams" object: {}
- Dynamically informed parameters will be overwritten by static ones.
{
"logger": {
"status": 200,
"body": {
"soap:Envelope": {
"soap:Body": {
"Erros": {
"DescricaoErro": "Código de documento 1 não encontrado."
},
"ProcessamentoOK": false
}
}
}
},
"emailParams": {
"pipeline": "confirmar-ticket-gera",
"descricao-alerta": "Erro ao consultar dados para integração.",
"destinatario": "
",
"environment": "TEST",
"assunto": "Erro Pedido"
}
}
{ "success" : true}

{
"timestamp": 1559243275088,
"error": "Error",
"code": 500
}
Last modified 9mo ago