# Text Responses as Campaign or Segment Entry Points

**URL:** <https://forum.mautic.org/t/text-responses-as-campaign-or-segment-entry-points/18022>\
**Category:** Product Support\
**Created:** [February 3, 2021, 10:23pm UTC](https://forum.mautic.org/t/text-responses-as-campaign-or-segment-entry-points/18022 "2021-02-03T22:23:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![msmith01](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/msmith01/32/600_2.png) [@msmith01](https://forum.mautic.org/u/msmith01)\
**Post date:** [February 3, 2021, 10:23pm UTC](https://forum.mautic.org/t/text-responses-as-campaign-or-segment-entry-points/18022/1 "2021-02-03T22:23:09Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 24, 2022, 11:13am UTC](https://forum.mautic.org/t/text-responses-as-campaign-or-segment-entry-points/18022/2 "2022-02-24T11:13:22Z")

</div>

It sounds like you are looking for SMS reply detection which has been available since 2.16.0:

> <https://github.com/mautic/mautic/pull/7449>
>
> \*\*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](https://docs.mautic.org/en/channels/marketing-messages/sms#tracking-replies-and-unsubscribes)

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
