When we receive a message from any number, containing the key word "UPDATE", store the body of the text in the Updates table. This table should just have an id for a phone number, and the content of the message. Probably also the time stamp received (which we will have from the webhook).
Note: if this is the first update for the phone number, also create a phone number in that table.
When we receive a message from any number, containing the key word "UPDATE", store the body of the text in the
Updates
table. This table should just have anid
for a phone number, and the content of the message. Probably also the time stamp received (which we will have from the webhook).Note: if this is the first update for the phone number, also create a phone number in that table.