The CreatorCon Call for Content is officially open! Get started here.

Triggering notifications for 3rd party SMS provider

Brad Warman
Giga Sage
Giga Sage

Hi all.

 

Has anyone managed to trigger SMS notifications via REST messages using a third party SMS provider that isn't Twilio? Or can someone point me in the right direction for determining how messages are sent from the notification record to the email queue?

 

Ideally, I'd like to add a new 'Type' on the notification record called SMS and utilise the existing filters, who to send to and text fields to craft the payload and send via a REST message to our provider. I can do almost all of this, but cannot seem to find any information on what occurs between the notification being triggered, and the notification being sent to the email queue which is where I'd hope to make the REST call.

 

Cheers,

 

Brad

2 REPLIES 2

JenniferRah
Mega Sage
Mega Sage

We are accomplishing this with a Business Rule that runs a REST call to our 3rd party. We aren't using a notification at all, but whatever triggers your notification can also trigger the Business Rule.

Brad Warman
Giga Sage
Giga Sage

Thanks for the response @JenniferRah. What I ended up doing was calling the script include that sends the REST message from the advanced condition in the notification, but passing the answer as false. This sends the SMS but not the email notification. It's not the most elegant solution, but allows staff to use the notifications module for configuring SMS messages which was the business requirement.