Notify Slack when shop opens or closes in Google Sheets

Document/FileCollaboration

What it does

When someone adds a row to Google Sheets with shop status, this automation posts a message to the Smena channel. It flags an error if the shop opened without cash input.

Who it's for

Operations teams who need real-time Slack alerts when a shop opens or closes without checking the spreadsheet.

How teams use this

Alert the team when shop opens

Post a notification to Smena channel when the shop status changes to opened. The team sees the alert in real-time without refreshing the spreadsheet.

Flag missing cash on opening

When the shop opens but cash input in column 5 is zero, the message includes an error flag. This helps the team catch cash handling issues immediately.

Notify when shop closes

Post a message to Slack when the shop status changes to closed. The team knows the shop is no longer operating without checking the sheet.

Set manager approval before posting

Add a condition to check if the person opening the shop has manager role before posting to Slack. Only approved openings send the notification to the channel.

How it works

  1. Detect shop status change. A new row is added to the Google Sheets spreadsheet with shop status in column 4 set to opened or closed.
  2. Post shop status to Slack. Post a message to the Smena channel in Slack showing the shop status. If the shop opened without cash input, the message flags this as an error.
  3. Stop the job. End the automation after the Slack message is posted so no duplicate notifications are sent to the channel.