In setting up my CMS integration I am trying to use this feature:
My config.js:
cms: {
GoogleSheetsCMS: {
spreadsheetId: 'superSecretId',
access: 'private',
credentialsFile: 'key.json',
sheets: [
{
name: 'globalVariables',
type: 'KeyValue',
},
{
name: 'imageLinks',
type: 'Responses',
},
{
name: 'ReferralIntent',
type: 'Responses'
},
{
name: 'closingMessages',
type: 'Responses'
},
{
name: 'helpIntent',
type: 'ObjectArray',
range: 'A:G'
}
],
caching: false
}
},
With this setup, I only seem to get Alexa specific values from the closingMessages
sheet, and the Alexa specific values from ReferralIntent
are ignore, I only get the main en-US entry. However, if I remove the Alexa specific messages from closingMessages
, the the app will use the ones from the ReferralIntent
.
Further, if I swap the order of the sheets, the exact same thing happens in the reverese:
cms: {
GoogleSheetsCMS: {
spreadsheetId: 'superSecretId',
access: 'private',
credentialsFile: 'key.json',
sheets: [
{
name: 'globalVariables',
type: 'KeyValue',
},
{
name: 'imageLinks',
type: 'Responses',
},
{
name: 'closingMessages',
type: 'Responses'
},
{
name: 'ReferralIntent',
type: 'Responses'
},
{
name: 'helpIntent',
type: 'ObjectArray',
range: 'A:G'
}
],
caching: false
}
},
This seems like a bit of a bug to me, but wanted to A) make the first attempt at explaining it and B) make sure I am not crazy or missing something