I’m really interested in this as a way to improve user engagement in our forums. I am very concerned about the fact that the vast majority of our users are on Gmail (which filters our forum notifications into the rarely-reviewed bucket of “forum” messages,and Most of our users are in their 20s and so tend to use texting over email, - so I don’t think most of our users ever really get any notifications.
I’d love to have an interface / mechanism to send very occasional notifications (you don’t want to flood your users with notifications as we do with email) and have a cap on it also for cost reasons (since you’re paying Twilio/SMS gateway fees).
Anyone else out there doing this, or have a recognized need for this?
I have implemented this for one of my Discourse instances as a simple hacky proof-of-concept, just using Discourse webhooks, Zapier, and Twilio.
I’m starting now to think about ways to build on this and create a SMS Discourse plugin, some particular challenges include how to manage and prevent spam, and misuse, and notification rate limiting. But it’s interesting and doable.
I’d like to see it also for periodic summary notifications - to try to pull people back to the forum. I suspect most users are like me - using gmail for email, and not frequently checking their “forum” category that gmail sorts the email into.
I think an SMS system would be much better at pulling users back to the forum.
I have a simple Sinatra-based webhook responder here which I use to send SMS in response to posts in a specific ‘alerting’ Category. It’s nothing fancy but it’s been working for 2 years without problems. We use a different script running on the Heroku Scheduler to test the alerting function once weekly.
The twilio-notifications repo linked in the preceding post is much more like what I would write if I was doing it again now. It would be good to have a configurable Twilio plugin, with both Admin interface for setup and User interface for opt-in/out of SMS notifications. If there is interest in developing this then perhaps a couple of customers could pool resources.
Nous pourrions envisager de mettre à jour cela en un plugin Discourse complet et de le rendre plus généralement applicable, s’il y a un intérêt. Cela nécessiterait un certain financement à injecter.
Nous n’avons actuellement pas de campagne de financement participatif en cours pour cela, et les travaux précédents ont été financés par une seule entreprise, Digital Health Intelligence, pour laquelle je gère un forum, et ils avaient besoin de cette fonctionnalité. Pour l’instant, c’est open source et librement disponible, mais ce n’est pas un plugin simple et élégant ; il s’agit d’un code Ruby qui s’exécute en dehors de Discourse. Tout a été fait avant que je ne sache comment écrire des plugins. (Je ne sais toujours pas vraiment comment écrire des plugins)
Cependant, je me demande si Pavilion, via @angus@Ellibereth@merefield@fzngagan, devrait examiner avec moi ce qu’exigerait un plugin, afin que nous puissions déterminer un objectif de financement que la campagne de financement participatif devrait atteindre pour créer un plugin Discourse SMS.
Aux États-Unis, le tarif est de 1 par mois pour le numéro et de 0,0075 par message. Chez US Cellular, il y a un supplément de 0,0025 , tandis que Verizon facture 0,005 de plus.
Au Royaume-Uni, c’est plus cher : les messages coûtent 0,04 $ chacun.
J’ai travaillé avec plusieurs clients intéressés par le remplacement de l’email par les SMS, mais ils ont changé d’avis en voyant les tarifs : aucune réduction n’est appliquée pour les volumes importants avant de dépasser 5 millions de messages par mois (37 500 $).
La Nouvelle-Zélande doit se situer à l’opposé du spectre : 0,10 US, ce qui est pratiquement inabordable. Localement, nous pouvons obtenir 0,07 US pour un service similaire, sauf si vous avez un accord avantageux avec quelqu’un.
Je pense que si je devais construire cela, je créerais un plugin de notificateur générique, sur le modèle du plugin d’intégration de chat, capable de prendre en charge plusieurs API. De cette façon, vous pourriez utiliser n’importe quel service d’intégration SMS, ainsi que l’utiliser pour des cas d’usage similaires, comme remplacer OneSignal pour l’application RN en marque blanche.
Je suis intéressé par l’intégration de Twilio si quelqu’un l’a déjà mise en œuvre. Je peux contribuer au développement si c’est ainsi que les choses fonctionnent ici.