3B WhatsApp is a native Salesforce managed package (namespace b3w) that
connects an org to the WhatsApp Business Cloud API (Meta Graph API). It lets
system admins message Contacts over WhatsApp and captures the whole conversation,
inbound and outbound, on a custom object in Salesforce.
Messages can be sent from:
Inbound replies, media and delivery receipts arrive through a webhook that Meta calls, and are written back onto the message record, with an auto-match to the sending Contact.
Every part runs in Salesforce. Messages are stored on b3w__Whatsapp_Message__c,
configuration is a Custom Metadata type, and the WhatsApp access token is held in a
Salesforce External Credential so it is never in Apex or a browser.
Flow / Apex / WhatsApp Messager component
| (invocable actions)
v
WhatsApp Business Cloud API, via the WhatsApp Named Credential
|
v
b3w__Whatsapp_Message__c (Direction = Outbound, Status = Sent / Failed, wamid stored)
Meta --> /services/apexrest/whatsapp/webhook
|- inbound messages -> new inbound message records, auto-matched to a Contact
|- delivery statuses -> update the matching outbound record
|- inbound media -> attached as a Salesforce File
Any message change -> WhatsApp_Message_Event__e -> WhatsApp Messager refreshes the conversation
graph.facebook.com/{version}/{phone-number-id}/messages
through the WhatsApp Named Credential, which supplies the access token.b3w__Whatsapp_Message__c record is written with Direction = Outbound,
Status = Sent (or Failed), and the returned message id (wamid).Sends from Flow and Apex run asynchronously and are bulk-safe.
/services/apexrest/whatsapp/webhook, both for the
verification handshake when you configure it and for event pushes.wamid: Sent, Delivered, Read, or Failed).Processing failures are logged to Log_Entry__c under the WhatsApp
category.
Any insert or update on a message record publishes a
WhatsApp_Message_Event__e platform event for the affected Contact. The
WhatsApp Messager component subscribes over empApi and refreshes the open
conversation in real time. You can subscribe to the same event in your own
components or flows.