Class CxFlowTransitionRouteTriggerFulfillmentMessage


  • public final class CxFlowTransitionRouteTriggerFulfillmentMessage
    extends java.lang.Object
    • Method Detail

      • channel

        public java.util.Optional<java.lang.String> channel()
        Returns:
        The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned.
      • conversationSuccess

        public java.util.Optional<CxFlowTransitionRouteTriggerFulfillmentMessageConversationSuccess> conversationSuccess()
        Returns:
        Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example: * In the entryFulfillment of a Page if entering the page indicates that the conversation succeeded. * In a webhook response when you determine that you handled the customer issue. Structure is documented below.
      • liveAgentHandoff

        public java.util.Optional<CxFlowTransitionRouteTriggerFulfillmentMessageLiveAgentHandoff> liveAgentHandoff()
        Returns:
        Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entryFulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human. Structure is documented below.
      • outputAudioText

        public java.util.Optional<CxFlowTransitionRouteTriggerFulfillmentMessageOutputAudioText> outputAudioText()
        Returns:
        A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. Structure is documented below.
      • payload

        public java.util.Optional<java.lang.String> payload()
        Returns:
        A custom, platform-specific payload.