RegEx Keywords for iPhone Reactions

Users who have iPhones will sometimes utilize the “reaction” feature that iMessage offers. This can trigger unwanted SMS responses from the Way to Health platform, which does not integrate with iPhone reactions. Setting up these simple regex triggers in messaging keywords will ensure that participants can like, love, dislike, laugh, emphasize, and question to their heart’s content without erroneously triggering responses from W2H.

 Instructions

To prevent reactions from triggering unwanted SMS responses:

  1. Navigate to Manage Study > Messaging, and click the “Responses” tab

  2. Create a new response, triggering on Regular Expression

  3. Add the Regular Expression from the gray box below, and set the response action to be “No Response”

1 ^Liked.*|Loved.*|Disliked.*|Laughed at.*|Emphasized.*|Questioned.*

 Instructions

To prevent removal of reactions from triggering unwanted SMS responses:

  1. Navigate to Manage Study > Messaging, and click the “Responses” tab

  2. Create a new response, triggering on Regular Expression

  3. Add the Regular Expression from the gray box below, and set the response action to be “No Response”

1 2 ^Removed a like from.*|Removed a heart from.*|Removed a dislike from.* |Removed a laugh from.*|Removed an exclamation from.*|Removed a question mark from.*