Looking for a way to set up a “Text ‘contest’ to xxx-xxx-xxxx to enter the drawing!” type of functionality. I’d like to see this as point of entry into campaign or segment.
Assuming this doesn’t exist- but I think this is a relevant feature. But, maybe it’s plugin facing since this is going to be SMS provider specific?
It sounds like you are looking for SMS reply detection which has been available since 2.16.0:
mautic:staging
← acquia:feature.sms-replies-in-campaigns
opened 04:49PM - 18 Apr 19 UTC
**Please be sure you are submitting this against the _staging_ branch.**
[//]… : # ( Please answer the following questions: )
| 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? |
[//]: # ( Note that all new features should have a related user and/or developer documentation PR in their respective repositories. )
[//]: # ( Required: )
#### 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
Docs are here: SMS Text Messages | Mautic
Just drop the user into a segment based on replies using the replied campaign action as explained in the docs, and use that to initiate a campaign if you want to start a campaign based on the reply