Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WorkflowResponseContent

Represents the content of a workflow response from WebSocket. This is the structure of acpAppElements[].content when contentType is 'workflowResponse'.

Hierarchy

  • WorkflowResponseContent

Index

Properties

Card type indicating whether intentResponse contains plain text or adaptive card schemas. Sent by the backend inside the content payload. Used as the primary source for rendering.

cognigySessionId: string

Cognigy session ID (GUID)

elapsedMilliseconds?: number

Elapsed time in milliseconds

errorMessage?: string

Error message if workflow failed

insertIconVisible: boolean

Whether the insert icon should be visible (true for digital)

intentResponse: string[] | WorkflowAdaptiveCardSchema[]

Response content - either array of text strings or array of adaptive card schemas

intentTitle: string

The intent/workflow title

Media type - Digital or Voice

sendIconVisible: boolean

Whether the send icon should be visible (true for digital)

status: string

Current workflow status

Generated using TypeDoc