Every time you receive a new message on your Android phone, it will be automatically saved to a a Google Spreadsheet.
Then
Add row to spreadsheet
This action will add a single row to the bottom of the first worksheet of a spreadsheet you specify. Note: a new spreadsheet is created after 2000 rows.
ID SMZe6Q3v
Explore more great ways to automate Android SMS and Google Sheets