SMS Popup Chat

by Michael Bayley

Version 1 (March 18, 2024)

Download (10 downloads)

Version 1.00 03/13/2024
Uses Google Chrome and Google Maps.

This flow is a simple chat using SMS messaging. Only those Specified in "Names"/"Members" can send and receive messages. Unlike standard SMS messaging, received messages are displayed in a popup dialog without the need to open up your messaging app. This does not interfere with your normal messages, they are simply ignored. The flow supports location, webpage popups, and read receipts along with the popup messages.

THE "Members" array is used to contain the phone numbers of all the people in the chat group. Phone numbers should be of thr format "+12223334444".

The "Names" array is used to define the names of all the people in the chat group. The "Names" array must be in sync with the "Members" array. If a name is set to "" (null) then the phone number will be displayed.

The "ReceiptMsg" variable is used to automatically send a read receipt if the receiver elects not reply to the message. Read receipts are not sent if ReceiptMsg is set to null.

The "Ringtone" sound is played when the receiver receives a standard message. The "Ringtone" is not played if set to null. You should use the stand alone "Sound Play" block to browse for the sound to use since this value is dependant on the individual system the flow is being run on. Once you have browsed for the sound file, cut and paste it into the "Ringtone" variable.

The flow defines three special messages.

1. A received message set to "?Location?" is a location query. It will automatically be responded to with map coordinates.

2. A received message starting with "https://www.google.com/maps/@?api=1↦_action=" is a location response. Google Maps will automatically be launched at the specified coordinates.

3. A received message starting with "http://" or "https://" is treated as a website shortcut. Google Chrome will automatically be launched with the specified URL.

4. A received message set to the "ReceiptMsg" will simply display a toast with the message.

By: michaelb.software@gmail.com