public sealed class LiveAgentHandoff : IMessage<ResponseMessage.Types.LiveAgentHandoff>, IEquatable<ResponseMessage.Types.LiveAgentHandoff>, IDeepCloneable<ResponseMessage.Types.LiveAgentHandoff>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class ResponseMessage.Types.LiveAgentHandoff.
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
[entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment]
of a [Page][google.cloud.dialogflow.cx.v3.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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eLiveAgentHandoff\u003c/code\u003e class in the Dialogflow v3 API is used to signal when a conversation should be transferred to a human agent.\u003c/p\u003e\n"],["\u003cp\u003eThis class is a part of the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3.ResponseMessage.Types\u003c/code\u003e namespace, and its latest version is 2.23.0, with a range of prior versions listed from 2.22.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLiveAgentHandoff\u003c/code\u003e can be set in a Page's \u003ccode\u003eentry_fulfillment\u003c/code\u003e or in a webhook response to indicate the need for human intervention.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMetadata\u003c/code\u003e property within the \u003ccode\u003eLiveAgentHandoff\u003c/code\u003e class allows for custom data to be passed along during the handoff, without any imposed structure from Dialogflow.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eLiveAgentHandoff\u003c/code\u003e implements multiple interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and is inheritied from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]