Using data sources in interaction plans

Using data sources in interaction plans

Many applets in Interaction Plans Architect use values retrieved by other applets to locate audio files, other values, or records in third-party systems. These values are stored in data sources and enable you to dynamically configure applets.

You can also include values in data sources in Dashboards. For information about using data sources in Dashboards, see Viewing mapped data source data in Real-time Analytics.

You can configure the following applets to use data source values:

In your interaction plan, you must ensure that interactions are routed through the applets that set required values in data sources before the applets that use the values.

Data source formatters

When configuring your interaction plan, you can use the $(DataSourceName) syntax and data source formatters to modify the values of your selected data sources. To use a data source formatter, enter the data source in the following format: $(DataSourceName:formatterName).

The following data source formatters are available in VCC:

Name

Description

Example

Name

Description

Example

RemoveLeadingPlus

Removes all plus signs (+) at the beginning of the data source value.

If the data source CLID is set to +441234567890, the placeholder $(CLID:RemoveLeadingPlus) is replaced with 441234567890.

EscapeDoubleQuotes

Replaces all double quotes (") with a backward slash and a double quote(\") in the data source value.

If the data source CustomerName is set to {"FirstName":"Brian", "LastName":"Green"}, the placeholder $(CustomerName:EscapeDoubleQuotes) is replaced with {\"FirstName\":\"Brian\",\"LastName\":\"Green\"}.

ToLowerCase

Changes all capital letters to lowercase in the data source value.

If the data source Name is set to BrianGreen, the placeholder $(Name:ToLowerCase) is replaced with briangreen.

Support and documentation feedback

For general assistance, please contact Customer Support.

For help using this documentation, please send an email to docs_feedback@vonage.com. We're happy to hear from you. Your contribution helps everyone at Vonage! Please include the name of the page in your email.