Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for sms replies as a campaign decision #7449

Open
wants to merge 27 commits into
base: staging
from

Conversation

Projects
None yet
2 participants
@alanhartless
Copy link
Contributor

commented Apr 18, 2019

Please be sure you are submitting this against the staging branch.

Q A
Bug fix?
New feature? y
Automated tests included?
Related user documentation PR URL
Related developer documentation PR URL
Issues addressed (#s or URLs)
BC breaks?
Deprecations?

Description:

This adds support to consume SMS replies through campaigns

Steps to test this PR:

You have to register a webhook with the service provider. For Twilio, it's done under Messaging for the phone number. The callback is https://your.mautic.net/sms/twilio/callback

  1. Configure a SMS gateway
  2. Create a campaign with a "send text message" action then a "sends a text message" decision and do something as a result
  3. Reply to a SMS
  4. The action attached to the decision should have been executed
  5. Repeat to test the pattern support (use one that matches, doesn't match, etc)

List deprecations along with the new alternative:

  1. \Mautic\SmsBundle\Api\AbstractSmsApi class is deprecated. Use \Mautic\SmsBundle\Sms\TransportInterface instead.
  2. \Mautic\SmsBundle\Api\TwilioApi is deprecated. Use \Mautic\SmsBundle\Integration\Twilio\TwilioTransport instead

alanhartless added some commits Nov 20, 2018

Helpers to find Mautic contacts based on phone number or stat and rep…
…ly helper to dispatch an event for campaigns to pick up
Removed receiveAction as it was hard coded to Twilio and created an a…
…lias in config for Twilio to use the new controller instead
Added Twilio callback handling
# Conflicts:
#	app/bundles/SmsBundle/Translations/en_US/messages.ini

@alanhartless alanhartless changed the title Feature.sms replies in campaigns Add support for sms replies as a campaign decision Apr 18, 2019

@npracht npracht added this to the 2.16.0 milestone Apr 25, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.