Admin guide: Settings

SMS & WhatsApp (MSG91)

On this page

Menu group: Settings · Permission needed: settings

Sends customers an SMS and/or WhatsApp message about their order (confirmed, packed, shipped with tracking, out for delivery, delivered, cancelled, refund, payment failed) through your own MSG91 account. These are order updates only, never marketing. You enter your MSG91 auth key, paste the approved template IDs, test, and switch it on. The page also shows your MSG91 balance and warns you before it runs out.

Connection tab#

A setup checklist (key entered, connection checked, templates set, test sent, switched on) and the connection form.

  • MSG91 auth key - stored encrypted and never shown again; the page only shows the last 4 characters. Leave the box blank to keep the saved key
  • Default country code, SMS sender ID (6 characters), optional DLT entity ID, WhatsApp integrated number
  • Send SMS / Send WhatsApp switches
  • Check connection - asks MSG91 for your balance with the saved key; no message is sent
  • Switch MSG91 messages on/off - on only after a successful connection check
  • Remove key - deletes the saved key and switches messages off
  • Send a test message - sends a REAL message to a number you type, using sample order details

Events & templates tab#

One panel per event. SMS templates must be DLT-registered and approved; WhatsApp templates must be approved by Meta.

  • Send SMS / Send WhatsApp per event, with the MSG91 template ID (SMS) or template name, namespace and language (WhatsApp)
  • Variables - map each template variable to order data such as first name, order number, total, courier, tracking number and link
  • Message wording with a live preview, and ready-to-copy text for MSG91
  • Shipped waits for the courier or tracking details unless you tick Send even without tracking details

Balance & alerts tab#

Shows the MSG91 balance, when it was checked and a Refresh button.

  • Low balance alert level and alert email - you get a bell item and one email when the balance is low or empty, and a bell when it is restored
  • Balance is checked every 6 hours; the dashboard shows a balance chip and a "Messages today" line while MSG91 is on

Messages tab#

The permanent record of every SMS and WhatsApp message, with a summary dashboard on top.

  • Cards for Today, Last 7 days and Last 30 days: Sent (accepted by MSG91), Delivered, Failed, Skipped, Pending report and success rate
  • Pick a range (or custom dates) to see a daily sent-vs-failed chart, messages by channel and event, and the top failure reasons
  • Messages this month, and an estimated cost when you enter the SMS / WhatsApp price per message
  • Delivery column - Delivered, Read, Delivery failed, Blocked, Awaiting report; a message with no report after 24 hours shows No delivery report (not failed)
  • Filters (date, event, channel, status, delivery), search by order number, MSG91 id or the last 4 digits / full phone number, sort, 25/50/100 per page, Download CSV
  • Click a row to open its history: template, variables (names masked), every attempt, delivery report, who resent it and when, and a Resend button
  • Delivery reports address with Copy and Regenerate, Keep message log for (12 / 24 / 36 / 60 months or forever), Maximum messages per hour
  • There is no delete button: the log is kept for the period you choose

Preview only switch#

On the Connection tab. While it is on, order events are logged as skipped (preview mode) with the values that would be sent, and nothing is sent to MSG91. A banner shows on every tab until you switch it off.

How to connect MSG91 and set up order messages#

Also asked as: connect msg91; link msg91; msg91 setup; integrate msg91; msg91; sms; whatsapp; order sms; order whatsapp; delivery notification; shipping sms; auth key; dlt; sender id; set up sms; customer messages

Steps

  1. In your MSG91 account copy the Auth key, and register your SMS templates on DLT and your WhatsApp templates with Meta.
  2. Open SETTINGS > SMS & WhatsApp (MSG91) and paste the Auth key on the Connection tab, then click Save connection.
  3. Click Check connection. It must say Connection OK.
  4. Open the Events & templates tab, switch on the events you want and paste each MSG91 template ID (or WhatsApp template name). Click Save events & templates.
  5. Back on the Connection tab, send a test message to your own number.
  6. Click Switch MSG91 messages on.

Tips

  • Messages are sent only for orders placed after you switch it on, once per event.
  • MSG91 needs recharging: see the balance task below.

How to check and top up your MSG91 balance#

Also asked as: msg91 balance; recharge msg91; top up sms; sms credits; low balance; balance low; sms not delivered; add credits; balance alert

