Settings

Create, Test, Edit and Delete WhatsApp Message Templates

Templates make common WhatsApp messages consistent. Posnic supports named Sales Receipt and Payment Reminder templates with controlled variables and a separate test-message workflow.

Menu path
Manage -> Messaging -> WhatsApp Connection -> Template or Test Message
Verified from
Posnic demo and current POS source reviewed on 2026-09-08
Technical source evidence

frontend/modules/settings_write.html whatsapp-template and whatsapp-test, frontend/static/script/js/modules/js/whatsapp.js, api/src/controllers/whatsapp.controller.js, api/src/models/whatsapp-template.model.js

WhatsApp toolsThe linked-device workspace separates connection, reusable templates and controlled test sending.

Create a Template

  1. Open Manage -> Messaging -> WhatsApp Connection -> Template.
  2. Click Add New Template.
  3. Enter a clear internal Template Name.
  4. Choose Sales Receipt or Payment Reminder when its default structure is useful.
  5. Write the message and keep it within the 1,000-character limit.
  6. Use only the supported variables shown in the form.
  7. Save Template, then review its message and creation date in the table.

Sales Receipt Variables

VariableRendered value
{customer_name}The customer attached to the sale.
{sale_id}The saved Posnic bill or sale identifier.
{sale_date}The sale date used in the receipt message.
{total_amount}The final sale total.
{company_name}The shop or company identity.
{items_list}The receipt item summary generated for the sale.

Test Before Operational Use

  1. Confirm the WhatsApp connection reports connected.
  2. Open Test Message.
  3. Enter the destination country code and phone number without a plus sign, for example 919876543210.
  4. Select a saved template or enter a custom test message.
  5. Review the 1,000-character counter and click Send Test Message.
  6. Confirm the received text, substituted values and links on the destination phone.
  7. Edit the template and repeat the test when wording or variables are wrong.

Edit or Delete

  • Edit keeps the template identity while changing its name, type or message.
  • Delete requires confirmation and removes the reusable option from future sends.
  • Do not delete a template that staff still select during receipt or reminder workflows until its replacement is tested.
  • A Posnic local template does not by itself create or approve a Meta Cloud API template; Meta approval is a separate requirement.