actions-on-google-nodejs icon indicating copy to clipboard operation
actions-on-google-nodejs copied to clipboard

How to provide custom message for actions_intent_SIGN_IN?

Open akshaybande81 opened this issue 5 years ago • 2 comments

For DateTime, we can provide custom messages.

{
  "expectUserResponse": true,
  "expectedInputs": [
    {
      "possibleIntents": [
        {
          "intent": "actions.intent.DATETIME",
          "inputValueData": {
            "@type": "type.googleapis.com/google.actions.v2.DateTimeValueSpec",
            "dialogSpec": {
              "requestDatetimeText": "When would you like to schedule the appointment?",
              "requestDateText": "What day was that?",
              "requestTimeText": "What time works for you?"
            }
          }
        }
      ]
    }
  ]
}

For SIGN IN intent there is no such option.


{
  "expectUserResponse": true,
  "expectedInputs": [
    {
      "possibleIntents": [
        {
          "intent": "actions.intent.SIGN_IN",
          "inputValueData": {
            "@type": "type.googleapis.com/google.actions.v2.SignInValueSpec"
          }
        }
      ]
    }
  ]
}

akshaybande81 avatar May 18 '20 04:05 akshaybande81

The optContext in inputValueData helps to add more text to the helper text, but it doesn't replace the whole content

ayrusme avatar Aug 03 '20 10:08 ayrusme

optContext doesn't work. You cannot customize this one.

OpenDog avatar Apr 10 '22 16:04 OpenDog