WhatsApp Messager component

What it is

Whatsapp Messager is a Lightning Web Component you place on a Contact record page. It renders a chat-style conversation with that Contact — inbound and outbound WhatsApp messages, media, and read receipts — and lets a user send a reply, media, or an approved template right from the record, with live refresh.

It is the interactive, one-to-one counterpart to the Flow send actions: the Flow actions are for automation and bulk; this component is for a person having a conversation.

What it does

How it works

The component (whatsappMessager):

Sends from the component are synchronous, so the sender sees the result immediately. On send, a platform event is published and the component's empApi subscription reloads the thread, so both the sender's and any other open viewer's conversation stay current.

Requirements and configuration

Requirement Detail
Placement Contact record pages only (lightning__RecordPage, object = Contact). It reads recordId as the Contact.
Contact phone The Contact must have a Mobile or Phone number, or sends fail with "This contact has no Mobile or Phone number to message."
Configuration A default WhatsApp_Configuration__mdt record must exist (the component uses the default sending number).
Permissions The user needs the WhatsApp Admin permission set (Apex + object/field access).
API version The component's bundle is API 61.0; the package targets Salesforce API 66.0.

Placing it on the page

  1. Open a Contact record → gear → Edit Page (Lightning App Builder).
  2. Drag Whatsapp Messager from the Custom components list onto the page (a wide column or a tab works well).
  3. Save and Activate the page (org default, app default, or by profile).

There are no design properties to set — it derives everything from the Contact and the default configuration.

Limits