CxFlowEventHandler

data class CxFlowEventHandler(val event: String? = null, val name: String? = null, val targetFlow: String? = null, val targetPage: String? = null, val triggerFulfillment: CxFlowEventHandlerTriggerFulfillment? = null)

Constructors

Link copied to clipboard
constructor(event: String? = null, name: String? = null, targetFlow: String? = null, targetPage: String? = null, triggerFulfillment: CxFlowEventHandlerTriggerFulfillment? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val event: String? = null

The name of the event to handle.

Link copied to clipboard
val name: String? = null

(Output) The unique identifier of this event handler.

Link copied to clipboard
val targetFlow: String? = null

The target flow to transition to. Format: projects//locations//agents//flows/.

Link copied to clipboard
val targetPage: String? = null

The target page to transition to. Format: projects//locations//agents//flows//pages/.

Link copied to clipboard

The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. Structure is documented below.