One of the pain points we have right now is monitoring Zuora for failures. Periodically, we query https://rest.eu.zuora.com/v1/notification-history for failure notifications for both callouts and emails. What would be great is if we could receive a callout when a notification is entered in to the history. For example, for emails, I could use a custom event trigger of {
"active": true,
"baseObject": "EmailNotification",
"condition": "changeType == 'INSERT' && EmailNotification.result != 'OK'",
"description": "Trigger an event when a new email notification is added for an email which did not send successfully",
"eventType": {
"description": "An email failed to be sent",
"displayName": "Email sending failed",
"name": "EmailSendingFailed"
}
} And for callout failures I could use {
"active": true,
"baseObject": "CalloutNotification",
"condition": "changeType == 'INSERT' && CalloutNotification.responseCode != '200'",
"description": "Trigger an event when a new notification is added for a callout which did not complete successfully",
"eventType":
{
"description": "A callout failed to be made",
"displayName": "Callout failed",
"name": "CalloutFailed"
}
}
... View more