Welcome to our Customer Service Portal

Bold360ai Interfaces

How do I push data from my external source into a Bold360 ai answer?

1. Add the Bold360 ai custom variables API to your page, as part of your Bold360 ai widget script by inserting the following code under the /*API HERE*/ comment:

_nRepData["customParams"] =


Variable1Name: Variable1Value,

Variable2Name: Variable2Value



Below is an example of the API implementation:

<!--do not modify this script -->
<div class='Nanorep_loadingData' id='NanorepProxyContainer' style='position:absolute;top:-500px;left:0px;'></div>
<script type='text/javascript'>var _nRepData = _nRepData || []; _nRepData['kb'] = '30423589'; _nRepData['float'] = {account: 'uopeople', cdcVersion: 3, cdcFrame: '', scriptVersion: ''}
/* API here */;

_nRepData["customParams"] =


   AvailableColors: "Red, Blue, Orange",

    Weight: 500


(function(){var windowLoadFunc = function(){var _nRepData = window._nRepData || [];_nRepData['windowLoaded'] = true;if (typeof(_nRepData['windowOnload']) === 'function') _nRepData['windowOnload']();};if (window.attachEvent)window.attachEvent('onload', windowLoadFunc);else if (window.addEventListener)window.addEventListener('load', windowLoadFunc, false);var sc = document.createElement('script');sc.type = 'text/javascript';sc.async = true;sc.defer = true;sc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'my.Nanorep.com/widget/scripts/float.js';var _head = document.getElementsByTagName('head')[0];_head.appendChild(sc);})();


2. Create an answer that calls the variable.

Make sure to use the {{variable_name}}  placeholder to show the value of the variable.

Here is an example of calling the value of the "weight" variable.

Where {{weight}} is the placeholder that represents the variable retrieved by the API.