Steps

  1. Open SETTINGS > SMS & WhatsApp (MSG91) and click the Balance & alerts tab, or look at the balance chip on the Dashboard.
  2. Click Refresh to check it now.
  3. To top up, sign in to your MSG91 account and add credits there (WhatsApp uses your MSG91 wallet).
  4. Set the Low balance alert level and the Alert email, then click Save alert settings.

Tips

  • You get a bell item and an email when it is low or empty, and a bell when it is back to normal.
  • While the balance is empty, order messages fail with the reason Insufficient balance; use Resend on the order after topping up.

How to see and resend a message that did not go#

Also asked as: failed sms; resend sms; message not sent; whatsapp failed; notification log; sms log; resend notification

Steps

  1. Open the order. The Notifications box lists every SMS / WhatsApp message with its status.
  2. Click Resend next to a failed or skipped message.
  3. For all messages, open SETTINGS > SMS & WhatsApp (MSG91) > Messages.

Tips

  • Skipped means no valid phone, no template, the shipment had no tracking details yet, preview mode was on, or the hourly cap was reached.

How to read the message log and delivery status#

Also asked as: message log; sms log; whatsapp log; delivery status; was my sms delivered; messages dashboard; failed messages; success rate; delivery report; no delivery report

Steps

  1. Open SETTINGS > SMS & WhatsApp (MSG91) > Messages.
  2. The cards show Today, Last 7 days and Last 30 days. Sent means MSG91 accepted it; Delivered means MSG91 confirmed it reached the phone.
  3. Choose a range, then use the filters (event, channel, status, delivery) or search by order number, MSG91 id or the last 4 digits of the phone.
  4. Click any row to see its full history: every attempt, the delivery report and who resent it.
  5. Use Resend in that panel for a message that failed, was skipped or was reported not delivered.

Tips

  • Awaiting report is normal for a few minutes. After 24 hours without a report it shows No delivery report, which is not the same as failed.
  • Top failure reasons on the page show what to fix first (balance, invalid numbers, template not approved).

How to connect delivery reports#

Also asked as: delivery reports; dlr; msg91 webhook; webhook url; delivery webhook; connect delivery reports; delivered status; regenerate webhook

Steps

  1. Open SETTINGS > SMS & WhatsApp (MSG91) > Messages and find the box "Delivery reports are not connected yet".
  2. Click Copy next to the address.
  3. In MSG91 open Webhooks and create a webhook for SMS delivery reports (POST, JSON, On Report Received) and paste the address. Do the same for WhatsApp delivery reports.
  4. Send a test message. Its Delivery column changes from Awaiting report to Delivered and the box shows connected.

Tips

  • The address contains a secret code. Click Regenerate if it ever leaks, then paste the new address into MSG91; the old one stops working at once.

How to export the message log#

Also asked as: export messages; download message log; message log csv; sms report csv; export sms log

Steps

  1. Open SETTINGS > SMS & WhatsApp (MSG91) > Messages.
  2. Set the range and filters you want.
  3. Click Download CSV of this view.

Tips

  • The file has time, order number, event, channel, masked phone, status, delivery status, reason, MSG91 id, attempts and who resent it. It has no message text and no full phone numbers.

How long messages are kept#

Also asked as: message retention; keep message log; how long are messages kept; archive messages; delete message log; message cap; hourly cap; messages per hour

Steps

  1. Open SETTINGS > SMS & WhatsApp (MSG91) > Messages and scroll to Keeping the log, safety cap and cost.
  2. Choose Keep message log for: 12, 24 (default), 36, 60 months or Keep forever, then click Save.
  3. Optionally set Maximum messages per hour (default 200, 0 = unlimited).

Tips

  • Messages older than the period are first copied to a yearly CSV file on the server (masked details only) and then removed from the page. Keep forever never removes anything.
  • If the hourly cap is reached further messages are skipped and you get one alert per hour.

How to replace or remove the MSG91 auth key#

Also asked as: change msg91 key; replace auth key; remove msg91 key; new auth key; turn off sms; stop whatsapp messages; switch off msg91

Steps

  1. Open SETTINGS > SMS & WhatsApp (MSG91) > Connection.
  2. Paste the new key and click Save connection, then Check connection, then switch messages on again. To stop messages, click Switch MSG91 messages off. To delete the key, click Remove key.

Tips

  • Replacing the key switches messages off until the new key passes the connection check.