Google Action - Scene Handler on node.js

google-assistant

#1

Hi!
I’m using Jovo v3 to create a Google Action, I’m trying to improve the conversation flow using Scenes. I’ve read that you can set a Scene Handler (https://www.jovo.tech/marketplace/platform-googleassistant/scenes) but I only found the typescript example, what syntax is needed for node.js?
Thanks in advance.


#2

Try:

  this.$googleAction.setNextScene('YourCustomScene');
  this.$speech.addT('OK');
  return this.ask(this.$speech);