AI-generated summary
Genesys Cloud enables users to define custom script actions through a structured interface that supports comprehensive workflow automation and control flow capabilities. Users can create actions by specifying a name and adding up to 25 parameters (string, number, or boolean types) to streamline script development and avoid duplicating nearly identical actions with different variables. Each action executes one or more sequential steps, which can be built-in actions or custom actions, with steps executing in top-down order and supporting reordering through directional controls.
The platform provides conditional logic through If/Else expressions that evaluate variables or dynamic expressions at runtime, allowing different step branches to execute based on comparison results using operators and three evaluation methods: Interpolated Text (evaluates strings with runtime placeholder values), Text Expression (compares logical expression results), or Variable (compares runtime variable values). Steps defined below conditional constructs execute regardless of the condition outcome. Error handling is implemented through Try/On Error expressions, where Try blocks execute built-in or custom actions and On Error blocks specify fallback actions when errors occur. Currently, the platform does not expose actual error details returned from Try actions.
Additional workflow features include Info Banner actions that display agent-facing text for the duration of execution, Wait Until actions that pause workflow execution until specified variables or dynamic expressions evaluate to True, and the ability to implement delays by specifying milliseconds as integers, math expressions, or variables to suspend action execution temporarily. The interface supports standard editing operations including delete, cut, copy, collapse, and expand functions, as well as the ability to add comments and group steps for organizational clarity. Administrators can modify existing custom actions, convert standard actions to custom actions, and save completed workflows. Comprehensive documentation is available covering scripting concepts, script editors, available script actions, dynamic script variables, secure pause configurations, and worktype definitions.