Hello,
I have been trying to follow the aforementioned tutorial for Conversational Action notifications but I cannot get it to work. I also copied the code from the associated GitHub repo to no avail.
In the en.json file there is a typo on line 20, “transitionToScene”: “PushNotificationScene_Notifications”, PushNotificationsScene is missing an ‘s’.
I’m getting a ‘There is no prompt message nor helper instruction in the response’ message in the simulator. The conditions are failing, I have tried setting the notification prompt directly in the google actions console to get permission, but this has not worked for me. Not sure if relevant, but in the Cloud Logs the ‘NotificationsSlot_PushNotificationsClickedIntent’ slot has properties of updated: true and status: ‘FILLED’ despite the error.
{
"conditionsEvaluated": {
"failedConditions": [
{
"expression": "scene.slots.status == \"FINAL\" && (session.params.NotificationsSlot_PushNotificationsClickedIntent.permissionStatus == \"PERMISSION_GRANTED\" || session.params.NotificationsSlot_PushNotificationsClickedIntent.permissionStatus == \"ALREADY_GRANTED\")",
"functionName": "Jovo",
"nextSceneId": "actions.scene.END_CONVERSATION"
},
{
"expression": "scene.slots.status == \"FINAL\" && session.params.NotificationsSlot_PushNotificationsClickedIntent.permissionStatus != \"PERMISSION_GRANTED\" && session.params.NotificationsSlot_PushNotificationsClickedIntent.permissionStatus != \"ALREADY_GRANTED\"",
"functionName": "Jovo",
"nextSceneId": "actions.scene.END_CONVERSATION"
}
]
},
"responses": []
}
Would appreciate any help, I’ve been stuck on this for a while now!