UpdateContactRecordingAndAnalyticsBehavior

typed block

Sets contact recording behavior, including analysis behavior and which participants of the contact to record.

Factories

UpdateContactRecordingAndAnalyticsBehavior

UpdateContactRecordingAndAnalyticsBehavior() -> UpdateContactRecordingAndAnalyticsBehaviorHandle

Construct a fresh UpdateContactRecordingAndAnalyticsBehavior block with an auto-generated id.

Use this when authoring from scratch, the runtime picks a UUID automatically.

UpdateContactRecordingAndAnalyticsBehavior

UpdateContactRecordingAndAnalyticsBehavior(id: String) -> UpdateContactRecordingAndAnalyticsBehaviorHandle

Construct a UpdateContactRecordingAndAnalyticsBehavior block with an operator-supplied id.

ParameterTypeRequiredDescription
idStringyesWire identifier, typically a Connect UUID restored by decompile so round-trips stay byte-stable.

Methods

chat_behavior

chat_behavior(value?: Map (ChatBehavior)) -> UpdateContactRecordingAndAnalyticsBehaviorHandle

Set the ChatBehavior parameter. Chat-channel recording and Contact Lens analytics configuration. Composed of one sub-struct: ChatAnalyticsBehavior (turns Contact Lens on with language + redaction + summary settings for chat channels).

ParameterTypeRequiredDescription
valueMap (ChatBehavior)noChat-channel recording and Contact Lens analytics configuration. Composed of one sub-struct: ChatAnalyticsBehavior (turns Contact Lens on with language + redaction + summary settings for chat channels).

voice_behavior

voice_behavior(value?: Map (VoiceBehavior)) -> UpdateContactRecordingAndAnalyticsBehaviorHandle

Set the VoiceBehavior parameter. Voice-channel recording and Contact Lens analytics configuration. Composed of two sub-structs: VoiceRecordingBehavior (turns recording on per-participant) and VoiceAnalyticsBehavior (turns Contact Lens on with language + redaction settings).

ParameterTypeRequiredDescription
valueMap (VoiceBehavior)noVoice-channel recording and Contact Lens analytics configuration. Composed of two sub-structs: VoiceRecordingBehavior (turns recording on per-participant) and VoiceAnalyticsBehavior (turns Contact Lens on with language + redaction settings).

screen_recording_behavior

screen_recording_behavior(value?: Map (ScreenRecordingBehavior)) -> UpdateContactRecordingAndAnalyticsBehaviorHandle

Set the ScreenRecordingBehavior parameter. // Optional configuration for agent screen recording. Can be defined independently or alongside any channel behavior.

ParameterTypeRequiredDescription
valueMap (ScreenRecordingBehavior)no// Optional configuration for agent screen recording. Can be defined independently or alongside any channel behavior.

next

next(target: Handle) -> UpdateContactRecordingAndAnalyticsBehaviorHandle

Wire the success-path transition. Substitutes the target's auto-generated UUID into the wire Transitions.NextAction slot.

ParameterTypeRequiredDescription
targetHandleyesThe block to route to once this block completes successfully.

on_no_matching

on_no_matching(target: Handle) -> UpdateContactRecordingAndAnalyticsBehaviorHandle

Wire an error transition for NoMatchingError: if no other Error matches.

ParameterTypeRequiredDescription
targetHandleyesBlock to route to on NoMatchingError. if no other Error matches.

on_channel_mismatch

on_channel_mismatch(target: Handle) -> UpdateContactRecordingAndAnalyticsBehaviorHandle

Wire an error transition for ChannelMismatch: if the requested recording / analytics configuration is incompatible with the current contact's channel.

ParameterTypeRequiredDescription
targetHandleyesBlock to route to on ChannelMismatch. if the requested recording / analytics configuration is incompatible with the current contact's channel.

set_id

set_id(id: String) -> UpdateContactRecordingAndAnalyticsBehaviorHandle

Override the auto-generated identifier with a specific wire id.

ParameterTypeRequiredDescription
idStringyesWire identifier override. Decompile threads this through to round-trip Connect-side UUIDs.

meta_position

meta_position(x: i64, y: i64) -> UpdateContactRecordingAndAnalyticsBehaviorHandle

Set the block's canvas position. Mostly auto-emitted by decompile; authored scripts call Flow.auto_layout() instead and let the layout pass fill positions in.

ParameterTypeRequiredDescription
xi64yesCanvas X coordinate.
yi64yesCanvas Y coordinate.

set_meta

set_meta(key: String, value: Dynamic) -> UpdateContactRecordingAndAnalyticsBehaviorHandle

Single-key escape hatch, set one ActionMetadata key by name when the typed meta_* setters don't cover it.

ParameterTypeRequiredDescription
keyStringyesWire key name (under Metadata.ActionMetadata[<id>]).
valueDynamicyesAny JSON-serializable Rhai value.

overwrite_meta

overwrite_meta(value: Map) -> UpdateContactRecordingAndAnalyticsBehaviorHandle

Full-replace escape hatch, overwrite the entire ActionMetadata blob.

ParameterTypeRequiredDescription
valueMapyesReplacement map for the entire ActionMetadata sub-object.

set_meta_param

set_meta_param(param: String, flag: String, value: Dynamic) -> UpdateContactRecordingAndAnalyticsBehaviorHandle

Set a single per-parameter ActionMetadata flag.

ParameterTypeRequiredDescription
paramStringyesParameter name (e.g. "Text").
flagStringyesFlag name ("useDynamic", "MFLAG_*", etc.).
valueDynamicyesFlag value.

overwrite_meta_param

overwrite_meta_param(param: String, value: Map) -> UpdateContactRecordingAndAnalyticsBehaviorHandle

Replace the entire flag map for one parameter.

ParameterTypeRequiredDescription
paramStringyesParameter name.
valueMapyesReplacement flag map for the parameter.

overwrite_parameters

overwrite_parameters(value: Map) -> UpdateContactRecordingAndAnalyticsBehaviorHandle

Wire-shape escape hatch, overwrite the entire Parameters blob.

ParameterTypeRequiredDescription
valueMapyesReplacement parameter map for the block.

raw_transitions

raw_transitions(value: Map) -> UpdateContactRecordingAndAnalyticsBehaviorHandle

Wire-shape escape hatch for non-canonical transition objects.

ParameterTypeRequiredDescription
valueMapyesReplacement transitions map (raw JSON shape).