Some products and features are in the process of being renamed. Generative playbook and flow features are also being migrated to a single consolidated console. See the details.
The request message for a webhook call. The request is sent as a JSON object and the field names will be presented in camel cases.
You may see undocumented fields in an actual request. These fields are used internally by Dialogflow and should be ignored.
JSON representation
{"detectIntentResponseId": string,"languageCode": string,"fulfillmentInfo": {object (FulfillmentInfo)},"intentInfo": {object (IntentInfo)},"pageInfo": {object (PageInfo)},"sessionInfo": {object (SessionInfo)},"messages": [{object (ResponseMessage)}],"payload": {object},"sentimentAnalysisResult": {object (SentimentAnalysisResult)},"languageInfo": {object (LanguageInfo)},// Union field query can be only one of the following:"text": string,"triggerIntent": string,"transcript": string,"triggerEvent": string,"dtmfDigits": string// End of list of possible types for union field query.}
Fields
detectIntentResponseId
string
Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.
languageCode
string
The language code specified in the [original request][QueryInput.language_code].
Union field query. The original conversational query. query can be only one of the following:
text
string
If natural language text was provided as input, this field will contain a copy of the text.
triggerIntent
string
If an intent was provided as input, this field will contain a copy of the intent identifier. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>.
If an event was provided as input, this field will contain the name of the event.
dtmfDigits
string
If DTMF was provided as input, this field will contain the DTMF digits.
FulfillmentInfo
Represents fulfillment information communicated to the webhook.
JSON representation
{"tag": string}
Fields
tag
string
Always present. The value of the Fulfillment.tag field will be populated in this field by Dialogflow when the associated webhook is called. The tag is typically used by the webhook service to identify which fulfillment is being called, but it could be used for other purposes.
IntentInfo
Represents intent information communicated to the webhook.
Always present. The unique identifier of the last matched intent. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>.
displayName
string
Always present. The display name of the last matched intent.
Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
confidence
number
The confidence of the matched intent. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
IntentParameterValue
Represents a value for an intent parameter.
JSON representation
{"originalValue": string,"resolvedValue": value}
Fields
originalValue
string
Always present. Original text value extracted from user utterance.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eThis document describes the JSON structure and fields of a webhook request sent by Dialogflow.\u003c/p\u003e\n"],["\u003cp\u003eThe request includes information about the detected intent, such as the \u003ccode\u003eintentInfo\u003c/code\u003e, \u003ccode\u003efulfillmentInfo\u003c/code\u003e, and the unique identifier for the response, \u003ccode\u003edetectIntentResponseId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003equery\u003c/code\u003e field within the JSON can be one of several types, including \u003ccode\u003etext\u003c/code\u003e, \u003ccode\u003etriggerIntent\u003c/code\u003e, \u003ccode\u003etranscript\u003c/code\u003e, \u003ccode\u003etriggerEvent\u003c/code\u003e, or \u003ccode\u003edtmfDigits\u003c/code\u003e, representing the user's input method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esentimentAnalysisResult\u003c/code\u003e field provides the sentiment analysis score and magnitude for the user's request when enabled.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eIntentInfo\u003c/code\u003e contains details about the matched intent, including the \u003ccode\u003elastMatchedIntent\u003c/code\u003e, \u003ccode\u003edisplayName\u003c/code\u003e, \u003ccode\u003eparameters\u003c/code\u003e, and \u003ccode\u003econfidence\u003c/code\u003e of the match.\u003c/p\u003e\n"]]],[],null,["# WebhookRequest\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [FulfillmentInfo](#FulfillmentInfo)\n - [JSON representation](#FulfillmentInfo.SCHEMA_REPRESENTATION)\n- [IntentInfo](#IntentInfo)\n - [JSON representation](#IntentInfo.SCHEMA_REPRESENTATION)\n- [IntentParameterValue](#IntentParameterValue)\n - [JSON representation](#IntentParameterValue.SCHEMA_REPRESENTATION)\n- [SentimentAnalysisResult](#SentimentAnalysisResult)\n - [JSON representation](#SentimentAnalysisResult.SCHEMA_REPRESENTATION)\n\nThe request message for a webhook call. The request is sent as a JSON object and the field names will be presented in camel cases.\n\nYou may see undocumented fields in an actual request. These fields are used internally by Dialogflow and should be ignored.\n\nFulfillmentInfo\n---------------\n\nRepresents fulfillment information communicated to the webhook.\n\nIntentInfo\n----------\n\nRepresents intent information communicated to the webhook.\n\nIntentParameterValue\n--------------------\n\nRepresents a value for an intent parameter.\n\nSentimentAnalysisResult\n-----------------------\n\nRepresents the result of sentiment analysis."]]