How can I trigger a webhook whenever an SMS fails to send ( undelivered / failed ) ? | Community
Skip to main content

How can I trigger a webhook whenever an SMS fails to send ( undelivered / failed ) ?

  • July 5, 2022
  • 1 reply
  • 0 views

Alejandro14

I was looking into triggers and automations, but couldn't find a way to have them fired when a SMS / Text Message fails to be delivered

Another approach I might have is to look at the audit events with some sort of pooling, but it want to avoid it if possible

1 reply

Tipene
  • July 28, 2022

Hey @alejandro14,

One way you could go about this is by setting conditions on the trigger to listen for the system comments that are generated when a SMS delivery failure occurs.

The comment text strings I've used here are "We couldn't deliver this message" and "We couldn't send the message".

I hope this helps! Let me know if you have any questions. 

Tipene