dialogflow-cordova-client icon indicating copy to clipboard operation
dialogflow-cordova-client copied to clipboard

How to use Custom Event(s) in Dialogflow to invoke an event

Open Shajeel-Afzal opened this issue 5 years ago • 2 comments

Hi,

I am trying to invoke in the Default Welcome Intent via using Custom Event (WELCOME) to initiate the conversation. How to achieve this while using dialogflow-cordova-plugin?

Here is the documentation for custom event information: https://cloud.google.com/dialogflow/docs/reference/rest/v2beta1/QueryInput

Screenshot 2019-07-11 at 3 21 44 PM

Shajeel-Afzal avatar Jul 11 '19 10:07 Shajeel-Afzal

You can't since that is a V2 feature and the cordova client only supports V1. Anyway, don't use this client because it will stop working in October. Check deprecation notice in the homepage and the V2 clients in https://dialogflow.com/docs/sdks#v2_client_libraries

rcpinheiro avatar Jul 11 '19 11:07 rcpinheiro

@rcpinheiro, can you please guide on how to do via the REST API?

Shajeel-Afzal avatar Jul 12 '19 05:07 Shajeel-Afzal