Original Detect Intent Request

The field Original Detect Intent Request passes the raw data from the channel provider to Dialogflow.

If you are building a Dialogflow Agent that uses Dialogflow Fulfilment extensively you will find the data passed by the channel provider useful for your application. This data is passed from Rocketbots to Dialogflow using the originalDetectIntentRequest field.

A sample of the orginalDetectIntentRequestField is found below.

"originalDetectIntentRequest": {
"payload": {
"source": "facebook",
"body": {
"entry": [
{
"messaging": [
{
"recipient": {
"id": "177689475607202"
},
"message": {
"text": "hi",
"mid": "D3DJuA0YlOgDgOybFG1M2ZHoJg9hq9IAjMQE2ps6RIN4QJ25rNPMi"
},
"timestamp": 1564743055901,
"sender": {
"id": "2254108171328398"
}
}
],
"id": "177689475607202",
"time": 1564743056313
}
],
"object": "page"
}
}
}