Configure and manage multi-site setups for tailored customer interactions.
${variant_foo}
to populate responses dynamically with location-specific information.
conv.variant
object to retrieve variant attributes during conversations or to make decisions based on variant data. Use functions to set, retrieve, or act on variant-specific attributes.
conv.set_variant()
method in your start function.
Example:
${variant_attribute}
. For example:
${variant_phone_number}
dynamically includes the phone number associated with the active variant.set_variant1
, set_variant2
to manually switch variants during testing.
conv.variant
object,
you can retrieve and set the appropriate variant to ensure responses are tailored to the caller’s location or context.