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.
*bold*, _italic_, ~strike~ are shown
styled, not as raw markers.{{variables}} and a URL-button parameter, then sends.
Template messages sent from Flow or Apex appear with the same rendered text and
URL button as those sent from the picker.WhatsApp_Message_Event__e platform event
over empApi and reloads automatically when a new inbound message, send, or
delivery-status update touches this Contact.The component (whatsappMessager):
Whatsapp_Message__c record, and (for media) attaches the file.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.
| 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. |
There are no design properties to set — it derives everything from the Contact and the default configuration.
*bold*, _italic_, ~strike~; it does not
render ```monospace or enforce WhatsApp's exact marker rules.