Google Conversational Actions โ Getting Started with Jovo
Jovo Team
ยท
ยทUpdated Jan 2024
ยท14 min read
Google Conversational Actions (the successor to Dialogflow-based Actions on Google) uses a scene-based architecture. Jovo v4 supports it natively via the Google Assistant platform plugin.
1. Create a Conversational Actions Project
In the Actions Console (console.actions.google.com), create a new project and choose Custom type.
2. Install the Google Assistant Plugin
$ npm install @jovotech/platform-googleassistant
$ jovo new my-google-action --platform googleAssistant
3. Handle Scenes with Jovo Components
@Global() @Component()
export class GlobalComponent extends BaseComponent {
LAUNCH() {
return this.$send({ message: 'Hello from Google Assistant!' });
}
}
4. Build and Deploy
$ jovo build --platform googleAssistant
$ jovo deploy --platform googleAssistant