Pass branding to a chat client

reference brazil Updated Sep 10, 2026 1 min read va-ccif-pass-branding.md
Raw file servicenow.com

Pass custom branding to your custom chat integration.

See Set up your Virtual Agent bot's branding for more information about branding. Use sn_cs.VASystemObject.getSettings to apply branding.

Example script:

JavaScript
va_sms_twilio_adapter_default_text_outbound_transformer(function execute(inputs, outputs) {  try {    var richControl = inputs.rich_control;    var branding = sn_cs.VASystemObject.getSettings("default_branding"); // new    var header = "(" + branding["header_label"] + ") "; // new    outputs.result = header; // new    outputs.result += richControl['label'];  } catch(e){    gs.error('Error in default text outbound transformer: ' + e.message);    throw e;   } })(inputs, outputs);

Parent Topic:Supported Virtual Agent and Agent Chat features for custom chat integrations

Search documentation
Search document titles and file paths on the brazil branch