{
  "id": 20913604,
  "title": "Why my app never sends a WhatsApp message by itself",
  "url": "https://urgent.news/2026/11/20/why-my-app-never-sends-a-whatsapp-message-by-itself",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-20T15:09:33.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/builtbyailab/why-my-app-never-sends-a-whatsapp-message-by-itself-466h"
  },
  "original_language": "en",
  "account": "When a customer cancels their appointment, the app creates a message and a link. The salon owner opens the link, and WhatsApp displays the chat with the pre-written text. The owner then presses the Send button. The app does not have the capability to send messages automatically; this was a deliberate design choice before it became a feature.\n\nThe rules governing the process reside on the server, beyond the browser's control. Each time the owner clicks the button, the server retrieves the offer, customer, and slot from the database and verifies their status. The customer must have consented to receive messages, and this agreement, along with the text and channel, is stored in the system. The customer's number cannot be on the exclusion list, and the offer must still be available, with the slot remaining unoccupied.\n\nThe owner inputs the phone number and message text from the database. The app ignores whatever form the owner submits. There are also time and volume restrictions; messages can only be prepared between 9:00 and 21:00 in Rome, with a daily cap of 20 messages by default.\n\nA fixed line is appended to each message, containing the salon's name and instructions on how to stop receiving further messages. The owner has the ability to modify this text before sending. If the modification removes the required line, the server automatically reinstates it.\n\nInitially, a double click could trigger the app's \"is it still waiting?\" check twice before either update reflected the offer's status, resulting in two links sent to a single customer. Now, the update process is conditional, and only the request that genuinely altered the status is processed. Subsequent requests are ignored.\n\nAdditionally, the app excludes any auto-sending functionality from its code, rather than simply disabling it through settings. Consequently, a mistaken value in a settings page cannot inadvertently activate the feature. An owner can expedite the process with a one-click bulk send, but the app was never designed to allow automatic sending, as the owner could not retract a message once sent to the wrong person at the wrong time.",
  "summary": "When a customer cancels, the app prepares a message and a link. The salon owner opens the link, WhatsApp shows the chat with the text already in it, and the owner presses Send. The app has no way to send anything on its own, and that was a design decision before it was a feature. The rules sit on the server, where the browser cannot argue with them. Every time the owner presses the button, the…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}