Integrate Mavenoid with Oracle Digital Assistant to connect users with live agents in Oracle.
Contributor Access To Mavenoid: If you do not have contributor permissions, contact your Mavenoid representative.
Mavenoid Embed Script Access: The integration uses the External Script node in Mavenoid.
Use the External Script node to trigger the Oracle Digital Assistant to open when the customer wants to chat with an agent.
Copy the Oracle Digital Assistant Snippet:
Retrieve the SDK library in JavaScript. See Oracle's guide Import the SDK Library in JavaScript for details.
Configure Oracle Opening Function:
After loading the Oracle SDK, use Bots.openChat() to open the chat widget.
Pass context to Oracle:
Pass user data and assistant context using the initUserProfile(userDetails) and sendMessage(message, { hidden: true }) functions.
Close Mavenoid Assistant:
If using the Mavenoid Web Touchpoint, call mavenoid.push({ event: assistant-unmount })
to avoid widgets overlapping. The callback event widget:opened can be used to identify when the Oracle widget has been opened.
Add Oracle Code to External Script:
See External Scripts for Chat Handovers for detailed setup instructions.