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.
لا نملك حاليًا حملة تمويل جماعي لهذا المشروع، والعمل السابق تم تمويله من قبل شركة واحدة، وهي Digital Health Intelligence، حيث أدير منتدىً خاصًا بهم، وكانوا بحاجة إلى هذه الوظيفة. حاليًا، المشروع مفتوح المصدر ومتاح مجانًا، لكنه ليس إضافة بسيطة وسهلة الاستخدام؛ بل هو كود بلغة Ruby يعمل خارج منصة Discourse. تم إنجاز كل هذا قبل أن أتعلم كيفية كتابة الإضافات. (ولا أزال لا أعرف حقًا كيفية كتابة الإضافات)
ومع ذلك، أتساءل عما إذا كان Pavilion، عبر @angus@Ellibereth@merefield@fzngagan، يجب أن ينظر معي في المتطلبات اللازمة لإنشاء إضافة، ويمكننا تحديد مبلغ مستهدف يجب تحقيقه عبر حملة التمويل الجماعي لتمكين تطوير إضافة Discourse لرسائل SMS.
في الولايات المتحدة، تبلغ التكلفة دولارًا واحدًا شهريًا للرقم و0.0075 دولارًا لكل رسالة. تضيف شركة US Cellular مبلغ 0.0025 دولار إضافي، بينما تفرض شركة Verizon رسومًا إضافية قدرها 0.005 دولار.
أما في المملكة المتحدة، فتكون التكلفة أعلى، حيث تبلغ 0.04 دولار لكل رسالة.
لقد عملت مع عملاء عدة أبدوا اهتمامًا باستبدال البريد الإلكتروني برسائل SMS، حتى يطلعوا على الأسعار — فلا توجد أي خصومات على الأحجام الكبيرة إلا بعد تجاوز 5 ملايين رسالة (37.5 ألف دولار) شهريًا.
يجب أن تكون نيوزيلندا في الطرف الآخر من الطيف - 0.10 دولار أمريكي، مما يجعلها عمليًا غير ميسورة التكلفة. محليًا، يمكننا الحصول على خدمة مماثلة مقابل 0.07 دولار أمريكي، ما لم تكن لديك صفقة ممتازة مع شخص ما.
أعتقد أنه إذا كنت سأبني هذا، فسأبني إضافة إشعارات عامة على غرار إضافة تكامل الدردشة والتي يمكن أن تدعم واجهات برمجة تطبيقات متعددة. بهذه الطريقة، يمكنك استخدام أي خدمة تكامل لرسائل SMS، بالإضافة إلى استخدامها لحالات استخدام مماثلة، مثل استبدال OneSignal لتطبيق RN الأبيض المخصص.