You are here:
Embedded Messaging Set Up
Configure Embedded Messaging in the Alumni Portal site to help your alumni get instant help and case statuses by chatting with a bot or a service representative.

Use more general search terms.
Select fewer filters to broaden your search.
You are here:
Configure Embedded Messaging in the Alumni Portal site to help your alumni get instant help and case statuses by chatting with a bot or a service representative.
| View supported editions. |
To set up Embedded Messaging, perform these tasks:
See Embedded Messaging.
During the setup, when you configure a web deployment, add a similar JavaScript code within a <script> tag to use Pre-Chat API to pass an alumnus' user ID to the Omni-Channel flow. See Configure an Enhanced Web Chat Deployment in an Experience Builder or Commerce Cloud site.
<script>
window.addEventListener("onEmbeddedMessagingReady", e => {
const userId = $A.get("$SObjectType.CurrentUser.Id");
console.log("User id is:"+userId);
embeddedservice_bootstrap.prechatAPI.setHiddenPrechatFields({
"userId": userId});
});
</script>
The Omni-Channel flow retrieves the alumnus' account ID, contact ID, and full name and updates the messaging session record with these details. With the updated messaging session record, service representatives see the alumnus' name in every incoming chat message notification.

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.