2 way sms workflow

I would try to find a good receipt for example from IFTTT or Zapier that could save SMS messages to spreadsheet. Then you could use that as a data source for your app.