VAMSI AILA
VAMSI AILA

Reputation: 73

What is the default response payload to send from Node.js for Dialogflow

   const payload = {
            payload: {
                google: {
                    expectUserResponse: true,
                    richResponse: {
                        items: [
                            {
                                simpleResponse: {
                                    ssml: 'hi i am vamsi',
                                }
                            }
                        ]
                    },
                },
            },
        };

I'm using above payload for sending a response to google assistant.

I want to know payload to send as the default response because this response only displays on google assistant. I need a default to display for every platform.

Upvotes: 1

Views: 95

Answers (1)

Prisoner
Prisoner

Reputation: 50701

The webhook response can be as simple as

{
  "fulfillmentText": "Hi I am Vamsi"
}

Upvotes: 1

Related Questions