Build out SmsResponseController
See original GitHub issuepinging @MisterJames @tonysurma @stevejgordon for feeback on if the assumptions I’m making below are correct.
This Issue is expanding upon the following line items from Issue #1084:
- If request is confirmed add “‘N’ if you can no longer make it” and if they respond N mark unassigned
- If request is not confirmed add “‘Y’ if you can make it, ‘N’ if you can’t” and set status as above
allReady sends sms confirmation messages to requestors whose Request has been Assigned to an Itinerary. The following code sends these messages:
RequestsAssignedToIntineraryHandler
SendRequestConfirmationMessagesAWeekBeforeAnItineraryDate
SendRequestConfirmationMessagesADayBeforeAnItineraryDate
SendRequestConfirmationMessagesTheDayOfAnItineraryDate
The requestor can reply “Y” or “N” to confirm the request. This Issue includes the following work:
- identify how to attach the RequestId from the Request model to the outgoing sms messages. The RequestId has to survive the round trip of being sent out (by the classes listed above) and then trip back to SmsRequestController.
- in SmsRequestController, we look up the Request by RequestId. We cannot correlate the incoming request from the Requestor by PhoneNumber as the Requestor could have more than multiple requests that have been added to different Itineraries. If we looked up the requestor by phone number, we would end up with two requests, so we would not know which request to mark as Confirmed.
- there is code already written in SmsRequestController that needs to be uncommented based on the Requestor’s reply of “Y”/“N”
- most likely, this will involve Twilio to a greater extent than how we currently use it (which is just to send sms messages). You will need to set up a Twilio account and either use your mobile phone or open a Google Voice account to test the receiving of text messages as well as the reply of “Y”/“N” to those text messages.
Issue Analytics
- State:
- Created 7 years ago
- Comments:19 (11 by maintainers)
Top Results From Across the Web
Top 8 Best SMS APIs (for Developers in 2022) [52+ ...
46elks - Receive & send SMS messages, allocate phone numbers, control incoming phone calls, build IVRs, connect calls and create automated ...
Read more >Getting started with SMS Gateway
Follow these steps to create and deploy a basic cognitive SMS ... Sign up for an IBM Cloud account, and create the Watson...
Read more >Programmable Messaging for C# with .NET Framework ...
Set up your development environment to send and receive messages; Send your first SMS; Receive inbound text messages; Reply to incoming messages with...
Read more >11 Best SMS API to Send Messages to Your Users
Automated opt-out management; Manage SMS campaigns via a dynamic dashboard and templates. Sinch. Make a wonderful business relationship with your customers by ...
Read more >Simple Text Automation, SMS marketing tool
Create powerful workflows with SMS marketing and marketing automation. With GetResponse MAX, you can maximize the potential of SMS campaigns by adding text...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I know that there isn’t such a thing and technical no relationship between the SMS out and back to you in Twilio, so you have to match up by phone number you were texting for example
I believe in any case, having a table to record the notifications we have sent is going to be required, so I’ll break out an issue to add that as the first part of implementing this.