Store incoming sms data in sensor

You may want to use some of the techniques shown in one of the following posts to store the data: