Comments (4)
I can do that, but need be sponsored this feature.
from mautic-plivo-bundle.
@kuzmany that may be possible, how would the sponsorship be handled? I have just opened a ticket with Plivo as well because I don't currently see any way to setup a webhook there when someone opts-out via SMS.
from mautic-plivo-bundle.
@coreyworrell
this should deliver info about “queued”, “sent”, “failed”, “delivered”, “undelivered”, or “rejected” sms
https://www.plivo.com/docs/sms/guides/delivery-reports#sms-delivery-and-notifications
Write me to [email protected] and I can get you offer If you have budget.
from mautic-plivo-bundle.
@kuzmany if we go that route (using delivery reports), then it would basically double the Mautic work/traffic correct? Instead of just sending, Mautic would now be handling multiple requests for each sent message (I assume messages sent to valid user would trigger queued
, sent
and delivered
, while a message sent to opted-out number would likely just trigger rejected
).
If it receives status of queued
then Mautic would need to check if Mautic user is set to DNC for SMS and remove DNC. And if Mautic receives status of rejected
then Mautic would add DNC for SMS. Potential problem: we would need a way to allow users to opt-in again though and let Mautic know to remove the DNC. Because if a user in Mautic is set as DNC, the next SMS will be rejected by Mautic before it ever goes out to Plivo, and Mautic will never know that user has opted back in.
The alternative would be to setup a Plivo PHLO with a branch that checks if received message contains their stopwords (https://www.plivo.com/docs/sms/concepts/dnd-service) and then that would trigger a request to Mautic and add DNC for SMS... And the same could be applied to the OPT-IN feature mentioned in Plivo docs cited above. This would not be as simple of a setup as using delivery notifications, but it would drastically reduce the number of requests Mautic would need to handle.
Maybe a few thousand requests from delivery notifications (for an average size campaign) isn't so bad though and the simple setup is a good trade-off.
I think the best way would be to have Plivo simply create webhooks for when users opt-out and opt-in. This is probably the most difficult though to motivate them to add this feature.
from mautic-plivo-bundle.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mautic-plivo-bundle.