To achieve the preceding result, we are going to do the following:
- On the view-thread page, the user is going to reply with a text message to the thread
- The text will then be sent to the Cloud Natural Language API to be analyzed
- The analyzed response, along with the text itself, will be saved to our database and the response will be sent back to the browser
- The Angular app will process the response and update the thread