A coordinator wanted one Slack update at midday for the records that changed in a twelve-row Google Sheet. Three rows changed. Sending three separate edit alerts would make the reader assemble the update themselves. The original coordinator’s question
Here is a way to rehearse the report before connecting anything. In our fictional stockroom the morning and midday sheets have four columns: Record ID, Station, Status and Units. Someone has sorted the midday tab, so row 1 in the morning need not describe the same item as row 1 at noon.
| Record ID | Morning | Midday |
|---|---|---|
| 0001 | Alder, Waiting, 8 | Alder, Ready, 8 |
| 0005 | Elm, Waiting, 6 | Elm, Waiting, 0 |
| 0009 | Iris, Waiting, 2 | East desk, Waiting, 2 |
Open the three-record message in the independent Block Kit Playground. It opens a fictional example using the same block format Slack documents. It does not post to a channel. The message includes each changed record in its top-level plain text as well as in the visible blocks, so the information survives in a notification or a screen reader. Slack’s Block Kit guidance
Reproduce it in your own copy
Download the workbook, Apps Script and local JavaScript runner. Import the workbook into Google Sheets. In its bound Apps Script editor, paste the included midday.gs and save. Enter this formula on an empty tab:
=MIDDAY_DIFF(Morning!A1:D13,Midday!A1:D13) The function matches the text IDs before comparing values. A duplicate ID stops the comparison. A new ID produces Added; an absent ID produces Missing with its last observed values. A blank count stays distinct from zero. In the example, reordering all twelve rows does not manufacture twelve changes.
Now move 0009 back to Iris on the Midday tab. Open the revised two-record preview. If a worker moved that item out and back between observations, morning and midday agree. You would need an edit history to tell that story. If both snapshots agree everywhere, the runner produces no message.
You can also unzip the same kit and run node preview.cjs offline. It prints the message JSON for the included snapshots. To try two different snapshots locally, pass the paths of two JSON files, each containing its header and data rows. The exercise has no webhook or scheduled sender. Once the rows match what your team needs, you can decide whether a daily snapshot comparison answers the job.
