After an event is triggered , how to find out that the triggered event was success?

I have a use case where i want to send a sms to a user . So suppose I use a third party "A" which sends an sms when triggered but for some reason "A" is down so I want to use third party "B" to send sms. So my question is how to find the status of the action performed by the trigger ?
6 Replies
djain#007
djain#007OP2y ago
@Support
Pawan Jain
Pawan Jain2y ago
Use this api https://docs.novu.co/api/get-notifications/ with transactionId
djain#007
djain#007OP2y ago
In a self hosted version , can I use webhook for this purpose or web hook is not available ?? @Pawan Jain and is there any SDK available for spring boot users ? @Pawan Jain @Support
empe
empe2y ago
Do you mean Java SDK? There is a way to filter notifications based on a webhook response. To do this, you will need to create a webhook that accepts POST requests for filtering notifications based on a webhook response. This webhook should have objects like a subscriber, payload, identifier, providerId, and channel.
djain#007
djain#007OP2y ago
Yes I mean java SDK Ok got it I have another question As per my knowledge only one provider is supported per channel right ? So if I have to use another provider then I have to deactivate the active provider first right ?
empe
empe2y ago
You could set one provider for production and another for development, but in order to use one you’ll need to deactivate the other
Want results from more Discord servers?
Add your server