The JS node lets you add a small snippet of JavaScript code to your call flows to do things like processes tags and call information. The JS Node supports the ES5 version of JavaScript.
The JavaScript you include in a JS node lets you perform simple calculations and string manipulations. Unlike parsing JS parsing steps in ring tree targets, JS nodes in call flows are not functions, and do not require the code to return anything. Advanced JS functionality is not supported.
Note: The JS node is included in your subscription, but is not available by default. Contact Ringba support to enable JS node for your Ringba account.
- Node Name: A label that appears at the top of the node with the selected name. This information helps you identify the node in call reporting.
- Script: The JS script to execute.
JavaScript Snippet Examples
To help you get ideas for how you can use the JS node, see the JS Node Examples article. This article contains several sample snippets for common use cases that you can use to help you get started.