I'm working on a Dialogflow chat bot for Google Assistant, in the webhook request JSON example here:
https://developers.google.com/actions/reference/v1/dialogflow-webhook
the webhook receives device data including its location:
"device": {
"location": {
"coordinates": {
"latitude": 123.456,
"longitude": -123.456
},
"formatted_address": "1234 Random Road, Anytown, CA 12345, United States",
"zip_code": "12345",
"city": "Anytown"
}
}
For some reason my webhook is not receiving any device data (the "device" key is missing completely). Does anyone know what I'm doing wrong or how I can include this data?