The Chat component is a real-time, per-contact messaging panel in 3B Onboarding
(b3o). It gives a candidate a single in-context conversation thread with the
back-office recruiting or compliance team, and gives the team a matching panel on
the Contact record from which to reply. Messages are stored as
b3o__Chat_Message__c records, so the whole conversation is a normal, reportable
Salesforce audit trail, and new messages are pushed live to open panels rather
than the recipient having to refresh.
It is used across every vertical b3o serves. In Healthcare a candidate can ask a compliance officer which right-to-work document to upload; in Education a coordinator can nudge a candidate to finish safeguarding training; in Blue-collar a recruiter can confirm induction details, all without leaving the onboarding experience and without falling back to email.
During onboarding a candidate constantly has small questions ("which document counts as proof of address?", "why was my certificate rejected?") and the team constantly needs to nudge ("please re-upload page 2", "your DBS is expiring"). Handling this over email breaks the in-context experience, scatters the history across inboxes, and leaves no record on the Contact.
The Chat component keeps that back-and-forth inside the onboarding surface. Every message is a record against the candidate's Contact, so anyone picking up the case sees the full history, and reporting/automation can act on it. Candidates get a familiar chat panel; the team gets a threaded conversation right on the Contact record.
The Chat component is one experience with two placement patterns: the team-facing panel on a record page, and the candidate-facing panel in a portal or site. Pick whichever matches where each side of the conversation lives.
| Placement | What to use |
|---|---|
| Lightning record page / Experience page (team side) | The native Chat Component Lightning component. Its placement targets are Lightning record pages (Contact) and Community/Experience pages. Drop it on the Contact record page so recruiters and compliance staff can read and reply to a candidate's thread. |
| Visualforce page (candidate side) | The managed ChatComponent Visualforce page (/apex/b3o__ChatComponent) hosts the candidate panel directly. Use this when you want a standalone URL to hand out or to iframe into another surface. |
| 3B Portals (candidate side) | The b3p__Portal_Block.Chat_Component portal block (category Interactions, web component tag chat-component). Drag it onto a Portals page; it exposes the label, theme, and contact traits below. |
| Digital Experience (candidate side) | Embed the Visualforce page in an Experience Cloud page for community/guest candidates. |
Placed in Lightning App Builder or Experience Builder, the native component exposes two properties that set the defaults for messages the team sends from that placement.
| Property | Values | What it does |
|---|---|---|
| Default New Message Status | Queued, Success (default Success) |
The b3o__Status__c stamped on a message sent from this panel. Use Queued when a downstream integration (for example SMS/push delivery) should pick the message up and set the final status; use Success when the message is simply logged in-app. |
| Default New Message Type | Inbound, Outbound (default Outbound) |
The b3o__Type__c stamped on a message sent from this panel. On the Contact record page leave this as Outbound (message from the team to the candidate). |
However the candidate panel is placed, it accepts the following inputs. On the Visualforce page they are URL parameters; on the Portals block they are the block traits.
| Parameter / trait | Purpose |
|---|---|
user-id (Contact Id) |
The candidate whose thread is shown. In a Community/Digital Experience this resolves automatically from the logged-in user's Contact; the Portals block defaults it to {{contactUser.Id}}. For internal placements pass the Contact Id explicitly. |
session-key |
Guest session key for the contact. Required for 3B Portals guest access; see Access below. |
theme-type |
Light/dark (or a named theme) for the panel. |
hide-theme-switch |
Hide the theme toggle from the candidate. |
hide-current-user |
Hide the current-user header. |
no-previous-messages-msg |
Wording shown when the thread is empty (default "No Previous Messages"). |
type-your-message-lbl |
Placeholder text in the message input (default "Type your message..."). |
customer-logo |
A logo URL to brand the panel. |
The component itself needs almost no configuration beyond placement. The data it
reads and writes is the b3o__Chat_Message__c object; the team-side defaults are
the two native properties above; and the org-level site URL is read from the
Onboarding default settings custom setting.
b3o__Chat_Message__c (the message record)One record per message. The candidate panel writes inbound messages; the team panel writes outbound messages. You do not usually create these by hand, but you should understand the fields because reports and automation act on them.
| Field | Type | Meaning |
|---|---|---|
b3o__Body__c |
Rich text (HTML) | The message content. |
b3o__Contact__c |
Lookup (Contact) | The candidate the thread belongs to. Every message is scoped to this contact. |
b3o__Type__c |
Picklist (Inbound / Outbound) |
Direction. Inbound = from the candidate; Outbound = from the team. Drives which side of the panel the bubble renders on. |
b3o__Status__c |
Picklist (Queued / Success / Error) |
Delivery/log state. Success = logged/delivered; Queued = awaiting a downstream delivery integration; Error = delivery failed. |
b3o__Error_Message__c |
Long text | Populated by a delivery integration when Status__c is Error. |
b3o__Message_Sender_Initials__c |
Formula (text) | Sender initials shown on the bubble, derived from the Contact (inbound) or the creating user (outbound). |
b3o__Sent_from_Current_User__c |
Formula (checkbox) | True when the running user created the message, used to align the bubble. |
New messages are pushed live to open panels. When a b3o__Chat_Message__c is
created, a New_Chat_Message_Event__e platform event carrying the message's
Contact_ID__c is published, and subscribers (including the panels and any
automation you build) are notified of new activity for that contact. From an SI's
point of view this is automatic; you do not configure it. If you want to react to
new messages (send an SMS, notify a queue, escalate), subscribe to
New_Chat_Message_Event__e from Flow or a platform-event-triggered process.
The host page reads the org's onboarding site URL from
b3o__Onboarding_Default_Settings__c (b3o__Site_URL__c). Make sure this custom
setting is populated for the org, the candidate panel depends on it.
The candidate panel is a session app. Two access modes:
Because the contact is pinned from the key, a candidate can never post as, or read the thread of, a different contact.
b3o__Chat_Message__c (scoped to the contact), the candidate's
Contact, and b3o__Onboarding_Default_Settings__c (site URL).b3o__Chat_Message__c (inbound from the candidate panel, outbound
from the team panel).New_Chat_Message_Event__e on each new message, for live
delivery and downstream automation.Remember to grant any new objects or fields you add (including
b3o__Chat_Message__c and New_Chat_Message_Event__e if you extend them) on the
Onboarding_Admin_Full_Permission permission set.